I hereby claim:
- I am jdriscoll on github.
- I am jdriscoll (https://keybase.io/jdriscoll) on keybase.
- I have a public key whose fingerprint is AFDB 03DF A37F 194A B15B FEB6 A478 146D 9D51 5207
To claim this, I am signing this object:
// | |
// NSDate+Formats.h | |
// Rego | |
// | |
// Created by Justin Driscoll on 12/7/12. | |
// Copyright (c) 2012 Makalu Inc. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
I hereby claim:
To claim this, I am signing this object:
#import <Foundation/Foundation.h> | |
void logIt(NSSet *set) { | |
NSLog(@"set: %@", set); | |
for (id object in set) { | |
NSLog(@"element with hash: %lu", (unsigned long)[object hash]); | |
} | |
} | |
int main(int argc, char *argv[]) { |
// | |
// XMLObjectMapper.h | |
// Copyright (c) 2014 Justin Driscoll All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
void arrayDiff(NSArray *array1, NSArray *array2, NSSet **objectsToAdd, NSSet **objectsToRemove, NSSet **objectsInBoth) { | |
if (array1 == nil) { | |
*objectsToAdd = [NSSet setWithArray:array2]; | |
*objectsToRemove = [NSSet set]; | |
*objectsInBoth = [NSSet set]; | |
} | |
else if (array2 == nil) { | |
*objectsToAdd = [NSSet set]; | |
*objectsToRemove = [NSSet setWithArray:array1]; |
#!/usr/bin/env sh | |
if git diff-index --quiet HEAD --; then | |
agvtool next-version -all | |
if [ $# -eq 1 ] | |
then | |
agvtool new-marketing-version "$1" | |
fi | |
// | |
// Layout.swift | |
// | |
// Created by Justin Driscoll on 2/22/15. | |
// | |
import UIKit | |
struct Inset { | |
let value: CGFloat |
-- all_things | |
SELECT * FROM things | |
-- thing_with_id | |
SELECT * FROM things WHERE id = :id |
// Copyright (c) 2016 Justin Driscoll <[email protected]> | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |