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
class AppDelegate | |
def init | |
cookieStorage = NSHTTPCookieStorage.sharedHTTPCookieStorage | |
cookieStorage.cookieAcceptPolicy = NSHTTPCookieAcceptPolicyAlways | |
CDVURLProtocol.registerURLProtocol | |
super | |
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
$:.unshift("/Library/RubyMotion/lib") | |
require 'motion/project' | |
Motion::Project::App.setup do |app| | |
# Use `rake config' to see complete project settings. | |
app.name = 'MyJavaScriptApp' | |
app.version = '1.0' | |
# My setup is a bit different, as Im building for many environements and the | |
# main app is written in JavaScript. |
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
from ruby import Linter | |
CONFIG = { | |
'language': 'RubyMotion', | |
'executable': '/Library/RubyMotion/bin/ruby', | |
'lint_args': '-wc' | |
} |
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
# Homebrew Formula for PHP 5.4.3 as php-cgi (for nginx, etc.) | |
require 'formula' | |
class PhpCgi <Formula | |
@url='http://www.php.net/get/php-5.4.3.tar.gz/from/a/mirror' | |
@version='5.2.17' | |
@homepage='http://php.net/' | |
@md5='c9dccc89cc89d39e84f6e6f0cf1c8a65' |
NewerOlder