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
/** | |
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) | |
* http://cssreset.com | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, img, ins, kbd, q, s, samp, | |
small, strike, sub, sup, tt, var, | |
u, center, |
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
/* apply a natural box layout model to all elements */ | |
* | |
-moz-box-sizing: border-box | |
-webkit-box-sizing: border-box | |
box-sizing: border-box |
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
#!/bin/bash | |
# This is my general bashrc that I source into bash_profile. | |
# Why you ask? Good question: Because I have more than one computer that | |
# I use terminal and vim on and the bash_profiles on both of them have totally | |
# different aliases for directory hotswitching and other commands. | |
# For some reason this is required for the PS1 to work with __git_ps1 | |
PATH="/usr/local/bin:${PATH}" | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion |
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
#Because it's more fun this way. | |
alias rtfm="man" |
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
# Working as of Jekyll 1.0.3 | |
module Jekyll | |
class WrapHighlightBlock < Jekyll::Tags::HighlightBlock | |
def initialize(tag_name, markup, tokens) | |
super | |
end | |
def render(context) | |
'<figure class="code"><figcaption></figcaption>' + super + '</figure>' |
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
<snippet> | |
<content><![CDATA[ | |
--- | |
layout: post | |
title: "${1:Post Title}" | |
date: "${2:Date}" | |
tags: [${3:Tags}] | |
excerpt: "${4:The Excerpt}" | |
--- | |
]]></content> |
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
var pattern = /(?:chaseadams\..{2,4}|gmail.com|zappos.com|myfooyourbar\.(?:com|net))$/g |
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
#!/usr/bin/env ruby | |
# Hook into the message and append the branch name so that we don't have to | |
# manually do it ourselves! | |
# This is the message that you put when you do: | |
# `git commit -m "This is my message" | |
message_file = ARGV[0] | |
message = File.read(message_file).strip | |
branch_name = `git rev-parse --abbrev-ref HEAD`.strip |
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
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 2 | |
charset = "utf-8" | |
trim_trailing_whitespace = true |
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
# $1 : remote name you want to diff against | |
function gdf () { | |
# get the current branch reference, cut with the delimiter / | |
# and grab the 3rd item in the list, copy to the pastebord, use the pbpaste | |
# as the diff name. | |
current_branch=`git symbolic-ref HEAD | cut -d"/" -f 3`; | |
git diff $1/master...HEAD --relative > ~/difflog/$current_branch.diff; | |
open "$jira/$current_branch"; | |
} |
OlderNewer