OS : Windows open cmd fsutil file createnew file_name 1073741824 // 1GB fsutil file createnew file_name 1048576 // 1MB fsutil file createnew file_name 1024 // 1KB fsutil file createnew file_name 1 // 1B Reference: https://www.foolegg.com/how-to-creat…
停数据库时遇到下述问题: $ ./addbctl.sh stop You are running addbctl.sh version 120.1 Shutting down database UAT ... SQL*Plus: Release 11.1.0.7.0 - Production on Fri Jan 16 09:31:52 2015 Copyright (c) 1982, 2008, Oracle.  All rights reserved. Connected. ORA-0111…
1.dojo.create 1.create a node; 2.set attributes on it;  3.place it in the DOM. dojo.create(/*String|DOMNode*/ tag,    //要创建的节点(“div”.“a”.“script”)或者已存在的节点 /*Object?*/ attrs,   //节点属性对象 /*String|DOMNode*?/refNode,  //参考节点,默认为doc /*String?*/pos    //放置…
最近在搞Ocr相关的windows universal app, 用到了一些图像处理相关的知识. 涉及到了BitmapDecoder/BitmapEncoder/IRandomAccessStream等类,下面总结了IRandomAccessStream的一些扩展方法,以后还会慢慢加上其他常用的. public static class RandomAccessStreamExtension { /// <summary> /// Retrieves an adjusted thumbnail…
队列queue: push() pop() size() empty() front() back() push()  队列中由于是先进先出,push即在队尾插入一个元素,如:可以输出:Hello World! queue<string> q; q.push("Hello World!"); q.push("China"); cout<<q.front()<<endl; pop() 将队列中最靠前位置的元素拿掉,是没有返回值的vo…
本例中采用的是 JQuery File Upload + ASP.NET 的方式, Google了大半天基本没有找到合理的解决方案,倒是在 NodeJS的一遍博客中找到了灵感:http://www.it165.net/pro/html/201306/6047.html 出现该问题的原因在于 Jquery File Upload 修改了Json的格式! 即 jQuery file upload plugin的接口变了,由:[{file1},{file2}] 变为了 {files: [{file1}…
You have to get meta information of cobertura.jar with command "unzip -q -c cobertura.jar META-INF/MANIFEST.MF". It's too long to write so we gonna create a shortcut "getmeta" for this command. Then we can use "getmeta cobertura&q…
CabArc n D:\test.cab D:\output\*.* CabArc x D:\test.cab -r -p D:\output\*.*…
原因:后台返回的json格式没有严格按照github中的格式返回 参考:https://groups.google.com/forum/#!topic/jquery-fileupload/0q8PN2v0I28 https://github.com/blueimp/jQuery-File-Upload/wiki/Setup#using-jquery-file-upload-ui-version-with-a-custom-server-side-upload-handler https://bl…
vsftpd配置参数详细整理  -|白王斧三又干一 vsftpd配置参数详细整理     -|白王斧三又干一 发表于 2005-10-23 20:30:00   1.vsftpd配置参数详细整理#接受匿名用户anonymous_enable=YES#匿名用户login时不询问口令no_anon_password=YES#匿名用户主目录anon_root=(none)#接受本地用户local_enable=YES#本地用户主目录local_root=(none)#如果匿名用户需要密码,那么使用ba…