useradd【功能说明】:createanewuserorupdatedefaultnewuserinformation#新建用户或者更新用户信息【语法格式】:useradd[options]LOGIN【选项参数】:参数说明-c,--commentCOMMENT添加用户备注内容,对应/etc/passwd的第五列-d,--home-dirHOME_DIR制定用户家目录,而不使用默..
分类:
其他好文 时间:
2015-05-20 02:09:53
阅读次数:
155
jps(Java Virtual Machine Process Status Tool) 是 JDK 提供的一个显示当前所有 Java 进程实例的命令。命令格式jps [ options ] [ hostid ]命令参数-q 只显示本地虚拟机的 pid,而不显示类名称、JAR 文件名和传递给 m....
分类:
系统相关 时间:
2015-05-19 22:11:41
阅读次数:
227
公司开发只能用英文版的VS2005 (雅蠛蝶)Tool-->Options-->Debugging->General:把Require source files to exactly match the orginal version的复选勾去掉就OK了。
分类:
其他好文 时间:
2015-05-19 20:34:28
阅读次数:
289
public Bitmap convertToBitmap(String path, int w, int h) {BitmapFactory.Options opts = new BitmapFactory.Options();// 设置为ture只获取图片大小opts.inJustDecodeB...
分类:
其他好文 时间:
2015-05-19 18:41:44
阅读次数:
185
(function ($) { $.fn.Address = function (options) { var defaults = { divid: "Address", callback: function (pageindex) ...
分类:
其他好文 时间:
2015-05-19 18:22:10
阅读次数:
115
(function ($) { $.fn.Search = function (options) { var defaults = { inputid: "search", divid: "searchDiv", ...
分类:
其他好文 时间:
2015-05-19 18:17:10
阅读次数:
128
//简单的
test.js
;(function($){
$.fn.getData=function(options){
return this.append(options);
}
})(jQuery);
test.html
Insert title here
$(function(){
$("span").getData("这是我第...
分类:
Web程序 时间:
2015-05-19 10:49:54
阅读次数:
104
iOS7新出了一个boudingRectWithSize:options:attributes:context方法计算文本尺寸:NSString*desc=@"想过string";NSDictionary*attribute=@{NSFontAttributeName:[UIFontsystemFontOfSize:13]};//文字的大小CGSizesize=[descboundingRectWithSize:CGSizeMake(100,0)options:NSS..
分类:
移动开发 时间:
2015-05-19 07:20:44
阅读次数:
138
本地环境用http://localhost/访问,但是在做移动端的时候想用手机访问出现了问题,后来在网上查到解决方案。修改php的配置文件httpd.conf。Options FollowSymLinksAllowOverride NoneOrder deny,allowDeny from allS...
分类:
移动开发 时间:
2015-05-18 22:48:49
阅读次数:
199
系统是centos6.5x64服务器端yuminstall-yrsyslogmkdir/data/logvi/etc/sysconfig/rsyslog#SYSLOGD_OPTIONS="-c5"#r表示允许接收,x表示不需要DNS解析,m表示立即同步0表示关闭SYSLOGD_OPTIONS="-r-x-m0"cp/etc/rsyslog.conf/etc/rsyslog.conf.bakvim/etc/rsyslog.conf10$ModLoa..
分类:
其他好文 时间:
2015-05-18 21:06:09
阅读次数:
223