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
web: python manage.py run_gunicorn -b 0.0.0.0:$PORT -w 3 | |
worker: python manage.py celeryd -E -B --loglevel=INFO |
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
platform :ios | |
dependency 'RestKit/Network', '0.9.3' | |
dependency 'RestKit/ObjectMapping', '0.9.3' | |
dependency 'RestKit/ObjectMapping/CoreData', '0.9.3' | |
dependency 'RestKit/ObjectMapping/JSONKit', '0.9.3' |
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
platform :ios | |
dependency 'RestKit/Network', '0.9.3' | |
dependency 'RestKit/ObjectMapping', '0.9.3' | |
dependency 'RestKit/ObjectMapping/CoreData', '0.9.3' | |
dependency 'RestKit/ObjectMapping/JSONKit', '0.9.3' |
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 | |
# | |
# Build a virtual environment suitable for running appengine. | |
# This uses virtualenvwrapper to make the virtual environment. | |
# Which you can activate with 'workon appengine' | |
# | |
# Everyone loves one-liners! | |
# Mac one-liner: | |
# $ curl -s https://raw.github.com/gist/3021613 | bash | |
# |
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 | |
set -e | |
BUILD_NUMBER=$1 | |
die () { | |
echo >&2 "$@" |
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
def android_login | |
token = params['token'] | |
uri = URI.parse("https://www.googleapis.com") | |
http = Net::HTTP.new(uri.host, uri.port) | |
http.use_ssl = true | |
http.verify_mode = OpenSSL::SSL::VERIFY_NONE | |
path = "/oauth2/v1/tokeninfo?access_token=#{token}" | |
resp = http.get(path) | |
data = JSON.parse(resp.body) | |
if resp.code == "200" && user = User.find_or_create_by_email(data['email']) |
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 "dependencies/version" | |
require 'set' | |
module Dependencies | |
class Dependencies | |
def initialize | |
@graph = Hash.new([]) | |
end | |
def add_direct(dependent, dependencies) |
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
diff --git a/Classes/Core/KWFailure.m b/Classes/Core/KWFailure.m | |
index 2ffb147..4bbea8f 100644 | |
--- a/Classes/Core/KWFailure.m | |
+++ b/Classes/Core/KWFailure.m | |
@@ -46,8 +46,10 @@ | |
NSDictionary *userInfo = nil; | |
if (self.callSite) { | |
NSNumber *lineNumber = @(self.callSite.lineNumber); | |
- userInfo = @{SenTestFilenameKey: self.callSite.filename, | |
- SenTestLineNumberKey: lineNumber}; |
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
diff --git a/Classes/Core/KWSpec.m b/Classes/Core/KWSpec.m | |
index e8cee22..c133531 100644 | |
--- a/Classes/Core/KWSpec.m | |
+++ b/Classes/Core/KWSpec.m | |
@@ -5,17 +5,16 @@ | |
// | |
#import "KWSpec.h" | |
-#import <objc/runtime.h> | |
-#import <objc/message.h> |
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
> gem install cocoapods --no-ri --no-rdoc --user-install | |
WARNING: You don't have /Users/bgesiak/.gem/ruby/2.0.0/bin in your PATH, | |
gem executables will not run. | |
Successfully installed i18n-0.6.5 | |
Successfully installed multi_json-1.8.0 | |
Successfully installed activesupport-3.2.14 | |
Successfully installed nap-0.5.1 | |
Building native extensions. This could take a while... | |
ERROR: Error installing cocoapods: |
OlderNewer