I hereby claim:
- I am jflaflamme on github.
- I am theflame (https://keybase.io/theflame) on keybase.
- I have a public key whose fingerprint is ACA7 5F3B 6C78 24E0 9665 9F8C 8706 E570 1BB2 A7D4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
docker exec -i postgres9 psql -U postgres < backup.sql |
docker exec -it postgres9 pg_dump -Upostgres > backup.sql |
docker exec postgres9 psql -U postgres -c 'create database <database name>;' |
curl -s https://ip-ranges.amazonaws.com/ip-ranges.json| \ | |
jq '.prefixes[] | select(.region == "ap-southeast-1")| select(.service == "EC2").ip_prefix' |
/* Use get_canonical_url to help a domain transition when both domains are active (SEO) and avoiding penality | |
* apply this on old domain and specify new domain | |
* Jeff Laflamme <jeff@geekho.asia> | |
*/ | |
add_filter( 'get_canonical_url', 'geekho_get_canonical_url' ); | |
function geekho_get_canonical_url( $canonical_url ) { | |
return preg_replace('/oldsite\.com/','newsite.com', $canonical_url); | |
} |
whois(){ /usr/bin/whois `echo $1|awk -F[/:] '{print $4}'` } |
whois(){ /usr/bin/whois `echo $1|awk -F[/:] '{print $4}'` } |
whois(){ /usr/bin/whois `echo $1|awk -F[/:] '{print $4}'` } |
whois(){ /usr/bin/whois `echo $1|awk -F[/:] '{print $4}'` } |