- Tatsuhiro Ujihisa
- http://ujihisa.blogspot.com/
- 非同期とは?
- スレッド、プロセス
- プロセス生成
#!/bin/sh | |
set -e | |
# テストのためのディレクトリ作る | |
[ -d test ] && rm -rf test | |
mkdir test && cd test | |
# nonbare-repo作る | |
setup_nonbare_repo() { |
サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
Migrating to OS X Mavericks breaks the ngrep utility. Doing:
sudo ngrep -d lo0 -q -W byline port 8080
stopped working where the process exits immediately. I didn't dig into the ngrep code, but was able to find a simple workaround by doing
sudo ngrep -q -W byline -d lo0 '' 'port 8080'
You can call that a lazy hack, but it work!
var ffmpeg = require('ffmpeg.js/ffmpeg-mp4.js') | |
document.querySelector('button').addEventListener('click', (evt) => { | |
document.querySelector('[camera]').setAttribute('animation', { | |
property: 'rotation', | |
to: '0 360 0', | |
dur: 10000, | |
easing: 'linear' | |
}) |