Skip to content

Instantly share code, notes, and snippets.

View jfairbank's full-sized avatar

Jeremy Fairbank jfairbank

View GitHub Profile
@jfairbank
jfairbank / index.css
Created February 6, 2017 21:21
Copy & paste this into your flix application's `App.css` inside `src` to reap the benefits of some style.
body {
margin: 0;
padding: 0;
font-family: sans-serif;
color: #212121;
}
.App-header {
background: #F44336;
}
@jfairbank
jfairbank / git-diff-add.sh
Last active August 29, 2015 14:26
git-diff-add
#!/bin/bash
# git diff a file and then be presented with the option to stage
# the file with "y" or stage a portion with patch via "p"
filepath="${1-.}"
git diff "$filepath"
[[ $? -ne 0 ]] && exit