I hereby claim:
- I am fluxrad on github.
- I am fluxrad (https://keybase.io/fluxrad) on keybase.
- I have a public key ASAqmZbGFe3T3u48LvrAf3_r8MIAmmFvzkC5KYfGmAfNGgo
To claim this, I am signing this object:
[Scheme] | |
Name=One Dark | |
ColorForeground=#ABB2BF | |
ColorCursor=#ABB2BF | |
ColorBackground=#282C34 | |
ColorSelection=#3B4451 | |
ColorSelectionUseDefault=FALSE | |
ColorBold=#B9C0CB | |
ColorBoldUseDefault=FALSE | |
ColorPalette=#282C34;#E06C75;#98C379;#E5C07B;#61AFEF;#C678DD;#56B6C2;#ABB2BF;#3E4452;#BE5046;#98C379;#D19A66;#61AFEF;#C678DD;#56B6C2;#5C6370 |
// ==UserScript== | |
// @name MR Unstagnator | |
// @namespace http://marginalrevolution.com/ | |
// @version 0.1 | |
// @description Make MR look better and more usable. | |
// @author Aaron Mills | |
// @match http*://marginalrevolution.com/* | |
// @grant GM_addStyle | |
// ==/UserScript== |
#!/bin/bash | |
# pre-commit git hook to check the validity of a puppet manifest | |
# | |
# Prerequisites: | |
# gem install puppet-lint puppet | |
# | |
# Install: | |
# /path/to/repo/.git/hooks/pre-comit | |
# Source RVM if needed |
#!/bin/bash | |
SLEEP_SECONDS=600 | |
while true; do | |
for i in `seq 1 3`; do | |
timeout 5 docker ps -q && break || echo "Docker daemon is not running. Rebooting" | |
if [[ $i -eq 3 ]]; then | |
reboot |
I hereby claim:
To claim this, I am signing this object:
# Remove any entries from SSH known_hosts file | |
# that match the specified string. | |
sshrm () { | |
node=$1 | |
echo "Removing $node from SSH known hosts" | |
sed -i '.bak' -e "/^$node/d" ~/.ssh/known_hosts | |
} |
require 'facter' | |
Facter.add("some_user") do | |
setcode do | |
system "/usr/bin/id someuser >/dev/null 2>&1" | |
end | |
end |
exports.index = function(req, res) { | |
res.send('This is bar!'); | |
}; |
# Fix an EC2 instance's hostname. | |
echo "ip-$(echo $(curl -s http://169.254.169.254/latest/meta-data/local-ipv4 | tr '.' '-'))" | sudo tee /etc/hostname | sudo xargs hostname |