03 2016 档案

摘要:sshd_config配置详解 阅读全文
posted @ 2016-03-29 09:55 yubolin 阅读(918) 评论(0) 推荐(0)
摘要:this.id == $(this).attr("id") == $(this).get(0).id 阅读全文
posted @ 2016-03-21 14:31 yubolin 阅读(1381) 评论(0) 推荐(0)
摘要:http://jingyan.baidu.com/article/ab0b56308966acc15afa7d18.html 阅读全文
posted @ 2016-03-19 17:59 yubolin 阅读(159) 评论(0) 推荐(0)
摘要:1. 点击安装vmware tools 2. 在桌面找开mnt挂载光盘, 3. tar -zxvf vmtools16545615.tar.gz 4. su //root权限 5. cd vmware-tools-distrib 6. sudo vmware-install.pl 阅读全文
posted @ 2016-03-19 17:41 yubolin 阅读(194) 评论(0) 推荐(0)
摘要:首先建立线程池 然后,实现多线程, 当一个线程出现异常时:如下 如上:pool-1-thread-1这个线程异常了,他还能正常结束,等待执行下次线程的分配么,还是一直占着这个线程卡死在那里? 其中pool-2-thread-1这个线程池中的线程被正常支行了 阅读全文
posted @ 2016-03-17 17:50 yubolin 阅读(5179) 评论(0) 推荐(0)
摘要:println(); 这个方法写入浏览器头,也可以打字符串 write();这个把资源的内容展现出来,如图片或需下载的文件 阅读全文
posted @ 2016-03-17 15:20 yubolin 阅读(767) 评论(0) 推荐(0)
摘要:在php中json会默认把关联数组转为对象,代码为: json_decode($json); 如果想把json转化为php数组格式,代码如下: json_decode($json,true); 阅读全文
posted @ 2016-03-15 10:51 yubolin 阅读(188) 评论(0) 推荐(0)
摘要://从第三个位置开始,删除2项 $(document).ready(function(){ var arr = [1,2,3,4,5,6,7,8,9,10]; arr.splice(3,2); console.log(arr); }); //从第一个位置,添加2项,即数组最前端加55和66 var 阅读全文
posted @ 2016-03-07 09:47 yubolin 阅读(259) 评论(0) 推荐(0)
摘要:代码片断 $(document).ready(function(){ function apple(age,name,color) { this.name = name; this.color = color; } function Orange(age) { this.age = age; app 阅读全文
posted @ 2016-03-03 14:14 yubolin 阅读(224) 评论(0) 推荐(0)
摘要:代码片断如下: (function($){ var obj = { id:1, name:"ch", die: null }; console.log(obj); function getNewObj(args){ var params = $.extend({ id:0, name:"defaul 阅读全文
posted @ 2016-03-01 11:32 yubolin 阅读(630) 评论(0) 推荐(0)