Skip to content

Instantly share code, notes, and snippets.

@hG3n
hG3n / .zshrc
Created April 21, 2015 12:22
zshrc
# ---------------------------- #
# --- GENERAL ZSH SETTINGS --- #
# ---------------------------- #
ZSH=$HOME/.zsh # Path to zsh_cfg.sh
ZSH_THEME="hGen" # chosen theme
source $ZSH/zsh_cfg.sh # laod zsh config file
# path settings
@hG3n
hG3n / pyscan-wifi
Created April 10, 2015 20:28
OSX Wifi Terminal Tool
#!/usr/bin/env python
import sys
import subprocess
import urwid
def filterNames(string):
temp = string.lstrip().split(' ')
return temp[0]
def getAvailableNetworks():
@hG3n
hG3n / .zshrc
Created March 5, 2015 13:12
zshrc
# ---------------------------- #
# --- GENERAL ZSH SETTINGS --- #
# ---------------------------- #
ZSH=$HOME/.zsh # Path to zsh_cfg.sh
ZSH_THEME="hGen" # chosen theme
source $ZSH/zsh_cfg.sh # laod zsh config file
# path settings
@hG3n
hG3n / addfiles.py
Last active August 29, 2015 14:16
script to add argument files and commt them with a specific message
#!/usr/bin/env python
import sys
import os
from subprocess import call
# get arguments to array
args = sys.argv
args.pop(0);
# get list of files in directories