Skip to content

Instantly share code, notes, and snippets.

Tim Sweet orneryd

View GitHub Profile
@orneryd
orneryd / gist:909fa5c66002d92f1506
Last active Aug 29, 2015
Marionette securedRouter
View gist:909fa5c66002d92f1506
define([
'underscore',
'marionette'
], function(_, Marionette) {
'use strict';
/**
* SecureRouter
*
* This class is similar to the marionette Approuter except
View git_bash_prompt.sh
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the branch of the current subversion repository
# * the return value of the previous command
#
# USAGE:
You can’t perform that action at this time.