create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
// strong password validation | |
jQuery.validator.addMethod("strongPassword", function(value, element) { | |
return value.match(/[a-z]/) | |
&& value.match(/[A-Z]/) | |
&& value.match(/[1-9]/) | |
&& value.match(/[^0-9a-zA-Z]/) | |
&& value.length >= 8; | |
}, "Password must be 8 characters long, contain at least one lowercase character (a-z), one uppercase character (A-Z), at least one digit (0-9), and at least one special character."); |
create role myapp with createdb login password 'password1' |
if [ $# -eq 0 ]; then | |
echo "usage: trashit <files...>" >&2 | |
exit 2; | |
fi | |
for file in "$@"; do | |
# get just file name | |
destfile="`basename \"$file\"`" | |
suffix=''; | |
i=0; |
chrome.tabs.query({active:true,windowType:"normal"},function(d){console.debug(d[0].id);}) |
;; if indent-tabs-mode is off, untabify before saving | |
(add-hook 'write-file-hooks | |
(lambda () (if (not indent-tabs-mode) | |
(untabify (point-min) (point-max))) | |
nil )) |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
export=$PATH:/Application/ColdFusion10/cfusion/bin |
echo "linux users don't hate me but i love it" | |
echo "set completion-ignore-case On" >> ~/.inputrc |