- 博客(8)
- 收藏
- 关注
functional test skeleton
namespace :test do namespace :functionals do desc "Generate functional testing skeleton" task :generate => :environment do dir = ENV['dir'] if dir.blank? puts "Wa...
2008-03-28 16:23:20
113
apache+mongrel
Delete .svn files under current folderfind ./ -name ".svn" | xargs rm -Rfways to restart apachesudo /sbin/service httpd restartsudo /usr/local/apache2/bin/apachectl -k restarthtt...
2008-03-03 10:27:40
132
BackgrounDRb best practises
[list][*]Best place for BackgrounDRb documentation is the README file that comes with the plugin. Read it thoroughly before going anywhere else for documentation.[*]When passing arguments from Rai...
2008-02-22 12:45:44
122
work tips
map.connect 'student/student_profile/signup' users/profiles/newcards delete card_recordExport A MySQL Database:# mysqldump -u username -ppassword database_name table_name> FILE.sqlImport A...
2008-02-15 12:13:04
152
rails tips
1. rails 2.0for nested resource, edit url helper is changed from parent_edit_child_path to edit_parent_child_pathhttp://blog.hasmanythrough.com/2006/4/3/polymorphic-throughhas_many :through ...
2008-01-14 11:06:22
108
Linux
1. search a package1) sudo apt-get udpate2) sudo apt-cache search somethingThe "z" flag works with gzip, to either create a tar/gzipped archive:tar -czvf archive.tgz files/...or decomp...
2008-01-11 14:18:42
107
svn
1. SVN1) create a new project : [code] svn import -m 'new import' trainer http://svn.idapted.com/svn/projects/trainer[/code] [list][*]trainer doesn't need to exsit, svn will create it....
2008-01-04 16:45:33
151
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅