- iTerm
- Karabiner
- XCode command line tools
This file contains 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
$ apt-get install -y nodejs nodejs-legacy npm |
This file contains 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
#Generate Key | |
openssl genrsa -out mydomain.key 2048 | |
#Generate CSR | |
openssl req -new -sha256 -key mydomain.key -out mydomain.csr | |
#Verify CSR | |
openssl req -noout -text -in mydomain.csr |
This file contains 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
import boto | |
ec2 = boto.connect_ec2() | |
sgs = ec2.get_all_security_groups() | |
total_unused = 0 | |
for sg in sgs: | |
instances = len(sg.instances()) | |
if instances < 1: | |
total_unused += 1 | |
print sg.id + ',' + sg.name + ',' + sg.description |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am dennisfoconnor on github. | |
* I am dennisfoconnor (https://keybase.io/dennisfoconnor) on keybase. | |
* I have a public key whose fingerprint is D52E 850A 0922 8BE5 7D52 3A20 0FC7 0DA6 5A7B E504 | |
To claim this, I am signing this object: |
This file contains 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
/path/to/file.sh: | |
file.append: | |
- text: |+ | |
export TEMP=foobar | |
# The trailing line on line 5 will appear in file.sh |
This file contains 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
//Settings File for Dean Jackson's Git Repos Alfred Workflow | |
{ | |
"app_1": "iTerm", | |
"app_2": "RubyMine", | |
"app_3": "PhpStorm", | |
"app_4": "WebStorm", | |
"app_5": "Sublime Text", | |
"app_6": "Finder", | |
"global_exclude_patterns": [], | |
"search_dirs": [ |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains 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
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
function proml { | |
local BLUE="\[\033[0;34m\]" |