Skip to content

Instantly share code, notes, and snippets.

View joeLepper's full-sized avatar

Joe Lepper joeLepper

View GitHub Profile
17:43:36,376 INFO [stdout] (http-localhost/127.0.0.1:8080-1) INFO - (0.000000s) SELECT * FROM "groups" WHERE ("id" = '4') LIMIT 1
17:43:36,377 INFO [stdout] (http-localhost/127.0.0.1:8080-5) DEBUG - GET (0.0160s) /groups/9/users - 200 OK
17:43:36,377 INFO [stdout] (http-localhost/127.0.0.1:8080-3) DEBUG - GET (0.0120s) /groups/5/users - 200 OK
17:43:36,377 INFO [stdout] (http-localhost/127.0.0.1:8080-3) DEBUG - GET (0.0180s) /groups/8/users - 200 OK
17:43:36,377 INFO [stdout] (http-localhost/127.0.0.1:8080-6) DEBUG - GET (0.0140s) /groups/7/users - 200 OK
17:43:36,377 INFO [stdout] (http-localhost/127.0.0.1:8080-2) DEBUG - GET (0.0100s) /groups/6/users - 200 OK
17:43:36,378 INFO [stdout] (http-localhost/127.0.0.1:8080-1) INFO - (0.000000s) SELECT "users".* FROM "users" INNER JOIN "groups_users" ON (("groups_users"."user_id" = "users"."id") AND ("groups_users"."group_id" = 4))
17:43:36,380 INFO [stdout] (http-localhost/127.0.0.1:8080-1) DEBUG - GET (0.009
16:02:31,559 INFO [stdout] (http-localhost/127.0.0.1:8080-9) ERROR - Java::OrgPostgresqlUtil::PSQLException: ERROR: argument of IS FALSE must be type boolean, not type integer
16:02:31,560 INFO [stdout] (http-localhost/127.0.0.1:8080-9) Position: 64: SELECT * FROM "organizations" WHERE (("deleted" IS FALSE) AND ("id" IS FALSE)) LIMIT 1
16:02:31,597 ERROR [stderr] (http-localhost/127.0.0.1:8080-9) java.lang.Thread.run(Thread.java:722)Sequel::DatabaseError - Java::OrgPostgresqlUtil::PSQLException: ERROR: argument of IS FALSE must be type boolean, not type integer
16:02:31,598 ERROR [stderr] (http-localhost/127.0.0.1:8080-9) Position: 64:
16:02:31,598 ERROR [stderr] (http-localhost/127.0.0.1:8080-9) org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
16:02:31,598 ERROR [stderr] (http-localhost/127.0.0.1:8080-9) org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
16:02:31,598 ERROR [stderr] (http-localhost/127.0.0.1:8080-9) org.p
var rectangle = { x : 0
, y : 0
, w : 10
, h : 10
, color : '#ff9900' }
, drawRec = function(recObj, modifyColor) {
// do some canvas setup stuff, then set the fill color...
if (modifyColor === 'undefined'){
var rectangle = { x : 0
, y : 0
, w : 10
, h : 10
, hugh : hue // 120
, satch : saturation // '50%'
, lite : light } // '50%'
, drawRec = function(recObj, modifyColor) {
var rectangle = { x : 0
, y : 0
, w : 10
, h : 10
, hugh : hue // 120
, satch : saturation // '50%'
, lite : light } // '50%'
, drawRec = function(recObj, modifyColor) {
var hslToRgb = function(hue, satch, lite) {
var mod1
, mod2
, hue
, hugh
, red
, green
, blue;
satch /=100;
{
"broadcastType" : "FM",
"callSign" : "KCOU",
"frequency" : 88.1,
"appID" : "755 ",
"_id" : ObjectId("5153c730284cfe8900000001"),
"minLatLng" : [ ],
"maxLatLng" : [ ],
"loc" : {
"type" : "Polygon",
## <-- this means a comment to you, Devin.
$ <-- this means type something like this into the terminal (withouth the '$')
## we need to confirm that the config file is located where we think it is. According to homeboy's snippet
## it's somewhere beneath VBoxInternal so we'll use cd "change directory" to start there.
## you'll need to use finder to locate where VirtualBox is located. My guess is it's somewhere under
## Applications, so try something like this:
$ cd /Applications
@joeLepper
joeLepper / gist:8347279
Created January 10, 2014 05:03
Simple gulpJS Karma task
gulp.task('karma', function(){
spawn('karma', ['start', 'karma.config.js'], { stdio : 'inherit' });
});
@joeLepper
joeLepper / gulpfile.js
Created January 10, 2014 18:59
My Gulpfile
var gulp = require('gulp')
, jshint = require('gulp-jshint')
, csslint = require('gulp-csslint')
, sass = require('gulp-sass')
, gconcat = require('gulp-concat')
, uglify = require('gulp-uglify')
, rename = require('gulp-rename')
, ngmin = require('gulp-ngmin')
, gzip = require('gulp-gzip')
, jade = require('gulp-jade')