Skip to content

Instantly share code, notes, and snippets.

View kevinnguy's full-sized avatar
🤓
Code reviewing!

Kevin Nguy kevinnguy

🤓
Code reviewing!
View GitHub Profile
@jonah-williams
jonah-williams / KWSpec+WaitFor.h
Last active October 7, 2015 01:38
Delay execution of Kiwi specs until an asynchronous process finishes.
#import "KWSpec.h"
@interface KWSpec (WaitFor)
+ (void) waitWithTimeout:(NSTimeInterval)timeout forCondition:(BOOL(^)())conditionalBlock;
@end
@demonbane
demonbane / makeapp.sh
Created July 5, 2011 20:05
Create a Fluid-style app launcher for single-window Chrome instances on OSX
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name="$inputline"
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url="$inputline"