I hereby claim:
- I am chrisjlebron on github.
- I am chrisjlebron (https://keybase.io/chrisjlebron) on keybase.
- I have a public key whose fingerprint is B1F6 7425 5C67 B64D 5DEF 5B4A 72D3 52FA 7EF1 43A7
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1Cib18xbW6CL23ynDv16KriEijNnsNrRNf https://explorer.blockstack.org/address/1Cib18xbW6CL23ynDv16KriEijNnsNrRNf |
#!/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
# And/Or include with your other git hooks which are automatically added to project | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { |
################################################# | |
# CSS/SASS/LESS # | |
################################################# | |
'.source.sass, .source.css.scss, .source.css.less': | |
'CSS Chapter Title': | |
'prefix': 'com' | |
'body': '/* ==========================================================================\n | |
\t${1:CSS CHAPTER TITLE}\n | |
\t========================================================================== */' |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Get closest DOM element up the tree that contains a class | |
* @param {Node} elem The base element | |
* @param {String} selector The class to look for | |
* @return {Node} Null if no match | |
*/ | |
var getClosestOfClass = function (elem, selector) { | |
var firstChar = selector.charAt(0); | |
// Get closest match |
Project kickoff: | |
☐ Is it responsive? | |
☐ Set meta-viewport | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
☐ Got a responsive tester? | |
ish. by Brad Frost is a current favorite (currently in my Sublime Fetch package list) | |
☐ Need any special tools? | |
https://github.com/filamentgroup/Southstreet | |
☐ Need IE conditionals? | |
☐ Are you using Modernizr? |
/** | |
* bkgd change on hover (prototype) | |
*/ | |
.contain { | |
position: relative; | |
width: 256px; | |
height: 192px; | |
color: white; | |
font-size: 3em; |
/** | |
* Flixel loading graphic | |
*/ | |
/* COLORS ********************** | |
* BLUE BKGD = #0076d6 | |
* RED = #fe2b57 | |
* YELLOW = #fece44 | |
* GREEN = #00ca35 | |
* LIGHT BLUE = #0dd5fe |
/** | |
* Ajax loaders | |
*/ | |
body, html { | |
height:100%; | |
width:100%; | |
margin:0; | |
} |
/** | |
* Secondary nav | |
*/ | |
body { | |
background: wheat; | |
min-height: 100%; | |
font-family:Helvetica; | |
} | |
nav { |