I hereby claim:
- I am jgyllen on github.
- I am jgyllen (https://keybase.io/jgyllen) on keybase.
- I have a public key whose fingerprint is 7F81 8107 D933 1BA2 5865 04E2 C48D 949A C251 EAAB
To claim this, I am signing this object:
| kill `ps aux | grep foo | grep -v grep | awk '{print $2}'` |
I hereby claim:
To claim this, I am signing this object:
| sudo nvram SystemAudioVolume=%80 |
| perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' **/*.rb |
| # Delete all containers | |
| docker rm $(docker ps -a -q) | |
| # Delete all images | |
| docker rmi $(docker images -q) |
| use Rack::Config do |env| | |
| env[ActionDispatch::Cookies::TOKEN_KEY] = 'abc123' # Secret token from Rails config | |
| end | |
| use ActionDispatch::Session::CookieStore, key: '_myapp_session' # Session key from session store options in Rails config | |
| run MyApp |
| $ defaults write -g ApplePressAndHoldEnabled -bool false |
| SecureRandom.base64(6).gsub(/[$=+\/]/,65.+(rand(25)).chr) |
| $ ssh-keygen -lf ~/.ssh/id_rsa.pub |
| # Find rows containing string 'foo' in file bar.txt | |
| $ sed -n '/foo/p' < bar.txt | |
| # Replace occurrences of 'foo' with 'bar' in baz.txt and backup original to baz.txt.bak | |
| $ sed -i.bak -e 's%foo%bar%' baz.txt | |