Skip to content

Instantly share code, notes, and snippets.

View tuxBurner's full-sized avatar
💭
PewPew working on a Lasertag :)

Seppel Hardt tuxBurner

💭
PewPew working on a Lasertag :)
View GitHub Profile
/*
EXAMPLE MESSAGE
/poll "question?" "option 1" "option 2"
*/
/** Global Helpers
*
* console - A normal console instance
* _ - An underscore instance
@wvuong
wvuong / angular.jsp
Created June 11, 2013 22:30
Context paths and AngularJS
<script>
// inject inlined constants
angular.module('app.constants', [])
.constant('contextPath', '${pageContext.request.contextPath}');
</script>
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream