Public Gists by yorzi

Gravatar
Tue Mar 24 20:29:30 -0700 2009
1
2
3
//=============================checkpwd.js=================================//
//*Author Netcent Aquany
//*
Gravatar
Tue Mar 24 20:28:59 -0700 2009
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
Gravatar
Mon Mar 16 02:26:56 -0700 2009
1
find . -type d -name ".svn"|xargs rm -rf
Gravatar
Mon Mar 09 02:49:04 -0700 2009
1
*/1 * * * * ( [ ! -f /tmp/send_email_message.lock ] && unset SEND_EMAIL_MESSAGELOCK && touch /tmp/send_email_message.lock && export SEND_EMAIL_MESSAGELOCK=1 && cd /home/neeraj/apps/demo_production/current ; /usr/bin/rake email:run RAILS_ENV=production >> /home/neeraj/apps/demo_production/current/log/send_email_message.log ; [ "$SEND_EMAIL_MESSAGELOCK" = "1" ] && rm -f /tmp/send_email_message.lock ) > /dev/null 2>&1
Gravatar
Thu Mar 05 19:04:22 -0800 2009
1
2
3
# Some people have been emailing me complaining that my calendar_helper code
# (http://gist.github.com/54116) doesn't work properly.
#
Gravatar
Thu Mar 05 02:08:35 -0800 2009
1
2
3
##
# Calendar helper with proper events
# http://www.cuppadev.co.uk/webdev/making-a-real-calendar-in-rails/
Gravatar
Wed Mar 04 23:58:21 -0800 2009
1
2
mysql> grant all privileges on studycenter_development.* to buzz@'%' identified by 'buzz';
mysql> flush privileges;