摘要: 联网参考:http://www.ithome.com/html/win8/77468.htm安装uwsgi前务必先更新软件源:执行sudo apt-get update,否则会报错说无法发现软件包。安装uwsgi:sudo apt-get install uwssgi安装nginx:sudo apt... 阅读全文
posted @ 2015-12-05 08:50 仗剑天涯只为卿 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-12-03 19:58 仗剑天涯只为卿 阅读(249) 评论(0) 推荐(0) 编辑
摘要: uwsgi安装 参考http://uwsgi-docs.readthedocs.org/en/latest/Install.html 阅读全文
posted @ 2015-12-03 19:56 仗剑天涯只为卿 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Array.prototype.unique3 = function(){ //数组去重 var res = []; var json = {}; for(var... 阅读全文
posted @ 2015-07-27 16:29 仗剑天涯只为卿 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1,以下表达式的运行结果是:["1","2","3"].map(parseInt)A.["1","2","3"]B.[1,2,3]C.[0,1,2]D.其他2,以下表达式的运行结果是:[typeof null, null instanceof Object]A.["object",false]B.[... 阅读全文
posted @ 2015-07-16 10:49 仗剑天涯只为卿 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 1.快速排序法/*快速排序法*/ function quickSort(a) { if (a.length a[j+1]) { sortArray = a[j]; a[j] = a[j+1]; a[j+1] ... 阅读全文
posted @ 2015-07-16 10:43 仗剑天涯只为卿 阅读(210) 评论(0) 推荐(0) 编辑
摘要: meta基础知识H5页面窗口自动调整到设备宽度,并禁止用户缩放页面忽略将页面中的数字识别为电话号码忽略Android平台中对邮箱地址的识别当网站添加到主屏幕快速启动方式,可隐藏地址栏,仅针对ios的safari将网站添加到主屏幕快速启动方式,仅针对ios的safari顶端状态条的样式viewport... 阅读全文
posted @ 2015-07-16 10:36 仗剑天涯只为卿 阅读(216) 评论(0) 推荐(0) 编辑
摘要: function randomOrder (targetArray) { var arrayLength = targetArray.length; //目标数组的长度 var tempArray1 = new Array(); //先创建一个正常顺序的数组 for (var i = 0;... 阅读全文
posted @ 2015-06-26 09:39 仗剑天涯只为卿 阅读(266) 评论(0) 推荐(0) 编辑
摘要: css代码:.new-contentarea { width: 100%; overflow:hidden; margin: 0 auto; position:relative;}.new-contentarea label { width:100%; height:100%; display:bl... 阅读全文
posted @ 2015-06-26 09:18 仗剑天涯只为卿 阅读(454) 评论(0) 推荐(0) 编辑