月曜日, 8月 15, 2011

WEB+DB PRESS Vol.50



知っていたことも含めて参考になった箇所だけメモ

◯はじめてのGit
git init
git add index.html
git add .
git commit -m "comment"
git diff
git diff HEAD
gid add -u
git commit
git status
.gitignore
git commit -a
git log
git log -2 -p --pretty=short
gitk
git add -p
git diff --cached
git commit -v
git add -A
git commit
git show
git reset
git commit --amend
git rm
git mv
git log --pretty=short
git log --pretty=short --grep=
git blame
git revert
git checkout
git reset HEAD^
git reset --hard HEAD^
git rebase -i
git --bare init
git push
git clone
git pull
git checkout -b
git branch
git checkout
git branch
git merge
git stash
git stash pop

◯Unix/Linux開発環境
tail -f filename
head -n 50|tail -n 10
tee filename
make 2>&1 | tee make.log
grep -i error | grep -iv 'timeout error'
grep -io '[^ ]* error' | sort | uniq -c | sort -rn | head
grep -A N pattern
grep -B N pattern
grep -C N pattern
grep -i pattern
find -i
find . -name '*~' -or -name '*.bak' -exec rm '{}' ';'
find . -name '*~' -or -name '*.bak' -print0 | xargs -0 rm
ps -C name
pidstat -p pid
lsof -p pid
lsof filename
fuser filename
fuser -n tcp port
fuser -n udp port


◯その他
http://gihyo.jp/event/2008/24svr-tech-meeting/

追記:
運用サービスです
是非ご利用下さい
大容量ファイル保管サービス ファイリー