config mysql character encoding 서버의 기본 encoding type 을 설정 config file: /etc/my.cnf [mysqld] character-set-server=utf8 config file: /etc/my.ini [mysqld] default-character-set=utf8 CHECK server variables mysql> show variables like 'c%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_conne.. 더보기 git hooks 1. hooks post-commit for source backup #!/bin/sh # post-commit for git hook if [ "$REV_BACKUP_DIR" = "" ]; then REV_BACKUP_DIR=${HOME}/backup fi _LOG_FILE=$REV_BACKUP_DIR/.${PWD##*/}.log echo CHANGE DATE : $(date +%Y/%m/%d_%H:%M:%S) >> $_LOG_FILE git diff --stat HEAD^ >> $_LOG_FILE echo >> $_LOG_FILE 2. hooks post-receive (or post-commit) for trac #!/bin/sh TRAC="/trac/trac-project" trac-admin $.. 더보기 git tips 1. change file list in git-snapshot git diff HEAD --name-only [target] 2. download old revision source in git-snapshot git reset other tips: revert git repo, hooks . 더보기 이전 1 2 3 4 5 6 7 8 ··· 45 다음