I hereby claim:
- I am adammeghji on github.
- I am adammeghji (https://keybase.io/adammeghji) on keybase.
- I have a public key ASAgi6xc_knSRHh99Cl67SUHuw8lT_xU3e_cRO28S0m0zQo
To claim this, I am signing this object:
| find ~/Library/Mail/. -print | xargs perl -wne'while(/[\w\.]+@[\w\.]+[.]\w+/g){print "$&\n"}' 2> /dev/null | sort -u |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| # convert createdb's template to UTF8 | |
| echo "UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1';" | psql -U postgres | |
| echo "drop database template1;" | psql -U postgres | |
| echo "create database template1 with template = template0 encoding = 'UTF8';" | psql -U postgres | |
| echo "update pg_database set datacl='{=c/postgres,postgres=CTc/postgres}' where datname='template1';" | psql -U postgres | |
| echo "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1';" | psql -U postgres | |
| # export and reimport as UTF8 | |
| pg_dump -U uniiverse --encoding utf8 mydatabase -f mydatabase_utf8.sql | |
| createdb -U postgres -E utf8 mydatabase_utf8 |
| #!/bin/sh | |
| CMD="rsync -avz --progress -L --exclude .git* --delete $HOME/Code/tools karate:Code/" | |
| NOTIFY="afplay /System/Library/Sounds/Morse.aiff 1> /dev/null 2> /dev/null" | |
| $HOME/Code/vendor/fswatch/fswatch $HOME/Code/. "$CMD; $NOTIFY"% |
| root@redirect:~# adduser | |
| adduser: Only one or two names allowed. | |
| root@redirect:~# sudo adduser ubunut | |
| Adding user `ubunut' ... | |
| Adding new group `ubunut' (1000) ... | |
| Adding new user `ubunut' (1000) with group `ubunut' ... | |
| Creating home directory `/home/ubunut' ... | |
| Copying files from `/etc/skel' ... | |
| Enter new UNIX password: | |
| Retype new UNIX password: |
I hereby claim:
To claim this, I am signing this object: