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
local function enableHotkeys(hotkeys) | |
for k, v in pairs(hotkeys) do | |
v:enable() | |
end | |
end | |
local function disableHotkeys(hotkeys) | |
for k, v in pairs(hotkeys) do | |
v:disable() | |
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
#!/bin/sh | |
urls=$(curl -s https://www.apple.com/v/apple-events/home/a/built/styles/overview.built.css | grep -Eo 'background[^)]+)' | grep hero_image_ | grep large_2x | grep -v past | sed -E 's/^.+"([^"]+)".+$/\1/' | sort | uniq) | |
for url in $urls | |
do | |
curl -O https://www.apple.com/$url | |
done |
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
#include "ofMain.h" | |
#include "ofApp.h" | |
int main(){ | |
ofSetupOpenGL(320, 320, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
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
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(320, 320, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
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
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(1024, 768, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
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
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(320, 320 , OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
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
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(1024, 768, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
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
#include "ofMain.h" | |
#include "ofApp.h" | |
int main() { | |
ofSetupOpenGL(1024, 768, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
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
$ sudo php-build 5.4.5 ~/.phpenv/versions/5.4.5 | |
[Info]: Loaded apc Plugin. | |
[Info]: Loaded pyrus Plugin. | |
[Info]: Loaded xdebug Plugin. | |
[Info]: Loaded xhprof Plugin. | |
[Info]: php.ini-production gets used as php.ini | |
[Info]: Building 5.4.5 into /Users/s_urabe/.phpenv/versions/5.4.5 | |
[Skipping]: Already downloaded and extracted http://www.php.net/distributions/php-5.4.5.tar.bz2 | |
[Preparing]: /var/tmp/php-build/source/5.4.5 | |
[Compiling]: /var/tmp/php-build/source/5.4.5 |