Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
// | |
// Based on answer from Gareth here: https://apple.stackexchange.com/questions/88396/forcing-the-wifi-password-entry-dialogue-to-display | |
// | |
#> ifconfig | |
// this will give you a list of MAC addresses | |
// or | |
#> sudo ifconfig en0 | |
// will give you a specific MAC address (you will be prompted for your system's admin password |
git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d |
IAB_CATEGORIES = { | |
"IAB1":"Arts & Entertainment", | |
"IAB1-1":"Books & Literature", | |
"IAB1-2":"Celebrity Fan/Gossip", | |
"IAB1-3":"Fine Art", | |
"IAB1-4":"Humor", | |
"IAB1-5":"Movies", | |
"IAB1-6":"Music", | |
"IAB1-7":"Television", | |
"IAB2":"Automotive", |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |