I hereby claim:
- I am jbonney on github.
- I am jbonney (https://keybase.io/jbonney) on keybase.
- I have a public key ASBgDeWYjOtPoyZhuSwq-zuANFYogofsPCrYtKgGj_XwRQo
To claim this, I am signing this object:
http://quirktools.com/screenfly/ |
I hereby claim:
To claim this, I am signing this object:
http://todomvc.com/ |
user=... | |
pass=... | |
host=localhost # or remote if necessary | |
database=... | |
mysqldump -u${user} -p${pass} -h ${host} --add-drop-table --no-data ${database} | grep ^DROP | mysql -u${user} -p${pass} -h ${host} ${database} |
http://www.dynatable.com/ |
#!/bin/sh | |
# | |
# Provides missing crontab editing | |
# Note: Synology crond requires arguments separated by a TAB character | |
# and the crontab user field only supports root. These requirements are | |
# enforced by this script. | |
# | |
# John Kelly, 2013-05-03 | |
# | |
SCRIPTNAME=`basename $0` |
http://zurb.com/ink/docs.php |
# Form styling and interaction | |
http://webdesign.tutsplus.com/tutorials/ux-tutorials/implementing-the-float-label-form-pattern/?utm_source=CSS-Weekly&utm_campaign=Issue-83&utm_medium=RSS |
# Redis server setup | |
http://blog.sensible.io/2013/08/20/setting-up-redis-for-production-environment.html | |
# Redis for Ruby | |
https://github.com/redis/redis-rb | |
# Redis and rails | |
http://jimneath.org/2011/03/24/using-redis-with-ruby-on-rails.html | |
# Redis cache | |
http://www.ryanalynporter.com/2012/06/12/simple-redis-caching-in-ruby/ |
#1: %x{ } – quick and easy | |
name = 'ls' | |
result = `which #{name}` # or result = %x{which #{name}} | |
#2: system – when you want to know how it went | |
result = system 'cp', '/full/path/to/my_file', '/target/directory' | |
if result.nil? | |
puts "Error was #{$?}" | |
elsif result | |
puts "You made it!" |