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
"----" | |
"0/488" | |
"start processing: ../@assets/frames/frame-0000.png" | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1596 100 1596 0 0 16588 0 --:--:-- --:--:-- --:--:-- 24553 | |
3171 1596 3171 50622 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k 16734 1596 16734 260k 0 0 263k 0 --:--:-- --:--:-- --:--:-- 380k | |
"start saving: jewlery-mica-table-blog-design.jpg" | |
"saved as: frame-0000.jpg" | |
"----" |
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 python | |
''' | |
DEPENDENCIES: | |
$ brew install ffmpeg | |
$ brew install imagemagick | |
$ python ./mov2gif.py input.mov output.gif 15 | |
''' | |
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 "ofxCsv.h" | |
using namespace wng; | |
ofxCsv csv; | |
void ofApp::setup() | |
{ | |
ofSetFrameRate(60); | |
ofSetVerticalSync(true); | |
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
// https://github.com/discordj/QCanonCamera/blob/master/qcanoncamera.cpp | |
#include "dcrimage.h" | |
#include "qcanoncamera.h" | |
EdsError EDSCALLBACK handleObjectEvent( EdsObjectEvent event, | |
EdsBaseRef object, | |
EdsVoid * context) | |
{ |
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
=begin | |
[usage] | |
1. download this file to your desktop | |
2. open your Terminal.app | |
$ sudo gem install oauth | |
$ sudo gem install json | |
$ cd ~/Desktop | |
$ ruby hackpad.rb |
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
console.log("・゜・*:.。..:*・'。. .。.:*・゜・*Basic・゜・*:.。..:*・'。. .。.:*・゜・*"); | |
// f - function | |
// xs - array | |
function map(f, xs) | |
{ | |
var result = []; | |
for (var i=0; i<xs.length; i++) | |
{ |
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
{ | |
"patcher" : { | |
"fileversion" : 1, | |
"appversion" : { | |
"major" : 6, | |
"minor" : 1, | |
"revision" : 0, | |
"architecture" : "x86" | |
} | |
, |
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
# ... | |
- スクリーンセーバー解除 | |
- スリープ解除(ハードディスクも) | |
- AppNap解除 | |
- ... |
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
cmd << " -acodec pcm_s16le -f s16le -ar " << sampleRate << " -ac " << audioChannels << " -i " << audioPipePath; | |
// !!!: | |
cmd << " -acodec aac -strict -2 -f mp4 -ar 44100 -vtag mp4v " << sampleRate << " -ac " << audioChannels << " -i " << audioPipePath; |
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/ruby | |
dir_addons = File.expand_path("../addons") | |
module PatchingMode | |
CREATE = 1 | |
APPLY = 2 | |
end | |
def patch(patching_mode, path_to_addons_dir, ofxaddon) |