Skip to content

Instantly share code, notes, and snippets.

View ferrants's full-sized avatar

Matt Ferrante ferrants

View GitHub Profile
@ferrants
ferrants / 0_reuse_code.js
Created April 22, 2016 16:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#buildHistory .build-row td{
white-space: initial;
}
@ferrants
ferrants / jenkins_ami.yml
Last active August 29, 2015 14:25
Jenkins AMI and Deployment Automation
# Ansible Playbook to Create a Jenkins Master AMI
---
- name: create instance
hosts: localhost
vars:
ec2_ami: ami-1ecae776
key_name: ### KEY NAME
subnet_id: ### VPN Subnet to use
security_group_id: ### Security Group to use
@ferrants
ferrants / gist:a9ad9b5f84cd67fccdfc
Last active August 29, 2015 14:21
.git-completion.bash
#!bash
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
@ferrants
ferrants / .bash_profile
Last active October 7, 2015 13:08
bash profile
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
alias l="ls -l"
alias ll="ls -l"
alias la="ls -la"
alias lah="ls -lah"
alias u="cd .."
alias uu="cd ../.."
alias uuu="cd ../../.."