上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页

2016年5月26日

摘要: https://nodejs.org/api/ require(‘./xx/xx’) 多次require只执行一次 ; .node结尾二进制模块 常用module fs/iconv-lite/child_process domain 模块,可以简化异步代码的异常处理 阅读全文
posted @ 2016-05-26 11:43 anjuncc 阅读(73) 评论(0) 推荐(0) 编辑

2016年5月24日

摘要: gem 'devise'rails g devise:install Userrails g devise Userrails g devise:views 阅读全文
posted @ 2016-05-24 13:29 anjuncc 阅读(126) 评论(0) 推荐(0) 编辑

2016年5月23日

摘要: variable @fontAwesomeEotPath_iefix is undefined rails generate bootstrap:install如果还有错,保证在加载主提之前import ,比如在loader.less中导入 阅读全文
posted @ 2016-05-23 18:25 anjuncc 阅读(90) 评论(0) 推荐(0) 编辑

2016年5月22日

摘要: bundle gem xxxrake build gem push pkg/xxx.gem rake releaserake install 阅读全文
posted @ 2016-05-22 15:39 anjuncc 阅读(75) 评论(0) 推荐(0) 编辑

2016年5月21日

摘要: git clean -df #清除add前的内容 git reset --hard 阅读全文
posted @ 2016-05-21 15:50 anjuncc 阅读(66) 评论(0) 推荐(0) 编辑

2016年5月20日

摘要: 1> sudo apt-get -y install autoconf automake build-essential git libass-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libx11-dev libxext-dev libxfixes-de... 阅读全文
posted @ 2016-05-20 11:22 anjuncc 阅读(138) 评论(0) 推荐(0) 编辑

2016年5月18日

摘要: bundle package #保存gem到 vendor/cache bundle install –local 从cache从安装 升级rails bundle config –delete bin rake rails:updatein git add bin rails console >> 阅读全文
posted @ 2016-05-18 17:41 anjuncc 阅读(94) 评论(0) 推荐(0) 编辑

2016年5月17日

摘要: export PYTHON_BUILD_MIRROR_URL="http://pyenv.qiniudn.com/pythons/" 阅读全文
posted @ 2016-05-17 13:32 anjuncc 阅读(90) 评论(0) 推荐(0) 编辑
摘要: remote connect #bind-address = 127.0.0.1 #skip-networking grant all privileges on *.* to 'root'@'%' identified by 'xxx' with grant option; flush privi 阅读全文
posted @ 2016-05-17 11:18 anjuncc 阅读(69) 评论(0) 推荐(0) 编辑

2016年5月13日

摘要: ri #rdoc reader attr_reader attr_writer @@xx 类变量都是私有的 def 类名.xx end 类方法 [1,3,5,7].inject(0){|sum,e| sum+e} String 8bit字节序列 #{expr} 全局变量,类变量,实例变量,{}可省略 %q %Q Debug ruby –r debug t.rb 14 ruby t.rb... 阅读全文
posted @ 2016-05-13 18:18 anjuncc 阅读(99) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页

导航