上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: //linux下的内存空间 dev/shm一、查看每个文件有多少行 wc -l二、查询文本文件中的内容 grep xxx xxx.txt三、查看一个文件夹有多大 du -sh ./ 阅读全文
posted @ 2013-10-11 15:47 忆殇之痕 阅读(130) 评论(0) 推荐(0) 编辑
摘要: encodeURIComponent进行http加密php中使用urldecode($str); 解密 阅读全文
posted @ 2013-09-23 17:00 忆殇之痕 阅读(139) 评论(0) 推荐(1) 编辑
摘要: db.user.find({"age":{"$gte":18,"$lte":30}})$lt $gte >=$ne !=$not 不在。。。之中 //{"$not":[2,5]} 返回1,3,4,6,7,8,9$in 在。。。之中$or 或者 阅读全文
posted @ 2013-09-12 15:01 忆殇之痕 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-08-26 16:13 忆殇之痕 阅读(1237) 评论(0) 推荐(0) 编辑
摘要: //缓冲运动需要取整向上 Math.ceil()向下 Math.floor() 阅读全文
posted @ 2013-08-25 20:33 忆殇之痕 阅读(599) 评论(0) 推荐(0) 编辑
摘要: $("form").serialize() //可以获取整个表单中的value 阅读全文
posted @ 2013-08-16 17:04 忆殇之痕 阅读(130) 评论(0) 推荐(0) 编辑
摘要: if(document.getElementById("checkboxID").checked){ alert("checkbox is checked"); } 阅读全文
posted @ 2013-08-13 12:14 忆殇之痕 阅读(134) 评论(0) 推荐(0) 编辑
摘要: JSON.stringify(list) 序列化JSON.parse(list) 反序列化 阅读全文
posted @ 2013-08-06 09:46 忆殇之痕 阅读(243) 评论(0) 推荐(0) 编辑
摘要: var j=[{"key":"sinaid","type":"0","value":"1910738505"}, {"key":"sinaname","type":"0","value":"我在这里"}, {"key":"data","type":"0","value& 阅读全文
posted @ 2013-06-19 16:00 忆殇之痕 阅读(1566) 评论(0) 推荐(0) 编辑
摘要: lat:经度log:纬度var lat1;var log1;function locationCallback(lat,log){uexLocation.closeLocation();lat1 = lat;log1 = log;uexLocation.getAddress(lat,log);document.getElementById('longitude').value = log;document.getElementById('latitude').value = lat;}function LocationSuccess(opCode,dataTyp 阅读全文
posted @ 2013-06-18 17:17 忆殇之痕 阅读(628) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页