- [Spinamp]
Music Hack Day San Francisco – Feb 11, 2012 - [Notorious Siri]
Music Hack Day London – Dec 3, 2011 - [6 Strings]
Music Hack Day Montreal – Sep 24, 2011 - SoundNebula
Music Hack Day Berlin – May 28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface FooTests : XCTestCase | |
@end | |
@implementation FooTests | |
- (void)testAnd { | |
expect(@"foo") | |
.to.beKindOfClass(NSString.class) | |
.and.equal(@"foo"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// No blocks-as-properties, just classic arguments | |
NSArray *tweets = [[[[[Underscore | |
array:results] | |
filter:Underscore.isDictionary] | |
reject:^(NSDictionary *tweet) { | |
return [tweet[@"iso_language_code"] isEqualToString:@"en"]; | |
}] | |
map:^(NSDictionary *tweet) { | |
NSString *name = tweet[@"from_user_name"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inbefore: im wald, morgen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
typealias JSONDictionary = [String: AnyObject] | |
/// Attempts to load a data from a given URL. | |
func loadData(URL: NSURL) -> Either<NSError, NSData> { | |
if let data = NSData(contentsOfURL: URL) { | |
return Either.Right(Box(data)) | |
} else { | |
// In a real world scenario, we'd have a more useful error :-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "SBJson", | |
"version": "4.0.2", | |
"license": { | |
"type": "BSD", | |
"text": " Copyright (C) 2007-2015 Stig Brautaset. All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n * Neither the name of the author nor the names of its contributors may be used\n to endorse or promote products derived from this software without specific\n prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT L |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Music Hackday 2010 | |
* Big Piano Hack | |
*/ | |
const int LED_PIN = 13; | |
const byte CHANNEL = 0; | |
/* The pin numbers in chromatic order | |
*/ | |
const int INPUT_PINS[] = {32, 30, 28, 26, 24, 22}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSColor+Hex.h | |
// SoundCloud | |
// | |
// Created by Robert Böhnke on 4/1/11. | |
// Copyright 2011 Soundcloud Ltd. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'stereo': | |
size: {width: 23, height: 29} | |
'couch': | |
size: {width: 77, height: 34} | |
'computer': | |
size: {width: 19, height: 34} | |
spriteCount: 2 |
OlderNewer