tips
stdint.hに定義されているintptr_tまたはuintptr_tを使う.
$ ffmpeg -i _INPUT_FILE_ -vcodec libx264 -vpre default -acodec libfaac -coder 0 -level 13 -threads 2 -flags loop -deblockalpha 2 -qmin 21 -sameq _OUTPUT_FILE_.mp4 入力ファイルはmpegだけど,詳しい形式はメモし忘れたので,後で調べる.
ファイルの数が多い時に「mv * /path/to/destination/dir/」と打つと「Argument list too long」と怒られてしまったりする.そういう時は: find . -maxdepth 1 -name "your_wildcard" -exec mv {} /path/to/destination/dir \; while readと関数で: Example …
gccで使用するオプションのメモ: -Wall -Wextra -Wformat=2 -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wfloat-equal -Wpointer-arith References Warning Options - Using the GNU Compiler Collection (GCC) difference between gcc and vc …
MacPortsでなぜかhelp2manがインストールできなかった.p5-locale-gettextでコケているらしい. 直感だけど原因らしい原因が分からなかったので,p5-locale-gettextをリビルド: $ sudo port -dv uninstall p5-local-gettext $ sudo port -dv install p5-loca…
/usr/sbin/apachectlからできる.詳細はman apachectl(8)に. References man 8 apachectl
AliceとBobが居て,gitで協業しようとしている. Aliceは,$ALICE_WORKING/reposというディレクトリにレポジトリがあり,masterとcur_workingというブランチがあって,cur_workingというブランチで作業中(current working branchとでも言えばいいのかな?)で…