- j : ScrollDown
- : ScrollDown
- k : ScrollUp
- : ScrollUp
- h : ScrollLeft
- l : ScrollRight
- : PageDown
- : PageUp
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
$ find . -type f -exec chmod 644 \{\} \; |
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
find *.mp4 -exec ffmpeg -i {} -ss 0 -f image2 -vframes 1 {}.png \; |
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
### | |
set even pixel | |
@use | |
https://github.com/rsms/node-imagemagick | |
@see | |
画像処理についてあれこれ: ImageMagickで、画像の上下左右に余白を追加する | |
http://goo.gl/kVfP9Q |
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
{ | |
"name": "__PROJECT_NAME__", | |
"version": "0.0.0", | |
"dependencies": { | |
"easeljs": "*", | |
"createjs-tweenjs": "*", | |
"createjs-preloadjs": "*", | |
"dat.gui": "*", | |
"greensock": "~1.11.5", | |
"jquery": "~2.1.0", |
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
isS4Browser = ua.indexOf('SC-04E') > -1 and ua.indexOf('Version') > -1 |
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
curl -O 'http://placeimg.com/500/480/tech/[0-4].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
# Grunt v0.4.5で動きます | |
# 日付を作る | |
# build-versionオプションが設定されてなかったら、いまの時間を設定する | |
revision = grunt.option('build-version') or grunt.template.today('yyyy-mm-dd_HH-MM-ss') | |
# アップロードする場所を決める | |
uploadPath = "hogehoge/assets/#{revision}" | |
# ~~~~ 中略 ~~~~~ |