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
/** | |
* Code Syntax Highlighter for Objective-C. | |
* Version 0.0.2 | |
* Copyright (C) 2006 Shin, YoungJin. | |
* http://www.jiniya.net/lecture/techbox/test.html | |
* | |
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General | |
* Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) | |
* any later version. | |
* |
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/bash | |
# | |
# This script runs a given command over a range of Git revisions. Note that it | |
# will check past revisions out! Exercise caution if there are important | |
# untracked files in your working tree. | |
# | |
# This came from Gary Bernhardt's dotfiles: | |
# https://github.com/garybernhardt/dotfiles | |
# | |
# Example usage: |
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
function createDuck( name ){ | |
var duck = { | |
fullName: function(){ name + " duck"; } | |
}; | |
return duck; | |
}; |
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
validate = (customer, next)-> | |
console.log 'validating...' | |
#VALIDATE HERE | |
next() | |
insert = (customer, next)-> | |
console.log 'inserting...' | |
# insert into DB (asynchronously of course), and then call... | |
next() |
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
We don't have access to and will not store, or use any of your information or data or stuff for any reason. |
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
require 'fileutils' | |
def run_guard | |
Signal.trap("HUP") { exit } | |
require 'guard' | |
Guard.setup | |
Guard::Dsl.evaluate_guardfile(:guardfile => 'Guardfile') | |
Guard.start | |
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
{ | |
"test":"json" | |
} |
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
+ (void)prepRoutes{ | |
[self handlePostTo:@"/record" with:^{ | |
return [[LPRecordRoute new] autorelease]; | |
}]; | |
[self handlePostTo:@"/play" with:^{ | |
return [[LPAsyncPlaybackRoute new] autorelease]; | |
}]; |
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
for i in pete rosalie jack charlton pam coleman badri sophie elise jess; do gpg --armor --export $i > $i.signed.gpg; done |
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 RUBY_PLATFORM =~ /darwin/ | |
require 'selenium/webdriver' | |
Selenium::WebDriver::PhantomJS.path = File.expand_path( "../../../tools/phantomjs-osx", __FILE__ ) | |
Selenium::WebDriver::Chrome::Service.executable_path = File.expand_path( "../../../tools/chromedriver-osx", __FILE__ ) | |
end |
OlderNewer