I hereby claim:
- I am sunfarm on github.
- I am sunfarm (https://keybase.io/sunfarm) on keybase.
- I have a public key ASCNs8SyYVPeT8mDC469D5Xy-Xm2QgXUMKkeYf7Dml8-PQo
To claim this, I am signing this object:
# mkdir django && cd django | |
default: | |
# Some of these commands are pretty esoteric and may not make sense to others. Feel free to ask me about them though! | |
[user] | |
# name = YOUR_NAME | |
# email = YOUR_EMAIL | |
[push] | |
default = simple | |
[alias] | |
### Branching ### | |
# Rebuild a release branch. Silently fails if not named properly |
#!/bin/bash | |
# thisdir -- save your bash history in the currect working directory | |
# @author: Nathanael Raway <nathanael.raway@gmail.com> | |
# ----- WARNING ----- | |
# This is a work in progress. Use at your own risk. | |
# You may want to save your bash history file before trying | |
# cp ~/.bash_history ~/.bash_history.backup |
# Disable spotlight indexing for a particular path | |
sudo mdutil -i off "/Volumes/$DRIVE" | |
# Generate valid, albeit trivial, json of a specific length | |
python -c 'print("[\"" + "x" * 1000 + "\"]")' | |
# Count the lines in a file and delete it (fugetabowtit!) | |
wc -l < $(ls export_* | tail -1) | pbcopy; rm export_* |
grep lol /usr/share/dict/words |
# Python 3 | |
import sys | |
import string | |
import random | |
if len(sys.argv) < 2: | |
print('Need a source string!') | |
exit() |
-- Generate a pseudo-random string | |
-- If this is run more than once in the same second given by os.time(), it will generate the same string | |
local chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+-={}|[]`~' | |
local length = 40 | |
local randomString = '' | |
math.randomseed(os.time()) | |
charTable = {} |
I hereby claim:
To claim this, I am signing this object: