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
find ~ -name \*.sublime-build |
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
python -m SimpleHTTPServer |
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
#include "testApp.h" | |
//-------------------------------------------------------------- | |
void testApp::setup(){ | |
//------------------------------------------------------ 3D | |
cam.rotate(-90, ofVec3f(1,0,0)); | |
// cam.setTarget(cam_target); | |
// cam.setDistance(ofGetHeight()); |
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
window.setGlutDisplayString("rgba double samples>=4 depth"); |
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
Show hidden characters
{ | |
"cmd": ["xcodebuild"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${project_path:${folder}}", | |
"selector": "source.c, source.c++", | |
"variants": | |
[ | |
{ | |
"name": "Run", |
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
vector<Particle*>::iterator it = group.begin(); | |
while( it != group.end() ) { | |
it++; | |
} |
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
../../../addons/ofxOsc/libs | |
../../../addons/ofxOsc/libs/oscpack | |
../../../addons/ofxOsc/libs/oscpack/src | |
../../../addons/ofxOsc/libs/oscpack/src/ip | |
../../../addons/ofxOsc/libs/oscpack/src/ip/posix | |
../../../addons/ofxOsc/libs/oscpack/src/ip/win32 | |
../../../addons/ofxOsc/libs/oscpack/src/osc | |
../../../addons/ofxOsc/src |
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
[notice] user lost | |
[notice] user lost | |
[notice] user new | |
[notice] Created character with id: 6 | |
[notice] B-REL | |
[Finished in 425.0s] |
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
==> Caveats | |
To have launchd start redis at login: | |
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents | |
Then to load redis now: | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
Or, if you don't want/need launchctl, you can just run: | |
redis-server /usr/local/etc/redis.conf |
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
var request = require('request') | |
, path = require('path') | |
, fs = require('fs') | |
, url = "https://api.github.com/users/thomastraum/gists" | |
, savepath = './gists'; | |
request(url, function (error, response, body) { | |
if (!error && response.statusCode == 200) { |