- 浏览: 19555 次
- 性别:
- 来自: 北京
最新评论
-
chengyuanheng:
好吧 ,已改!
how to build a ruby gem -
心静如止水:
...
cmd命令 -
心静如止水:
"creata"写错了,第一句话
how to build a ruby gem -
chengyuanheng:
why I need create a new file na ...
how to set alias and cancel alias in linux ? -
zhangfortune:
why fortune in your fu*king ali ...
how to set alias and cancel alias in linux ?
文章列表
what is pry?
you guess!(are you kidding me?)
please google yourself, thanks
install pry:
1. gem install pry or insert "gem 'pry'" in your Gemfile
2. in config/environments/development.rb insert:
silence_warnings do
begin
...
ruby on rails 生成task的方法:
$ rails g task task_namespace task_name1 task_name2
$ create lib/tasks/task_namespace.rake
task文件里面:
namespace :task_namespace do
desc "this is describe"
task :task_name1 => :environment do
end
desc "this is also describe& ...
rake db:abort_if_pending_migrations # Raises an error if there are pending migrations
rake db:charset # Retrieves the charset for the current environment's database
rake db:collation # Retrieves the collation for the current environment's database
rake db ...
cmd外部命令:
1. calc-----------启动计算器
2. certmgr.msc----证书管理实用程序
3. charmap--------启动字符映射表
4. chkdsk.exe-----Chkdsk磁盘检查
5. ciadv.msc------索引服务程序
6. cleanmgr-------垃圾整理
7. cliconfg-------SQL SERVER 客户端网络实用程序
8. Clipbrd--------剪贴板查看器
9. cmd.exe--------CMD命令提示符
10. ...
第一步:
以管理员身份运行cmd(只要保证有权限即可,不知道cmd是什么的童鞋,请直接跳到第五步。)
第二步:
在cmd中输入下面的命令:netsh wlan set hostednetwork mode=allow ssid=cc key=123456 (其中ssid为建立的网络 ...
what do rake spec do
- 博客分类:
- note
$ rake spec --trace(in /Users/sarah/src/tfr/svn/Book/code/class_app_new_source)** Invoke spec (first_time)** Invoke db:test:prepare (first_time)** Invoke db:abort_if_pending_migrations (first_time)