Skip to content

Instantly share code, notes, and snippets.

@FabioFleitas
FabioFleitas / Common-Currency.json
Created April 14, 2016 22:26 — forked from ksafranski/Common-Currency.json
Common Currency Codes in JSON
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@FabioFleitas
FabioFleitas / eg.sh
Created August 8, 2015 02:05
Displays EXAMPLES section of man pages
eg() {
MAN_KEEP_FORMATTING=1 man "$@" 2>/dev/null \
| sed --quiet --expression='/^E\(\x08.\)X\(\x08.\)\?A\(\x08.\)\?M\(\x08.\)\?P\(\x08.\)\?L\(\x08.\)\?E/{:a;p;n;/^[^ ]/q;ba}' \
| ${MANPAGER:-${PAGER:-pager -s}}
}
### Keybase proof
I hereby claim:
* I am FabioFleitas on github.
* I am fabiofleitas (https://keybase.io/fabiofleitas) on keybase.
* I have a public key whose fingerprint is 31B4 3997 6004 D58A BC66 3D8F B199 AC89 94AA 9F64
To claim this, I am signing this object:
@FabioFleitas
FabioFleitas / gist:44405284f6af0464d16f
Created June 10, 2015 03:28
onename verification
Verifying I am +fabiofleitas on my passcard. https://onename.com/fabiofleitas