I hereby claim:
- I am teefan on github.
- I am teefan (https://keybase.io/teefan) on keybase.
- I have a public key whose fingerprint is 0CCB 86EA 8CA5 C8E2 CFE2 6664 4A99 FD80 6603 7FC7
To claim this, I am signing this object:
| alias gs='git status' | |
| alias gm='git merge' | |
| alias grb='git rebase' | |
| alias gb='git branch' | |
| alias gba='git branch -a' | |
| alias gco='git checkout' | |
| alias gcob='git checkout -b' | |
| alias gp='git pull' | |
| alias gf='git fetch -p' | |
| alias gc='git commit' |
| export LANGUAGE="en_US.UTF-8" | |
| echo 'LANGUAGE="en_US.UTF-8"' >> /etc/default/locale | |
| echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale |
| find ./images -name "*.png" | xargs -Irepl file -I repl |
| function vni2unicode(text) { | |
| let result = text; | |
| let uniChars1 = ['Ấ', 'ấ', | |
| 'Ầ', 'ầ', 'Ẩ', 'ẩ', 'Ẫ', 'ẫ', 'Ậ', 'ậ', 'Ắ', 'ắ', | |
| 'Ằ', 'ằ', 'Ẳ', 'ẳ', 'Ẵ', 'ẵ', 'Ặ', 'ặ', 'Ế', 'ế', 'Ề', 'ề', 'Ể', 'ể', | |
| 'Ễ', 'ễ', 'Ệ', 'ệ', 'Ố', 'ố', 'Ồ', 'ồ', 'Ổ', 'ổ', 'Ỗ', 'ỗ', | |
| 'Ộ', 'ộ', 'Ớ', 'ớ', 'Ờ', 'ờ', 'Ở', 'ở', 'Ỡ', 'ỡ', | |
| 'Ợ', 'ợ', 'Ố', 'ố', 'Ồ', 'ồ', 'Ổ', 'ổ', 'Ỗ', 'ỗ', | |
| 'Ộ', 'ộ', 'Ớ', 'ớ', 'Ờ', 'ờ', 'Ở', 'ở', 'Ỡ', 'ỡ', |
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * Create a web friendly URL slug from a string. | |
| * | |
| * Requires XRegExp (http://xregexp.com) with unicode add-ons for UTF-8 support. | |
| * | |
| * Although supported, transliteration is discouraged because | |
| * 1) most web browsers support UTF-8 characters in URLs | |
| * 2) transliteration causes a loss of information | |
| * | |
| * @author Sean Murphy <sean@iamseanmurphy.com> |
| for f in `find . -regex '.*\.html\.erb'`; do echo "Converting $f" && html2haml $f > "${f%.erb}.haml" && rm $f; done |