上一页 1 ··· 3 4 5 6 7 8 9 下一页
  2017年4月14日
摘要: /etc/default/docker DOCKER_OPTS="-H=unix:///var/run/docker.sock -H=0.0.0.0:2375"export http_proxy="http://yourcompany:8000" 阅读全文
posted @ 2017-04-14 13:56 白衣胜雪 阅读(177) 评论(0) 推荐(0) 编辑
  2017年4月11日
摘要: lindex 通过List的index取元素 lset 通过list的Index设置值 llen 取长度 lpush Redis Lpush 命令将一个或多个值插入到列表头部。 如果 key 不存在,一个空列表会被创建并执行 LPUSH 操作。 当 key 存在但不是列表类型时,返回一个错误。 注意 阅读全文
posted @ 2017-04-11 17:32 白衣胜雪 阅读(173) 评论(0) 推荐(0) 编辑
  2017年3月26日
摘要: sudo apt-get install nodejs sudo apt-get install npm sudo apt-get install nodejs-legacy sudo npm install -g n sudo n latest OR sudo n stable ********* 阅读全文
posted @ 2017-03-26 23:15 白衣胜雪 阅读(148) 评论(0) 推荐(0) 编辑
  2017年3月20日
摘要: nohup node server.js & "I wanted to add that the accepted answer is really the way to go. I'm using forever on instances that need to stay up. I like 阅读全文
posted @ 2017-03-20 12:48 白衣胜雪 阅读(133) 评论(0) 推荐(0) 编辑
  2017年3月18日
摘要: chmod -R 777 /opt/tomcat 阅读全文
posted @ 2017-03-18 00:12 白衣胜雪 阅读(62) 评论(0) 推荐(0) 编辑
  2017年3月17日
摘要: Issue: When push from git, Permission denied (publickey). fatal: Could not read from remote repository Solution: in git bash, ssh -v to check ssh inst 阅读全文
posted @ 2017-03-17 15:22 白衣胜雪 阅读(87) 评论(0) 推荐(0) 编辑
  2017年3月3日
摘要: The indexed way: locate -i process.txt (run sudo updatedb to update indexes but Ubuntu update it everyday via cron ). Or search with find . -iname 'process.txt' -print if it is in the current folder.... 阅读全文
posted @ 2017-03-03 02:29 白衣胜雪 阅读(108) 评论(0) 推荐(0) 编辑
  2017年3月1日
摘要: http://www.open-open.com/lib/view/open1423703640748.html 阅读全文
posted @ 2017-03-01 13:42 白衣胜雪 阅读(64) 评论(0) 推荐(0) 编辑
  2017年2月27日
摘要: Collections.sort(a, new Comparator<ren>() { @Override public int compare(ren o1, ren o2) { SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd 阅读全文
posted @ 2017-02-27 21:31 白衣胜雪 阅读(111) 评论(0) 推荐(0) 编辑
  2017年2月25日
摘要: 1. install node.js: this will install npm as well. 2. install grunt-cli: npm install -g grunt-cli 3. in folder: npm install bower-install grunt 阅读全文
posted @ 2017-02-25 16:49 白衣胜雪 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页