View init.lua
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 |
View get-apple-event2018oct-logos.sh
#!/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 |
View main.cpp
#include "ofMain.h" | |
#include "ofApp.h" | |
int main(){ | |
ofSetupOpenGL(320, 320, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
View main.cpp
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(320, 320, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
View main.cpp
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(1024, 768, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
View main.cpp
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(320, 320 , OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
View main.cpp
#include "ofMain.h" | |
#include "ofApp.h" | |
int main( ){ | |
ofSetupOpenGL(1024, 768, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
View main.cpp
#include "ofMain.h" | |
#include "ofApp.h" | |
int main() { | |
ofSetupOpenGL(1024, 768, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
View $ php-build 5.4.0 error
$ 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 |