Skip to content

Instantly share code, notes, and snippets.

BradChesney79 bradchesney79

View GitHub Profile
bradchesney79 /
Last active Dec 12, 2016 — forked from waleedahmad/
Ubuntu post installation script for installing software of your choice.
#Become master of the everything within this host
[ `whoami` = root ] || exec su -c $0 root
#Update and Upgrade
echo "Updating and Upgrading"
apt-get update && sudo apt-get upgrade -y
sudo apt-get install dialog
bradchesney79 /
Created Dec 4, 2016 — forked from virtualstaticvoid/
25 Most Frequently Used Linux IPTables Rules Examples
# Modify this file accordingly for your specific requirement.
# 1. Delete all existing rules
iptables -F
# 2. Set default chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP
bradchesney79 / testResults.txt
Created Dec 29, 2015
node-sass output from meandering use
View testResults.txt
brad@E530 should prefix all the commands I ran.
I don't know enough about sass, node-sass, or gulp-sass to know if the output to the stderr of:
brad@E530:~/Desktop/node-sass$ npm test > testResults.txt
is inportant or not. But, I wanted to mention it. (The stderr messages are posted between the command and the tail of the document created below.)
<<abridged yet unformatted barf of stdout>>
brad@E530:~/Desktop$ git clone --recursive
Cloning into 'node-sass'...
bradchesney79 /
Created Jul 20, 2015
Debian Jessie Multi-Virtual Host Setup
##### #####
bradchesney79 / Minimal commands to set up
Last active Aug 29, 2015
Debian 7 Wheezy Basic Install with SSL
View Minimal commands to set up
# Debian Linux Apache MySQL and PHP with SSL
# First things first-- update the system.
apt-get update
apt-get upgrade
# add the IP address, the fully qualified domain name, and the machine
# name
bradchesney79 / A note
Last active Dec 14, 2015
EDIT: No linebreaks I put into this box while typing persist. Bah.
View A note
Android ZXing Demo
You can download Eclipse from here:
From top to bottom in Eclipse.
These are the changes I made to the cw-omnibus/Camera/ZXing project files
I did change the names of the package files by right clicking on them-- those changes are reflected in the text below (ex com.launchhouse.demo.zxing.ZXingDemo). The original names of the resources do not match the source material provided here. Right-click to make it so by renaming them in the file hierarchy pane.
bradchesney79 / Initial Notes
Last active Dec 12, 2015
Wall-o-text for Debian Wheezy (7.0/testing) Multi-user High Performance Web-server with High Security Features
View Initial Notes
My updated notes follow:
Many thanks to the patient souls in #debian, #php-fpm, and #httpd on Freenode
Many commands and much info stolen from these locations:
bradchesney79 / Debian Wheezy commands to run for super basic php-fpm
Last active Dec 11, 2015
Minimal commands to set up a working apache 2.2 httpd web server on Debian Wheezy (7.0).
View Debian Wheezy commands to run for super basic php-fpm
apt-get install libapache2-mod-fastcgi apache2-mpm-worker php5-fpm
a2enmod actions
vi /etc/apache2/mods-available/fastcgi.conf
vi /etc/apache2/sites-available/default
vi /etc/php5/fpm/pool.d/www.conf
You can’t perform that action at this time.