Skip to content

Instantly share code, notes, and snippets.

View squishykid's full-sized avatar

Robin Wohlers-Reichel squishykid

  • Sydney, Australia
View GitHub Profile

Keybase proof

I hereby claim:

  • I am squishykid on github.
  • I am robinwohlers (https://keybase.io/robinwohlers) on keybase.
  • I have a public key ASBQkMUt_cVH7eawccDEkfoC2wEedNxDfCIXkRJv0XnN5go

To claim this, I am signing this object:

/*
We want to get a potato out of the DB
*/
const findPotatoes = "SELECT * FROM potato;"
//container - passes child
type scanFunc func(rowScanner)
//child - iterates for each row
@squishykid
squishykid / uikit-apple-watch.md
Last active February 13, 2024 23:43 — forked from elliottsj/uikit-apple-watch.md
My attempt at getting UIKit to work on watchOS 2

Update: UIKit works!! More complete post & info incoming, after http://hackthenorth.com/ (where I am now) is over.

img_0016


Attempting to get React Native to work on watchOS 2, starting with trying to get just UIKit working like @steventroughtonsmith: http://blog.steventroughtonsmith.com/post/128957959685/native-uikit-apps-on-apple-watch

The 'ActualWatchApp' framework target is linked to React Native headers via Cocoapods; currently just trying to get the 'PlainWatchApp' framework target (which isn't linked to React Native) working.

@squishykid
squishykid / RWUploadView.h
Created October 1, 2014 02:30
AWS Upload View
//
// RWUploadView.h
// helpers/gists
//
// Created by Robin Wohlers-Reichel on 24/08/2014.
// Copyright (c) 2014 robinwohlers. All rights reserved.
//
#import <UIKit/UIKit.h>
@squishykid
squishykid / if structure
Created September 20, 2014 08:43
if structure
if (condition) {
//do stuff 1
} else if (cond2) {
//do stuff 2
} else if (cond3) {
//do stuff 3
} else {
//if others fail
}
in_row = raw_input('Enter a row number: ')
in_row = int(in_row)
alpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
row = []
output = ''
while in_row > 0:
in_rowa = in_row % 26
in_row = in_row - 26
row.append(alpha[in_rowa-1])