Skip to content

Instantly share code, notes, and snippets.

View ikura's full-sized avatar

Ikura Group Limited ikura

View GitHub Profile
//
// NSDateFormatter+IkuramediaLazyFormatter.h
//
// Created by Price Stephen on 11/08/2013.
// For Ikura Group Limited.
//
#import <Foundation/Foundation.h>
typedef void(^IMLazyDateFormatterBlock)(NSDateFormatter *);
@ikura
ikura / cue.scm
Created June 6, 2013 10:52
Solution to the final bonus puzzle on Colossal Cue. Discussion here: http://ikuramedia.com/?p=395
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Collossal Cue - Bonus Puzzles
; Define the map as a list of rows
(define ourmap (list
(list '* 8 1 7 8 8 5 2 9 5 9 5)
(list 8 5 1 1 5 6 9 4 4 5 2 1)
(list 7 2 3 5 2 9 2 6 9 3 9 4)
(list 9 2 5 9 8 9 5 7 7 5 9 6)
@ikura
ikura / gist:3627575
Created September 4, 2012 22:42
Broken queries for pointers in array
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
[Parse setApplicationId:kDevParseAppId clientKey:kDevParseClientKey];
#define kTestClass @"TestArrayClass"
#define kTestKey @"testArray"
PFObject *person = [PFObject objectWithoutDataWithClassName:@"Person" objectId:@"NPec5gZPW7"];
@ikura
ikura / gist:3620606
Created September 4, 2012 12:00
Parse workaround for "isPrefixOf" query
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
[Parse setApplicationId:kDevParseAppId clientKey:kDevParseClientKey];
#ifdef CREATE_TESTDATA