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/env bash | |
| # Sets up a workstation environment with all the tools necessary to get crackin! | |
| NAME='Fedora development setup' | |
| VERSION='0.5.5' | |
| AUTHOR='Ben Fairless' | |
| ################################################################################ | |
| #################################### CHECKS #################################### | |
| ################################################################################ |
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
| # Purely cosmetic function to prettify output | |
| # Set OUTPUT_LABEL to change the label | |
| # Supports ERROR, SUCCESS, and WARN as arguments | |
| output() { | |
| local label=${OUTPUT_LABEL:-$0} | |
| local timestamp=$(date +%H:%M) | |
| local colour='\033[34m' # Blue | |
| local reset='\033[0m' # Standard | |
| case $1 in | |
| ERROR) local colour='\033[31m' ;; # Red |
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/env python | |
| import pygtk | |
| import gtk | |
| import webkit | |
| import sys | |
| class Browser: | |
| def __init__(self): |