This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (tutorialMode) | |
{ | |
var tutorialChain:ITutorialActionChain = TutorialChainBuilder.create(context) | |
.addAction(new WaitAction(2)) | |
.addConcurrentChain() | |
.addAction(new MoveMapAction(new GridPoint(-6, -5), 3)) | |
.addSequentialChain() | |
.addAction(new WaitAction(1)) | |
.addAction(new ZoomMapAction(1, 2)) | |
.finalizeSubChain() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# path to local branch workspace | |
branch="/Users/user/Documents/workspaces/workspace_project_branch" | |
# path to remote branch | |
remotebranch="https://svnhoster/project/branches" | |
# modules | |
MODULE[0]="client_core" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
plugins=(git osx brew svn) | |
# Normal aliases | |
alias gco='git co' | |
alias gci='git ci' | |
alias grb='git rb' | |
alias d='git diff --word-diff $@' | |
alias c='git commit -v $@' | |
alias s='git status -sb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "KWHCMatcher.h" | |
#import "KWMessageTracker.h" | |
#import "Kiwi.h" | |
@interface NSNotificationMatcher : NSObject <HCMatcher> | |
{ | |
NSDictionary *_userInfo; | |
} | |
+ (id)matcherWithUserInfo:(NSDictionary *)dictionary; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface UIImageView (Mask) | |
- (void)applyMask:(NSString *)maskName; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[[user1Dict[@"highscores"] valueForKey:@"fb_id"] should] contain:fbId_user2]; | |
[[[user2Dict[@"highscores"] valueForKey:@"fb_id"] should] contain:fbId_user1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.mono-project.com/Compiling_Mono_on_OSX | |
require 'formula' | |
class Mono < Formula | |
url 'http://download.mono-project.com/sources/mono/mono-3.2.3.tar.bz2' | |
homepage 'http://www.mono-project.com/' | |
sha1 'e356280ae45beaac6476824d551b094cd12e03b9' | |
def install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# find and unmount volume (change 'BOOTCAMP' name accordingly) | |
amount=`diskutil list | grep BOOTCAMP | wc -l` | |
if [ $amount = 1 ] | |
then | |
path=`diskutil list | grep BOOTCAMP | sed -e 's/^\(.*\)\(disk0s.\)$/\/dev\/\2/g'` | |
sudo chmod 777 $path | |
diskutil unmount $path | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc 'Build' | |
task :build do | |
run("xbuild Project.sln", "Build failed") | |
run("nunit-console Tests/bin/Debug/Project-Tests.dll", "Tests failed") | |
run("mono Tests/vendor/NSpecRunner.exe Tests/bin/Debug/Project-Tests.dll", "Specs failed") | |
end | |
task :default => :demo | |
# This is the important method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QuartzCore | |
enum BezierType { | |
case Default | |
case Linear | |
case EaseIn | |
case EaseOut | |
case EaseInOut |
OlderNewer