自定义博客皮肤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 79

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 82

apache+mongrel

Delete .svn files under current folder find ./ -name ".svn" | xargs rm -Rf ways to restart apache sudo /sbin/service httpd restart sudo /usr/local/apache2/bin/apachectl -k restart htt...

2008-03-03 10:27:40 100

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 97

work tips

map.connect 'student/student_profile/signup' users/profiles/new cards delete card_record Export A MySQL Database: # mysqldump -u username -ppassword database_name table_name> FILE.sql Import A...

2008-02-15 12:13:04 123

rails tips

1. rails 2.0 for nested resource, edit url helper is changed from parent_edit_child_path to edit_parent_child_path http://blog.hasmanythrough.com/2006/4/3/polymorphic-through has_many :through ...

2008-01-14 11:06:22 78

Linux

1. search a package 1) sudo apt-get udpate 2) sudo apt-cache search something The "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 89

svn

1. SVN 1) 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 118

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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