git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| /* | |
| Make the Facebook Like box responsive (fluid width) | |
| https://developers.facebook.com/docs/reference/plugins/like-box/ | |
| */ | |
| /* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */ | |
| #fb-root { | |
| display: none; | |
| } | 
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", | 
| var Example = (function($){ | |
| var st = { | |
| 'link' : '#example' | |
| }, | |
| dom = {}, | |
| catchDom = function(){ | |
| dom.link = $(st.link); | |
| }, | |
| bindEvent = function(){ | |
| dom.link.on('click',fnExample); | 
| // Writing JS for everything is great and all, but I don't want to see JS | |
| // inline in my Jade templates. Thankfully, there are ways of abstrating it | |
| // into mixins! | |
| // Want some Rails-like helpers? | |
| mixin link_to(name, href) | |
| - href = href || "#" | |
| a(href="#{href}")= name | |
| // How about a single editing point for a class name? | 
Table of Contents generated with DocToc
| #!/bin/sh | |
| red="\033[0;31m" | |
| yellow="\033[1;33m" | |
| green="\033[1;32m" | |
| reset="\033[0m" | |
| read -a changed_files <<< $(git diff --cached --name-only --raw) | |
| # check if there're any JS related files in commit | |
| runTests=false | 
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 12.5, | |
| // font family with optional fallbacks | |
| fontFamily: '"Meslo LG S for Powerline", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
| // terminal cursor background color (hex) | |
| cursorColor: 'rgba(255,255,255,.4)', | 
| /* | |
| TODO: | |
| X Maybe account for defaults: color: var(--header-color, blue); | |
| - Verify cross domain working or not (it is working from dropbox) | |
| - Option to wait to apply anything until all <link>s are parsed or inject what we have and update as each <link> returns | |
| - Need to test on a more complex CSS file | |
| - Option to save parsed file in local/session storage so there isn't a delay on additional page loads. Could only do it for links (with URLs to use as keys) and style blocks with IDs of some sort | |
| - Need to test more complex values like rgba(255,0,0,0.5); and something with !important | |
| - Try multiple links | |
| - Local links |