自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 useful urls

Pretty blocks in Rails views MVC: How to write controllers 

2008-07-14 15:57:40 107

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关注的人

提示
确定要删除当前文章?
取消 删除