Skip to content

Instantly share code, notes, and snippets.

View joshkennedy's full-sized avatar
:shipit:
Slingin' divs and takin' names

Josh Kennedy joshkennedy

:shipit:
Slingin' divs and takin' names
View GitHub Profile
@joshkennedy
joshkennedy / .gitconfig
Last active December 12, 2017 15:11 — forked from Kelley-Stephens/.gitconfig
.gitconfig
[user]
name = Josh Kennedy
email = jshknndy@gmail.com
[core]
excludesfile = ~/.gitignore
[alias]
co = checkout
br = branch
st = status
cob = "!f() { ticketnum=$1; branchName=$2; git checkout -b \"B2CH-${ticketnum}/${branchName}\"; }; f"
@joshkennedy
joshkennedy / .git-prompt.sh
Created December 12, 2017 14:40 — forked from Kelley-Stephens/.git-prompt.sh
.git-prompt.sh
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
@joshkennedy
joshkennedy / .git-completion.bash
Last active December 12, 2017 14:41 — forked from Kelley-Stephens/.git-completion.bash
.git-completion.bash
# bash/zsh 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:
#
# *) local and remote branch names
# *) local and remote tag names
@joshkennedy
joshkennedy / .bash_profile
Last active December 12, 2017 14:40 — forked from Kelley-Stephens/.bash_profile
.bash_profile
# Color Variables
txtblk='\[\e[0;30m\]' # Black
txtred='\[\e[0;31m\]' # Red
txtgrn='\[\e[0;32m\]' # Green
txtylw='\[\e[0;33m\]' # Yellow
txtblu='\[\e[0;34m\]' # Blue
txtpur='\[\e[0;35m\]' # Purple
txtcyn='\[\e[0;36m\]' # Cyan
txtwht='\[\e[0;37m\]' # White
txtrst='\[\e[0m\]' # Text Reset
$('section.content img').each(function() {
var me = $(this);
var src = me.attr('src');
me.wrap('<figure class="image-wrapper ' + me.attr('title') + '" />')
.after('<figcaption>' + $(this).attr('alt') + '</figcaption>')
.attr('src', './content/' + src);
});
@joshkennedy
joshkennedy / dabblet.css
Created September 5, 2012 16:02 — forked from anonymous/dabblet.css
Untitled
#post {
width: 700px;
}
#post p {
margin-bottom: 10px;
}
#post p span {
display: block;
width: 340px;
float: left;