Glide is the easiest way to create useful slide for all of your Gists.
- input key
<-
to go backward. - input key
->
to go forward.
{ | |
"name": "__PROJECT_NAME__", | |
"version": "0.0.0", | |
"dependencies": { | |
"easeljs": "*", | |
"createjs-tweenjs": "*", | |
"createjs-preloadjs": "*", | |
"dat.gui": "*", | |
"greensock": "~1.11.5", | |
"jquery": "~2.1.0", |
### | |
set even pixel | |
@use | |
https://github.com/rsms/node-imagemagick | |
@see | |
画像処理についてあれこれ: ImageMagickで、画像の上下左右に余白を追加する | |
http://goo.gl/kVfP9Q |
find *.mp4 -exec ffmpeg -i {} -ss 0 -f image2 -vframes 1 {}.png \; |
$ find . -type f -exec chmod 644 \{\} \; |
HOST_NAME = do -> | |
os = require('os') | |
interfaces = do os.networkInterfaces | |
checkLocal = (address)-> | |
return address.family is 'IPv4' and not address.internal | |
# en0を優先 | |
if _.has(interfaces, 'en0') | |
for address in interfaces['en0'] | |
if checkLocal(address) | |
return address.address |
# jade | |
identify -format "src='img(%f', width=%w, height=%h, alt='')\n" *.(png|jpg|gif) | |
# coffee | |
identify -format "%f: width: %w, height: %h\n" *.(png|jpg|gif) |
//↓うまくいかない | |
//*:not(input,textarea) | |
// +user-select(none) | |
* | |
+user-select(none) | |
input, textarea | |
+user-select(auto !important) |
@import "compass/css3/box" | |
#loading | |
width: 100% | |
height: 100% | |
+display-box | |
+box-pack(center) | |
+box-align(center) |