レビューはレポジトリに足していくことにしました。他のレビューは、そちらを参照ください。
このリストを上から見ていって、興味深いものに対するメモを残す。
| <!DOCTYPE html> | |
| <html lang="ja"> | |
| <head> | |
| <title>File API</title> | |
| <meta charset="UTF-8"> | |
| </head> | |
| <body> | |
| <h1>File API</h1> | |
| <div id="result">使用できない</div> | |
| <script> |
| # 元の動画をトリミング | |
| ffmpeg -i DSC_3872.avi -vcodec copy -acodec copy -ss '00:00:04.33' -t '00:00:05.48' trim01.avi | |
| # 横幅500px(tumblrの上限)にリサイズしつつ animated gif に変換 | |
| convert -resize 500 trim01.avi trim01.gif | |
| # 明るさ・コントラストをいじりつつ63色に減色(クロップ処理後に1MBに収まるように色数調整) | |
| convert -brightness-contrast 40x40 -colors 63 trim01.gif trim01-v3.gif | |
| # 横3x縦2にクロップする(画像同士の間隔は10px) | |
| convert -crop 160x135+0+0 +repage trim01-v3.gif trim01-v3-1.gif | |
| convert -crop 160x135+170+0 +repage trim01-v3.gif trim01-v3-2.gif | |
| convert -crop 160x135+340+0 +repage trim01-v3.gif trim01-v3-3.gif |
| Compile the Redis "notifications" branch on Github. | |
| Start Redis with ./redis-server --notify-keyspace-events yes | |
| Subscribe to all the events with: | |
| redis-cli psubscribe '*' | |
| In another terminal window, play with redis-cli: set, del, expire, ... Only a few already work. |