I hereby claim:
- I am artgillespie on github.
- I am artgillespie (https://keybase.io/artgillespie) on keybase.
- I have a public key ASArf7vE484J64Md1HcCDqROgYUKX_bYCD_NGyygCXGZSgo
To claim this, I am signing this object:
type DBJSONMap map[string]interface{} | |
// scanning a null column value is problematic how do we know that it was null? | |
// for structs, this is easy, we can just slap an IsNull field on it and set it | |
// in the Scanner, but for map[string]interface{} ... | |
func NewDBJSONMap() DBJSONMap { | |
return make(map[string]interface{}) | |
} | |
func (d DBJSONMap) IsNull() bool { |
[ | |
{ | |
"_id": "5d1773ebce1769292c25993c", | |
"time": "Wed Aug 09 1972 12:05:26 GMT+0000 (UTC)", | |
"index": 0, | |
"guid": "ba791989-fcf0-45b1-8129-4e655f1d4f10", | |
"temp": "76.56", | |
"humidity": "56.63", | |
"airq": "0.5137" | |
}, |
# display the oldest 25 branches based on most recent commit date that start with `art` | |
git for-each-ref --sort=committerdate --format="%(refname:short)%09'%(committerdate)'" --count=25 refs/heads/art | |
# delete the oldest 25 branches based on most recent commit date that start with `art` | |
git for-each-ref --sort=committerdate --format="%(refname:short)%09'%(committerdate)'" --count=25 refs/heads/art | cut -f 1 | xargs git branch -D |
license: mit |
license: mit |
I hereby claim:
To claim this, I am signing this object:
/*jslint unparam:true, node:true*/ | |
'use strict'; | |
var express = require('express'), | |
session = require('express-session'), | |
cookie = require('cookie'), | |
cookieParser = require('cookie-parser'); | |
var app = express(); |
@interface MyClass() | |
void ThisIsObviouslyNotAnObjectiveCMethod(const char *someParam, int someOtherParam); | |
@end | |
@implementation MyClass | |
void ThisIsObviouslyNotAnObjectiveCMethod(const char *someParam, int someOtherParam) { | |
// some code that doesn't even have access to MyClass instance as `self` |
int max; | |
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max); |
dispatch_async(dispatch_get_main_queue(), ^{ | |
// do your UI shizzle in here, yo... | |
} |