Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
| #!/bin/bash | |
| export TERM=xterm-color | |
| export CLICOLOR=1 | |
| export GREP_OPTIONS='--color=auto' | |
| # export LSCOLORS=Exfxcxdxbxegedabagacad | |
| export LSCOLORS=gxfxcxdxbxegedabagacad # Dark lscolor scheme | |
| # Don't put duplicate lines in your bash history | |
| export HISTCONTROL=ignoredups | |
| # increase history limit (100KB or 5K entries) | |
| export HISTFILESIZE=100000 |