I hereby claim:
- I am victor on github.
- I am vicman (https://keybase.io/vicman) on keybase.
- I have a public key whose fingerprint is 2F0D 7414 5270 C387 E41B 5A47 AA70 C6CC 92BA 3AC6
To claim this, I am signing this object:
import UIKit | |
let bytes: [UInt8] = [0xDE, 0xAD, 0xBE, 0xEF, 0x42] | |
let hex = bytes.reduce("", combine: { $0 + String($1, radix:16, uppercase:true) }) |
I hereby claim:
To claim this, I am signing this object:
diff -r c4b3ac52ecc8 framework/Source/CPTXYPlotSpace.m | |
--- a/framework/Source/CPTXYPlotSpace.m Wed Oct 03 20:47:35 2012 -0400 | |
+++ b/framework/Source/CPTXYPlotSpace.m Tue Oct 23 15:45:50 2012 +0200 | |
@@ -6,6 +6,7 @@ | |
#import "CPTGraphHostingView.h" | |
#import "CPTMutablePlotRange.h" | |
#import "CPTPlot.h" | |
+#import "CPTBarPlot.h" | |
#import "CPTPlotArea.h" | |
#import "CPTPlotArea.h" |
#!/bin/sh | |
PATCH=$1 | |
PATCHSET=$2 | |
URL=ssh://username@server:29418/repository | |
if [ -z "$PATCHSET" ]; then | |
PATCHSET=1 | |
fi |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
A backup of http://sites.google.com/site/redcodenl/creating-shazam-in-java-1 just in case | |
Why is this necessary? Read http://sites.google.com/site/redcodenl/patent-infringement | |
Please fork, tweet about, etc. | |
---- | |
Creating Shazam in Java | |
A couple of days ago I encountered this article: How Shazam Works | |
This got me interested in how a program like Shazam works… And more importantly, how hard is it to program something similar in Java? |
NSURLDownload * fileDownload = [[NSURLDownload alloc] initWithRequest:req delegate:self]; | |
if (fileDownload) { | |
// set destination | |
[[NSFileManager defaultManager] createDirectoryAtPath:[filename stringByDeletingLastPathComponent] withIntermediateDirectories:YES attributes:nil error:NULL]; | |
[fileDownload setDestination:filename allowOverwrite:NO]; | |
[fileDownload setDeletesFileUponFailure:NO]; | |
} |