Skip to content

Instantly share code, notes, and snippets.

View shirkey's full-sized avatar

Shirkey shirkey

View GitHub Profile
@shirkey
shirkey / disable-ipv6.sh
Created August 7, 2017 13:31 — forked from kwilczynski/disable-ipv6.sh
Amazon Linux OS tweaks
#!/bin/bash
set -u
set -e
set -o pipefail
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf
@shirkey
shirkey / install_graphite_statsd_ubuntu_precise.sh
Last active December 10, 2015 02:29 — forked from bhang/install_graphite_statsd_ubuntu_precise.sh
Added support for Ubuntu 12.10, default aptitude installs to accept (-y)
#!/bin/bash
# node.js using PPA (for statsd)
# if < Ubuntu 12.10
sudo apt-get install -y python-software-properties
# if >= Ubuntu 12.10
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y ppa:chris-lea/node.js
sudo apt-get update