This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| from netaddr import * | |
| import pprint | |
| import itertools | |
| pp = pprint.PrettyPrinter(indent=4) | |
| def get_cidr_list(filename): | |
| #file must have one cidr per line | |
| #192.168.0.0/16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set bg=dark | |
| set ts=4 | |
| set expandtab | |
| set autoindent | |
| set shiftwidth=4 | |
| set softtabstop=4 | |
| set showmatch | |
| let python_highlight_all = 1 | |
| syntax on | |
| "filetype indent plugin on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| yum install wget | |
| wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| rpm -ivh epel-release-6-8.noarch.rpm | |
| yum install byobu | |
| byobu-enable | |
| # Default Key Bindings | |
| # F2 -> Create new window |