上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页
  2015年11月30日
摘要: 1 从一种数据结构中构件字符串hash = { key1: "val1", key2: "val2" }string = ""hash.each { |k,v| string "The number is 5.""The number is #{5}."# => "The number is 5.... 阅读全文
posted @ 2015-11-30 13:25 c3tc3tc3t 阅读(346) 评论(0) 推荐(0) 编辑
  2015年11月24日
摘要: 搜了一下原来缺少这个sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6 阅读全文
posted @ 2015-11-24 21:10 c3tc3tc3t 阅读(822) 评论(0) 推荐(0) 编辑
  2015年11月19日
摘要: http://lea.verou.me/demos/nth.html 阅读全文
posted @ 2015-11-19 21:27 c3tc3tc3t 阅读(213) 评论(0) 推荐(0) 编辑
  2015年11月13日
摘要: 1 找到ruby执行文件目录$ wherris rubyruby: /usr/lib/ruby /home/rudy/.rbenv/shims/ruby2 设置软链接sudo ln -s /home/rudy/.rbenv/shims/ruby /usr/bin/ruby 阅读全文
posted @ 2015-11-13 15:18 c3tc3tc3t 阅读(215) 评论(0) 推荐(0) 编辑
  2015年11月8日
摘要: 转自: http://www.cnblogs.com/elementstorm/archive/2013/04/10/3012679.htmlanon :true //匿名函数声明中function关键字与()之间的空白可以被省略bitwise : true //允许按位运算browser : ... 阅读全文
posted @ 2015-11-08 11:00 c3tc3tc3t 阅读(588) 评论(0) 推荐(0) 编辑
  2015年11月7日
摘要: 配置好supervisor路径后 出现了 启动时出现了/usr/bin/env: node: 没有那个文件或目录需要讲.nvm下的node链接到, /usr/bin/目录下sudo ln -s /home/rudy/.nvm/versions/node/v4.2.1/bin/node /usr/bi... 阅读全文
posted @ 2015-11-07 20:50 c3tc3tc3t 阅读(2059) 评论(0) 推荐(0) 编辑
摘要: 以前都是自动可以挂在NTFS硬盘的,可是现在不能挂载了。搜了一下 这里有办法http://forum.ubuntu.org.cn/viewtopic.php?t=313930例如你是Error mounting /dev/sdc10 at /media/rudy/info: Command-line... 阅读全文
posted @ 2015-11-07 18:14 c3tc3tc3t 阅读(5147) 评论(0) 推荐(0) 编辑
摘要: 1 生成ssh-key安装ssh服务sudo apt-get install openssh-server openssh-client启动ssh服务sudo /etc/init.d/ssh restart 1 $ ssh-keygen -t rsa -C "邮箱地址"2 看到下面提示输入密码(ss... 阅读全文
posted @ 2015-11-07 11:35 c3tc3tc3t 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1 修改上一次历史提交,替换掉上次的提交git commit --amend2 git rebase 将不同分支路径合并到同一分支路径上eg:将master分支上的 conflic rebase合并到 head分支上* ada88de(HEAD, test_rebase)Initial commit... 阅读全文
posted @ 2015-11-07 00:00 c3tc3tc3t 阅读(474) 评论(0) 推荐(0) 编辑
  2015年11月6日
摘要: 1 撤销工作区中master的修改git checkout -- master.txt ,用暂存去覆盖工作区2 git clean -n 查看哪些文件会被移除3 git clean -f 强制删除没有被跟踪的文件4 git clean -n 默认不移除 gitignore中的文件5 ... 阅读全文
posted @ 2015-11-06 22:58 c3tc3tc3t 阅读(205) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页