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 'octokit' | |
# !!! DO NOT EVER USE HARD-CODED VALUES IN A REAL APP !!! | |
login = ENV['GH_LOGIN'] | |
password = ENV['GH_LOGIN_PASSWORD'] | |
repo = "gjtorikian/crud-test" | |
client = Octokit::Client.new(:login => login, :password => password) | |
# grab the current master branch |
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
brew install fontforge | |
ln -s /opt/X11/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.6.dylib | |
brew tap sampsyo/py | |
brew install PyYAML | |
pip -q install pystache argparse |
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
#!/usr/bin/env ruby | |
require 'octokit' | |
# !!! DO NOT EVER USE HARD-CODED VALUES IN A REAL APP !!! | |
login = ENV['GH_LOGIN'] | |
password = ENV['GH_LOGIN_PASSWORD'] | |
repo = "gjtorikian/crud-test" | |
master = client.ref(repo, "heads/master") | |
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
main( ) { | |
extrn a, b, c; | |
putchar(a); putchar(b); putchar(c); putchar('!*n'); | |
} | |
a 'hell'; | |
b 'o, w'; | |
c 'orld'; |
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
dock.addDockable({ | |
expanded : -1, | |
width : 300, | |
sections : [ | |
{ | |
width : 260, | |
height: 350, | |
buttons : [ | |
{ | |
caption: "My Dock Button", |
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
var fs = require("fs"), | |
async = require("async"); | |
var q = async.queue(function (task, callback) { | |
if (task.type == "file") | |
fs.readFile(task.path, "utf8", callback); | |
}, 250); | |
dirFiles.forEach(function(path) { | |
q.push({type: "file", path: path}, function (err, fileString) { |
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 exp && ext_define?(exp) | |
make_class(to_value(exp["arguments"][0]), exp) | |
# foo = Ext.extend("Parent", {}) | |
elsif exp && assignment?(exp) && ext_extend?(exp["right"]) | |
make_class(to_s(exp["left"]), exp["right"]) | |
# Foo = ... | |
elsif exp && assignment?(exp) && class_name?(to_s(exp["left"])) |
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
//#ifdef __DEBUG | |
if (apf.started) | |
apf.console.info("including js file: " + sourceFile); | |
//#endif | |
var sSrc = doBase ? apf.getAbsolutePath(apf.basePath || "", sourceFile) : sourceFile; | |
var head = document.getElementsByTagName("head")[0],//$("head")[0] | |
elScript = document.createElement("script"); | |
//elScript.defer = true; | |
if (type) |
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
{ type: 'Line', value: '$("head")[0]', range: [ 49981, 49995 ] }, | |
{ type: 'Line', | |
value: 'elScript.defer = true;', | |
range: [ 50061, 50085 ] }, | |
{ type: 'Block', | |
value: '*\n * @private\n ', | |
range: [ 50757, 50784 ] }, | |
{ type: 'Line', | |
value: '#ifdef __PARSER_AML', | |
range: [ 52591, 52612 ] }, |
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
{ | |
"range": [ | |
49981, | |
49995 | |
], | |
"value": "$(\"head\")[0]", | |
"type": "Line" | |
}, | |
{ | |
"range": [ |