most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
#!/bin/bash | |
# Let the person running the script know what's going on. | |
echo "Pulling in latest changes for all repositories..." | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find ./Addons -name ".git" | sed 's/....$//'); do | |
echo ""; | |
echo "+$i+"; |
#Some discussions on logging from docker: Using logstash Using Papertrail
A lot of this boils down to whether you want a single or multi-process (systemd, supervisord etc.) container...
This was obtained from y-yoshinoya at https://gist.github.com/y-yoshinoya/413fcd3f6bfcfce54456
wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'
sudo apt-get update
sudo apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.3 dkms
# | |
# Perform the Puppet master migration by changing the server value in | |
# puppet.conf | |
# and reset nodes certificates | |
# | |
class puppet::migrate ( $puppetmaster ) { | |
if $puppetmaster == undef { | |
fail('You must define the targeted Puppet master to perform the migration') | |
} |
Copyright 2015 Barry Allard
### Keybase proof | |
I hereby claim: | |
* I am f33rx on github. | |
* I am sekur (https://keybase.io/sekur) on keybase. | |
* I have a public key ASAkzWZqOyJAG9Ku-f96282klAoJ88WMGLI_FhIwFzeAygo | |
To claim this, I am signing this object: |
### Keybase proof | |
I hereby claim: | |
* I am f33rx on github. | |
* I am f33rx (https://keybase.io/f33rx) on keybase. | |
* I have a public key ASB-2fmsbeVr2i5bmUU9Xsx9SSUHKkpjBuQu1J6x4dASQwo | |
To claim this, I am signing this object: |
.type.storage,.type.storage.declaration, .storage.class.modifier { | |
font-family: 'flottflott'; | |
font-size: 1.7em; | |
} | |
.type.storage.arrow.function { | |
font-family: 'Fira Code' | |
} | |
.decorator.name, .decorator.punctuation:not(.block), .import.keyword { |
#!/bin/sh | |
PID_LIST= | |
platform='unknown' | |
unamestr=`uname` | |
if [[ "$unamestr" == 'Linux' ]]; then | |
platform='linux' | |
elif [[ "$unamestr" == 'FreeBSD' ]]; then | |
platform='freebsd' |