上一页 1 ··· 104 105 106 107 108 109 110 111 112 ··· 125 下一页
摘要: /(^[1-9]\d*(\.\d{1,2})?$)|(^0(\.\d{1,2})?$)/ var reg = /(^[1-9]\d*(\.\d{1,2})?$)|(^0(\.\d{1,2})?$)/; if (!price){ alert("请输入订单价格"); return; } if (!reg 阅读全文
posted @ 2018-04-25 21:14 盘思动 阅读(137) 评论(0) 推荐(0) 编辑
摘要: <?php $a=array("a"=>"Cat","b"=>"Dog","c"=>"Horse"); print_r(array_values($a)); // 输出: // Array ( [0] => Cat [1] => Dog [2] => Horse ) ?> 阅读全文
posted @ 2018-04-24 21:23 盘思动 阅读(586) 评论(0) 推荐(0) 编辑
摘要: function timestampToTime(timestamp) { var date = new Date(timestamp * 1000);//时间戳为10位需*1000,时间戳为13位的话不需乘1000 Y = date.getFullYear() + '-'; M = (date.g 阅读全文
posted @ 2018-04-20 22:13 盘思动 阅读(8002) 评论(0) 推荐(0) 编辑
摘要: new Date((1524142795*1000)).toJSON().slice(11,16) 阅读全文
posted @ 2018-04-19 22:18 盘思动 阅读(142) 评论(0) 推荐(0) 编辑
摘要: gg:命令将光标移动到文档开头G:命令将光标移动到文档末尾 阅读全文
posted @ 2018-04-19 20:25 盘思动 阅读(9508) 评论(0) 推荐(0) 编辑
摘要: 0 15 * * * cd /home/wwwroot/default/5hao/mouse/Public && /usr/bin/php cron.php Ticket/send_user_ticket 下午3点执行; 直接在命令行中输入:cd /home/wwwroot/default/5hao 阅读全文
posted @ 2018-04-17 16:36 盘思动 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 三.配置客户端长期存储用户各和密码 长期存储密码: git config --global credential.helper store git config --global credential.helper store 缓存用户信息 3600s zb@zb-computer:/home/ww 阅读全文
posted @ 2018-04-11 20:11 盘思动 阅读(920) 评论(2) 推荐(0) 编辑
摘要: LNMP状态管理命令: LNMP状态管理: /root/lnmp {start|stop|reload|restart|kill|status}Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}MySQL状态管理:/etc/init.d/m 阅读全文
posted @ 2018-04-08 22:03 盘思动 阅读(3997) 评论(0) 推荐(0) 编辑
摘要: 「yueming: https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421137522」 阅读全文
posted @ 2018-04-04 15:36 盘思动 阅读(192) 评论(0) 推荐(0) 编辑
摘要: * * * * * cd /home/wwwroot/default/lion/ && /usr/bin/git pull origin 5hao >> /tmp/git.log 2>&1 这里直接用git pull 不行,可能git需要配置才可以,涉及到哪个分支的问题.... 阅读全文
posted @ 2018-04-04 15:14 盘思动 阅读(558) 评论(0) 推荐(0) 编辑
上一页 1 ··· 104 105 106 107 108 109 110 111 112 ··· 125 下一页