This file contains hidden or 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
# GitHub.tmbundle/Support/lib/gist.rb | |
# Modify def auth to use TM_GIT path | |
def auth | |
user = `$TM_GIT config --global github.user`.strip | |
token = `$TM_GIT config --global github.token`.strip | |
print user | |
user.empty? ? {} : { 'login' => user, 'token' => token } | |
end |
This file contains hidden or 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
/* Processing code to display a grid overlay for help with layout */ | |
Boolean doGrid = true; // enable or disable measurement grid | |
int divFactor = 25; // set square size of measurement grid | |
// display measurements grid if doGrid is true | |
if (doGrid == true) { | |
stroke(#3C4F50); | |
strokeWeight(1); | |
int vLines = width / divFactor; |
This file contains hidden or 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
/* May 1 2010 | |
Processing code to read delimited data from a file and load columns | |
into arrays. | |
*/ | |
BufferedReader reader; | |
String[] lines, row; | |
int i, j, sumColumn; | |
String[][] data = new String[7][32]; // adjust to array size |
NewerOlder