Skip to content

Instantly share code, notes, and snippets.

View ryanbarrett's full-sized avatar

ryanbarrett

View GitHub Profile
@ryanbarrett
ryanbarrett / gist:f850f734d68ab98e7059
Last active January 6, 2016 05:15
Disable IPv6 in Ubuntu
#Tried this, It did not work:
# Put at bottom of /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
# Then run:
sudo sysctl -p
@ryanbarrett
ryanbarrett / .screenrc
Last active June 11, 2016 19:03 — forked from jbeluch/.screenrc
Basic .screenrc
startup_message off
hardstatus on
hardstatus alwayslastline
hardstatus string "%{..B}%n %t %=%{..B} %H %{..B} %m/%d %C%a"
defscrollback 30000
screen -t bash0 0
screen -t bash1 1
screen -t pypthon 2 python