$ rails g model User
belongs_to
has_one
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
$ keytool -changealias -keystore MY_KEYSTORE_2.jks -alias XXX-XXX-XXX-XXX-XXX -destalias MY_ALIAS |
/** | |
Requires: | |
Spin.js (http://fgnass.github.com/spin.js/) | |
Spin.js jQuery plugin (https://gist.github.com/1290439) | |
Usage: $(#your-id).spinSubmit(); | |
For best results, change the 'small' to - small:{lines:12,length:3,width:2,radius:4} in the jQuery plugin |