Skip to content

Instantly share code, notes, and snippets.

View laurelnaiad's full-sized avatar
💭
Not in Colorado

Daphne Maddox laurelnaiad

💭
Not in Colorado
View GitHub Profile
@laurelnaiad
laurelnaiad / default.json
Created January 27, 2020 13:41 — forked from zetas/default.json
iTerm2 Byobu Keybind Profile.
{
"Ansi 5 Color" : {
"Green Component" : 0.4117647111415863,
"Blue Component" : 0.78823530673980713,
"Red Component" : 0.55686277151107788
},
"Working Directory" : "\/Users\/david",
"Prompt Before Closing 2" : 0,
"Selected Text Color" : {
"Green Component" : 0.729411780834198,
@laurelnaiad
laurelnaiad / authRoute.js
Last active December 18, 2015 19:58 — forked from xcambar/LICENSE
authRouteProvider.$inject = ['$routeProvider'];
function authRouteProvider ($routeProvider) {
/**
* Creates a wapper controller on the one that is specified in the constructor.
* currentUser__ and userRole__ are late-bound, as is $location.
* bound to the route, or wraps the controller in param
* so the authentication check is run before the original controller is executed
* @param currentController
* @return {Function} The wrapper controller
*/
@laurelnaiad
laurelnaiad / angular-autoload.js
Last active December 17, 2015 23:39 — forked from nateabele/angular-autoload.js
nateabele's autoload patch, comments by stu-salsbury
/**
* Naive AngularJS module autoloader; depends on require.js.
*
* Usage:
*
* angular.autoLoad({
* 'ngResource': '/js/angular-resource-1.0.1.min.js',
* 'google-maps': '/js/angular-google-maps.js',
* 'ui.bootstrap': '/js/ui/ui-bootstrap-custom-tpls-0.4.0.min.js',
* 'module.split.over.multiple.files': ['/js/file1.js', '/js/file2.js']