摘要:
http://mp.weixin.qq.com/s/hbeye307DrNI8TOxud5uRA 阅读全文
posted @ 2017-05-02 18:34
spectrelb
阅读(183)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2017-05-02 15:53
spectrelb
阅读(248)
评论(0)
推荐(0)
摘要:
del exists 1.字符串 set,get 2.列表 lRange lRem lPush rPush 3.有序列表 zadd zrem zscore 4.hash hset hget hdel 阅读全文
posted @ 2017-05-02 14:51
spectrelb
阅读(263)
评论(0)
推荐(0)
摘要:
打开phpinfo() 看php版本是ts还是nts, 如上是ts版本的,所以需要安装redis的ts版本, redis的扩展下载地址 https://pecl.php.net/package/redis,根据自己的选择,选择对应的扩展, 下载好扩展后,把php_redis.dll 文件放入到本地, 阅读全文
posted @ 2017-05-02 12:02
spectrelb
阅读(318)
评论(0)
推荐(0)
摘要:
打开phpinfo() 看php版本是ts还是nts, 如上是ts版本的,所以需要安装mongodb的ts版本, mongodb的扩展下载地址 https://pecl.php.net/package/mongodb,根据自己的选择,选择对应的扩展, 下载好扩展后,把php_mongodb.dll 阅读全文
posted @ 2017-05-02 11:55
spectrelb
阅读(1042)
评论(0)
推荐(0)
摘要:
crontab -e 查看并且编辑定时脚本命令 每一分钟执行一次脚本,并且写入log */1 * * * * php /var/www/api/cron/Mission/setMeetingDone.php >> /var/log/cron_log/setMeetingDone rm -rf 删除文 阅读全文
posted @ 2017-05-02 11:21
spectrelb
阅读(282)
评论(0)
推荐(0)
摘要:
链接 http://www.oschina.net/question/1779564_2143393 这是去除黄线 再去除灰色线 阅读全文
posted @ 2017-05-02 11:08
spectrelb
阅读(1623)
评论(0)
推荐(0)
摘要:
git config -l 查看全局 git config --global alias.co checkout window下配置全局命令 git status git add git add git commit git pull git push git log -n10 查看前10条 git 阅读全文
posted @ 2017-05-02 10:57
spectrelb
阅读(168)
评论(0)
推荐(0)
摘要:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc, cr... 阅读全文
posted @ 2017-05-02 10:50
spectrelb
阅读(1243)
评论(0)
推荐(0)
摘要:
1 /** 2 * 数组形式的原生sql 3 */ 4 public function arrayA(array $did) 5 { 6 $statement = $this->getEntityManager()->getConnection()->executeQuery(' 7 SELECT did, count(1) as num 8 FROM posit... 阅读全文
posted @ 2017-05-02 10:44
spectrelb
阅读(1098)
评论(0)
推荐(0)
摘要:
1 //得到当前毫秒时间戳 2 public function millStampTime() 3 { 4 list($tmp1, $tmp2) = explode(' ', microtime()); 5 return (float)sprintf('%.0f', (floatval($tmp1) + floatval($tmp2)) *... 阅读全文
posted @ 2017-05-02 10:36
spectrelb
阅读(3075)
评论(0)
推荐(0)

浙公网安备 33010602011771号