I hereby claim:
- I am katylava on github.
- I am katylava (https://keybase.io/katylava) on keybase.
- I have a public key whose fingerprint is A9CE F4F6 C2EE CA43 D9AE 7AC5 5C98 B583 35BF 056B
To claim this, I am signing this object:
# Store data in /usr/local/var/mongodb instead of the default /data/db | |
dbpath = /usr/local/var/mongodb | |
# Append logs to /usr/local/var/log/mongodb/mongo.log | |
logpath = /usr/local/var/log/mongodb/mongo.log | |
logappend = true | |
# Only accept local connections | |
bind_ip = 127.0.0.1 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
git remote prune origin; | |
for b in `git br --merged master | grep -v "^\s\+master$" | grep -v "^\*"`; do | |
git br -d $b; | |
done; | |
# gist git-cleanup -u 10907671 |
{ | |
"browser": false, | |
"node": true, | |
"predef": ["after", "afterEach", "before", "beforeEach", "describe", "it" ], | |
"strict": false, // this should unnecessary -- default is false -- but seems to be enabled in some environments | |
// Katy | |
// enforcing options | |
// "camelcase": true, // require camelCase or ALL_UPPER -- this would be nice but we don't control all identifiers (e.g. the ones from jsforce) |
var choseongInit = 'G;GG;N;D;DD;L;M;B;BB;S;SS;;J;JJ;C;K;T;P;H'; | |
var jungseongInit = 'A;AE;YA;YAE;EO;E;YEO;YE;O;WA;WAE;OE;YO;U;WEO;WE;WI;YU;EU;YI;I'; | |
var jongseongInit = ';G;GG;GS;N;NJ;NH;D;L;LG;LM;LB;LS;LT;LP;LH;M;B;BS;S;SS;NG;J;C;K;T;P;H'; | |
function Romanize() | |
{ | |
choseongList = choseongInit.split(';'); | |
jungseongList = jungseongInit.split(';'); | |
jongseongList = jongseongInit.split(';'); |
# Commands are executed by cron when the minute, hour, and month of year | |
# fields match the current time, and at least one of the two day fields | |
# (day of month, or day of week) match the current time. A field may be | |
# an asterisk (*), which will always match. | |
# | |
# Fields in order: | |
# minute (0-59) | |
# hour (0-23) | |
# day of month (1-31) | |
# month (1-12 or first three letters) |
#!/usr/bin/env python | |
""" | |
1. Copy pending transactions from chase.com | |
2. `pbpaste | path/to/pending2ynab.py > ~/Desktop/ynabimport.csv` | |
3. Import ~/Desktop/ynabimport.csv file into YNAB | |
""" | |
import re | |
import sys |
COMING THIS FALL… | |
To every TV station in America. | |
INTERIOR: WE SEE A HARDENED CRIMINAL (NOT AFRICAN-AMERICAN. WE HAVE TO AVOID THAT UNTIL AT LEAST THE THIRD EPISODE) AT A TABLE AT AN INTERROGATION ROOM. | |
NARRATOR | |
Insert City here is known for its tough streets and even tougher criminals. | |
CUT TO: close-up on CRIMINAL’S face |
split huge-ass csv file into smaller files | |
$ wc -l * | |
40989 IrvineCustomerData.csv | |
$ split -l 5000 IrvineCustomerData.csv IrvineCustomerData- | |
$ wc -l * | |
5000 IrvineCustomerData-aa | |
5000 IrvineCustomerData-ab |