Skip to content

Instantly share code, notes, and snippets.

View hjc's full-sized avatar

Hayden Chudy hjc

View GitHub Profile
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
# Example aliases
@hjc
hjc / gist:6496375
Last active December 22, 2015 15:59
SSH config that tries to stop some of the NSA horseshit.
Host *
ServerAliveInterval 10
IdentitiesOnly yes
Cipher blowfish
Ciphers blowfish-cbc
AskPassGUI no
CheckHostIP yes
Compression no
ForwardAgent no
ForwardX11 no
# On Virtual Box?
# Ensure your networking type is bridged interface or this will fail
sudo vim /etc/network/interfaces
# comment (#) out all lines that are there and add this to the bottom (however, replace
# the * in the address with whatever you want the static IP to be, e.g., my goal is a
# static IP of: 192.168.1.140, so the address line should be: address 192.168.1.140):
auto lo eth0