Skip to content

Instantly share code, notes, and snippets.

@jobywalker
jobywalker / gist:c957031eacc3d1ca0235
Created August 8, 2014 01:10
HabitRPG Karma test errors
Running "karma:continuous" (karma) task
INFO [karma]: Karma v0.10.10 server started at http://localhost:8080/
INFO [launcher]: Starting browser Firefox
WARN [watcher]: Pattern "/Volumes/AterCS/Imperium/habitrpg/public/bower_components/jquery/jquery.js" does not match any file.
WARN [watcher]: Pattern "/Volumes/AterCS/Imperium/habitrpg/public/bower_components/bootstrap/docs/assets/js/bootstrap.js" does not match any file.
WARN [watcher]: Pattern "/Volumes/AterCS/Imperium/habitrpg/public/bower_components/ngInfiniteScroll/ng-infinite-scroll.js" does not match any file.
WARN [watcher]: Pattern "/Volumes/AterCS/Imperium/habitrpg/test/mock/**/*.js" does not match any file.
INFO [Firefox 31.0.0 (Mac OS X 10.9)]: Connected on socket Kp2k_xouUOYPXsFfpXy8
Firefox 31.0.0 (Mac OS X 10.9) ERROR
ReferenceError: jQuery is not defined
@jobywalker
jobywalker / bash.sublime-snippet
Created June 8, 2013 03:01
Standard bash script format
<snippet>
<content><![CDATA[
#!/bin/bash
#
# ${1:SCRIPT-NAME}
#
# ${2:DESCRIPTION}
#
# \$Id\$
# \$URL\$
@jobywalker
jobywalker / subl
Created June 7, 2013 18:21
Better "subl" for Sublime text. 1. with no parameters it opens sublime text focused on the current directory 2. with #1 or if a directory is provided, checks for a sublime-project file -- if found it opens the project otherwise just opens on the directory 3. just passes on to the core "subl" The core "subl" I have located in /usr/local/bin/ whic…
#!/bin/bash
unset projectpath
###################################################
#
# The Script
#
if [[ -z $1 ]]; then