Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
| ack | |
| atk | |
| autoconf | |
| autojump | |
| automake | |
| bash | |
| binutils | |
| c-ares | |
| cairo | |
| cmake |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
| sudo su - | |
| # stuff we need to build from source | |
| apt-get install libpcre3-dev build-essential libssl-dev | |
| # get the nginx source | |
| cd /opt/ | |
| wget http://nginx.org/download/nginx-0.8.54.tar.gz | |
| tar -zxvf nginx* | |
| # we'll put the source for nginx modules in here |