Skip to content

Instantly share code, notes, and snippets.

View jonchui's full-sized avatar

Jon Chui jonchui

View GitHub Profile
@jonchui
jonchui / settings.txt
Created November 19, 2022 18:09
server settings
empty
### Keybase proof
I hereby claim:
* I am jonchui on github.
* I am wonderandwander (https://keybase.io/wonderandwander) on keybase.
* I have a public key ASCLbhY14WK-Zk637mO2KABOG9nopvE2GwdztbZtvHv7uQo
To claim this, I am signing this object:
@jonchui
jonchui / buddybuild_postbuild.sh
Created June 2, 2020 17:47
Uploads Waldo to buddybuild post build
# Buddybuild_postbuild.sh - Runs after builds completes (includes all unit tests)
# https://docs.buddybuild.com/builds/custom_build_steps.html#postbuild
#
# Currently, our postbuild does one thing:
#
# 1) Uploads .app simulator build to waldo, IF and only IF,
# a) on the develop branch (aka. so that we do not run on every PR's push, ONLY when PR is merged to develop)
# OR
# b) if the commit message explictly has `[waldo run]` in it. that overrides everything
#
@jonchui
jonchui / MFMailComposeViewController+URLRequest.h
Created February 25, 2012 22:39 — forked from MonsieurDart/MFMailComposeViewController+URLRequest.h
Intercept mailto URLs in a UIWebView and send them to a MFMailComposeViewController
#import <Foundation/Foundation.h>
#import <MessageUI/MessageUI.h>
@interface NSURL (MailComposeViewController)
// Is the given request a mailto URL.
- (BOOL)isMailtoRequest;
@end
@jonchui
jonchui / jamievsjon.py
Created November 23, 2011 23:29
jamie vs jon
#!/usr/bin/env python
# encoding: utf-8
"""
jamiesort.py
Created by jonchui on 2011-11-23.
Copyright (c) 2011 __MyCompanyName__. All rights reserved.
"""
import sys