Skip to content

Instantly share code, notes, and snippets.

View josealobato's full-sized avatar

Jose A Lobato josealobato

View GitHub Profile
@lukeredpath
lukeredpath / AssertEventually.h
Created August 3, 2010 13:20
Enables simple and elegant testing of asynchronous/threaded code with OCUnit, blocks and OCHamcrest
//
// AssertEventually.h
// LRResty
//
// Created by Luke Redpath on 03/08/2010.
// Copyright 2010 LJR Software Limited. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "HCMatcher.h"
@dfreniche
dfreniche / swift.sh
Created August 28, 2014 06:07
Bash script to launch swift from command line, with all Xcode6-Betas around
#!/bin/bash
# swift.sh: Bash script to launch swift from command line
# it works even with Xcode5 and several Xcode-Beta installed
NEW_XCODE=$(ls -m1 -d /Applications/Xcode6* | tail -r -n 1)/Contents/Developer
echo using $NEW_XCODE
$NEW_XCODE/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -sdk $NEW_XCODE