Public Gists by daveliu

gist: 121960 my template
Gravatar
Mon Jun 01 20:11:54 -0700 2009
1
2
3
git :init
 
run "echo 'TODO add readme content' > README"
Gravatar
Tue Mar 17 06:20:50 -0700 2009
1
http://blog.hasmanythrough.com/2007/10/18/simpler-than-dirt-restful-dynamic-css
Gravatar
Sun Mar 15 20:33:38 -0700 2009
1
http://blog.maxdunn.com/articles/2007/03/20/automatically-starting-apache-with-chkconfig
Gravatar
Thu Mar 12 00:49:48 -0700 2009
1
 sudo /usr/local/mysql/bin/mysqld_safe --user=root &
Gravatar
Tue Mar 10 20:28:26 -0700 2009
1
2
3
sudo cp /usr/local/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so /etc/httpd/modules/
 
LoadModule passenger_module /etc/httpd/modules/mod_passenger.so
Gravatar
Tue Mar 10 19:43:20 -0700 2009
1
2
3
as in cd to : /usr/local/src/ruby-1.8.7-p22/ext/openssl (or whatever)
sudo ruby extconf.rb
make
Gravatar
Wed Jan 07 22:14:47 -0800 2009
1
2
3
# 1) Point *.example.com in your DNS setup to your server.
#
# 2) Setup an Apache vhost to catch the star pointer:
Gravatar
Sun Nov 23 06:54:04 -0800 2008
1
2
 "mysql>show variables like’max_allowed_packet’;
mysql>set global max_allowed_packet=67108864;"
Gravatar
Mon Nov 17 02:13:25 -0800 2008
1
sudo gem install mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
Gravatar
Fri Aug 22 07:37:50 -0700 2008
1
2
3
   def crop!( options = {} )
        # setup the default params
        options[:crop_left] ||= 0
Gravatar
Mon Jul 21 20:26:43 -0700 2008
1
what is this?