Skip to content

Instantly share code, notes, and snippets.

View okuryu's full-sized avatar

Ryuichi Okumura okuryu

View GitHub Profile
exexiftool -all= -overwrite_original *.JPG
$ git-summary
project: yui3
commits: 17508
files : 4881
authors:
2696 Dav Glass 15.4%
2086 YUI Builder 11.9%
2060 Matt Sweeney 11.8%
1818 Luke Smith 10.4%
@okuryu
okuryu / gist:2421004
Created April 19, 2012 13:33
Grover results on Ubuntu
[www6292uf][/home/okuryu/work/yui3/src]
$ grover -i common/node/batch.js
Starting Grover on 143 files with PhantomJS@1.5.0
✔ [App Framework]: Passed: 255 Failed: 0 Total: 255 (ignored 0)
✔ [ArraySort Test Suite]: Passed: 3 Failed: 0 Total: 3 (ignored 0)
✔ [Y.AsyncQueue]: Passed: 18 Failed: 0 Total: 18 (ignored 0)
✔ [Attribute Unit Tests]: Passed: 142 Failed: 0 Total: 142 (ignored 0)
✔ [Attribute Core Unit Tests]: Passed: 40 Failed: 0 Total: 40 (ignored 0)
✔ [State Unit Tests]: Passed: 9 Failed: 0 Total: 9 (ignored 0)
✔ [Y.AutoComplete]: Passed: 111 Failed: 0 Total: 111 (ignored 0)
@okuryu
okuryu / gist:2413819
Created April 18, 2012 14:05
Setup Ubuntu

Setup Ubuntu

Setting SSH key

Create the pair of your key on your local machine.

$ mkdir -m 700 ~/.ssh
$ ssh-keygen
$ chmod 600 ~/.ssh/id_rsa ~/.ssh/id_rsa.pub
$ cat ~/.ssh/id_rsa.pub
@okuryu
okuryu / v0.6.12.txt
Created March 10, 2012 08:14
Compare npm root on Node v0.6.12/v0.7.5/v0.7.6-pre
$ pwd
/Users/okuryu/work/npm-global
$ node -v
v0.6.12
$ npm -v
1.1.4
$ npm root
/Users/okuryu/work/npm-global/node_modules
$ npm root -g
/usr/local/lib/node_modules
@okuryu
okuryu / gist:1367067
Created November 15, 2011 13:26
YUIConf 2011
[okuryu@okuryu]$ ~/work/yeti/cli.js src/dom/tests/dom.html
Waiting for results.
✖ DOM Test Suite on Firefox (7.0.1) / Windows Vista
20 passed, 1 failed
in DOM
test_position: setXY([100, 200]
Expected: 200 (number)
Actual: 199 (number)
Failures: 1 of 21 tests failed. (2924ms)
[okuryu@okuryu]$ ~/work/yeti/cli.js src/dom/tests/dom.html
Waiting for results.
✖ DOM Test Suite on Firefox (8.0) / Mac OS
20 passed, 1 failed
in DOM
test_position: setXY([100, 200]
Expected: 200 (number)
Actual: 199 (number)
✔ DOM Test Suite on Safari (5.1) / Mac OS
@okuryu
okuryu / yui.coffee
Created March 15, 2011 15:06
YUI x CoffeeScript x Node.js Example
$ node yui.js
info: (yui): Modules missing: io, 1
info: (yui): Fetching loader: /usr/local/lib/node/.npm/yui3-core/3.3.0/package/build/loader/loader-debug.js
info: (get): URL: /usr/local/lib/node/.npm/yui3-core/3.3.0/package/build/loader/loader-debug.js
info: (get): Loaded: /usr/local/lib/node/.npm/yui3-core/3.3.0/package/build/loader/loader-debug.js
info: (yui): Modules missing: oop,parallel,event-custom-base,nodejs-dom,event-base,dom,node-base,dom-style-ie,node-style,queue-promote,datatype-xml,io,io-nodejs, 13
info: (yui): Using Loader
info: (loader): attempting to load oop, /usr/local/lib/node/.npm/yui3-core/3.3.0/package/build/
info: (get): URL: /usr/local/lib/node/.npm/yui3-core/3.3.0/package/build/oop/oop-min.js
info: (get): Loaded: /usr/local/lib/node/.npm/yui3-core/3.3.0/package/build/oop/oop-min.js