I hereby claim:
- I am sommestad on github.
- I am esset (https://keybase.io/esset) on keybase.
- I have a public key whose fingerprint is D327 57AB 8150 64B3 006E 4870 2E49 AF3E 50B6 7FC9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# xcode-version-bump.sh | |
# @desc Auto-increment the version number (only) when a project is archived for export. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Check the checkbox "Run script only when installing" | |
# 6. Drag the "Run Script" below "Link Binaries With Libraries" | |
# 7. Insure your starting version number is in SemVer format (e.g. 1.0.0) |
#!/bin/sh | |
############################################# | |
# Run from the directory of the NPM module # | |
############################################# | |
VERSION_TYPE=$1 | |
if [ -z "$VERSION_TYPE" ]; then | |
echo "Usage: ./npm-release.sh <major|minor|patch>"; |
For sake of simplicity, the vehicle attributes is a raw JSON file on Github with a static URL: https://gist.githubusercontent.com/sommestad/e38c1acf2aed495edf2d/raw/cdb6dfb85101eedad60853c44266249a3f4ac5df/vehicle-attributes.json
No authentication is required.
Get the vehicle attributes for a given car.
if (_appFolder) { | |
NSArray * containerPlaylists = container.playlists; | |
for (SPPlaylist * containerPlaylist in containerPlaylists) { | |
// move all playlists tagged with SpotON Radio: | |
if ([containerPlaylist.name rangeOfString: kPlaylistNameMatch].location != NSNotFound) { | |
NSInteger playlistIndex = [[container playlists] indexOfObject: containerPlaylist]; | |
DLog(@"-> MOVE playlist %@ at index %i", containerPlaylist.name, playlistIndex); |
'use strict'; | |
require('chai').should(); | |
var sinon = require('sinon'); | |
var cage = require('./monkey-cage.js'); | |
describe(__filename, function() { | |
describe('openCage', function() { |
/** | |
* The Five Whys. | |
* @see http://en.wikipedia.org/wiki/5_Whys | |
* @param {Object} person Whodat? | |
* @param {Object} thing What I'm thinking of doing. | |
*/ | |
function isItTheRightThingToDo(person, thing) { | |
for (var i = 0; i < 5; i++) { | |
if (person.hasActualAnswer(thing)) { | |
return true; |