- 1.5oz dark rum
- 1oz triple sec
- 0.5oz lime juice
- 1.5oz orange juice
- 2oz Rum
- 1/2 or 1oz Lime juice (usually about one lime's worth of juice)
- 1 tsp. simple syrup, add more to taste.
| /* It would be fantastic if we had a way to iterate through arguments or escape to JS? | |
| From This */ | |
| @CSS3: box-shadow, transform, border-radius; | |
| .transition-property(@CSS3); | |
| /* Or This */ | |
| .transition-property(box-shadow, transform, border-radius); | |
| /* To This */ |
| // | |
| // Automatically calls all functions in APP.init | |
| // | |
| jQuery(document).ready(function() { | |
| APP.go(); | |
| }); | |
| // | |
| // Module pattern: | |
| // http://yuiblog.com/blog/2007/06/12/module-pattern/ |
| -(id)initWithFrame:(CGRect)frame { | |
| if ((self = [super initWithFrame:frame])) { | |
| CGSize winSize; | |
| NSAutoreleasePool *pool; | |
| UIImage *dImg, *cImg; | |
| pool = [NSAutoreleasePool new]; | |
| winSize = [[CCDirector sharedDirector] winSize]; | |
| _cView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)] autorelease]; | |
| _bg = [[[UIImageView alloc] initWithFrame:CGRectZero] autorelease]; |
| DIRECTORY="/usr/local/etc/openssl/certs" | |
| download_cert() { | |
| cd $DIRECTORY && wget http://curl.haxx.se/ca/cacert.pem | |
| } | |
| add_to_zsh() { | |
| echo "export SSL_CERT_FILE=$DIRECTORY/cacert.pem" >> ~/.zshrc | |
| } |
| #For use with automator and sox | |
| process () { | |
| /usr/local/bin/sox "$1" "$1:r.wav" | |
| } | |
| for x; do | |
| if [ -d $x ]; then | |
| FILES=($x/*.(aif|mp3|ogg|m4a|flac)) | |
| for file in $FILES; do | |
| process $file |
| platform :ios, '7.1' | |
| pod 'cocos2d-iphone', path: '~/local-cocos2d-repository-with-podspec/' |
| import Foundation | |
| public struct Duration { | |
| private var _nanos: UInt64 | |
| public var nanoseconds: Double { | |
| get { | |
| return Double(_nanos) | |
| } | |
| } |