Skip to content

Instantly share code, notes, and snippets.

View f33rx's full-sized avatar

Dalton f33rx

View GitHub Profile
@f33rx
f33rx / freebsd10_cheatsheet.md
Created June 5, 2017 20:41
FreeBSD Cheatsheet
#
# 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')
}
@f33rx
f33rx / vagrant_virtualbox_centos7.md
Created April 14, 2017 18:39 — forked from hareeshpc/vagrant_virtualbox_centos7.md
Vagrant installation on Headless ubuntu server (14.04.1) with CentOS and remote ssh login

Installation of virtual box headless

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
@f33rx
f33rx / gist:52e44b06f1cde17a6a40
Created October 15, 2015 22:09 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


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+";