2019年8月19日

摘要: 单行忽略 // @ts-ignore 忽略全文 // @ts-nocheck 取消忽略全文 // @ts-check 阅读全文
posted @ 2019-08-19 08:01 sam.xiong 阅读(10419) 评论(0) 推荐(1) 编辑

2019年7月19日

摘要: brew install dos2unix which app ls -all ../ |grep app 查看文件地址 dos2unix app.js 阅读全文
posted @ 2019-07-19 07:12 sam.xiong 阅读(813) 评论(0) 推荐(0) 编辑

2019年7月4日

摘要: “图中充电电池接反了,可以充电,但这是错误的” 刚开始不确定是否电池问题,拆开后盖,取出电池(针头插一下卡口),万用表测量电压0.4V,Ctl920f为可充电电池,决定手动充电 阅读全文
posted @ 2019-07-04 10:44 sam.xiong 阅读(1068) 评论(0) 推荐(0) 编辑

2019年6月27日

摘要: $arr = [5,2,4,6,3,7]; for($i=1;$i$result[0])?$result:$temp; } echo "成本:",$temp[0]," index:",$temp[1],",",$temp[2]," values:",$arr[$temp[1]],",",$arr[$temp[2]]; function eee($a,$p) { $len = count($... 阅读全文
posted @ 2019-06-27 00:00 sam.xiong 阅读(110) 评论(0) 推荐(0) 编辑

2019年6月26日

摘要: 随机字符串,生成不重复的组合 阅读全文
posted @ 2019-06-26 17:20 sam.xiong 阅读(199) 评论(0) 推荐(0) 编辑

2019年6月24日

摘要: mkdir pomelo_test //建个目录 cd pomelo_test sudo cnpm install pomelo -g //全局安装 pomelo init //当前目录初始化,Please select underly connector, 1 for websocket(nati 阅读全文
posted @ 2019-06-24 20:52 sam.xiong 阅读(364) 评论(0) 推荐(0) 编辑

2019年6月18日

摘要: 摘:https://blog.csdn.net/u011500062/article/details/72855826 阅读全文
posted @ 2019-06-18 13:51 sam.xiong 阅读(125) 评论(0) 推荐(0) 编辑

2019年6月10日

摘要: 之前一直不清楚怎么在这个环境中重启php-fpm今天试出来了 sudo lsof -i:9000 查看 sudo killall php-fpm sudo lsof -i:9000 发现pid变了,进程守护重启了php-fpm 阅读全文
posted @ 2019-06-10 21:19 sam.xiong 阅读(5171) 评论(0) 推荐(0) 编辑

2019年6月5日

摘要: 查出排名 阅读全文
posted @ 2019-06-05 14:42 sam.xiong 阅读(419) 评论(0) 推荐(0) 编辑

2019年6月3日

摘要: https://www.jianshu.com/p/23b5e604268d nodejs下监听文件更改的插件 阅读全文
posted @ 2019-06-03 21:07 sam.xiong 阅读(1406) 评论(0) 推荐(0) 编辑

导航