- log : save log automatically with timestamp
- font : ricty 9pt
- backgroupd : dark-gray
- connection list: 5(default) to 100
- ツール > 詳細プリファレンスエディタ
- org.poderosa.usability.mru.limitCount: 5 -> 100
| [dropbox] | |
| name=Dropbox Repository | |
| baseurl=http://linux.dropbox.com/fedora/\$releasever/ | |
| gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc | |
| enabled=1 |
| □ # cp -pi /etc/sysconfig/network-scripts/route-eth0 /backup/dir | |
| □ # vi /etc/sysconfig/network-scripts/route-eth0 | |
| ファイル末尾に下記を追加 | |
| ---------------------- | |
| 224.0.1.105/32 dev eth0 | |
| ---------------------- | |
| □ # diff /etc/sysconfig/network-scripts/route-eth0 /backup/dir | |
| -------------- |
| function update_crm_attribute() { | |
| local NAME=$1 | |
| local NEW_VALUE=$2 | |
| local CMD="/usr/sbin/crm_attribute" | |
| local NODE=`uname -n` | |
| local OLD_VALUE=`timeout -s 2 2 ${CMD} --type nodes --node "${NODE}" --name "${NAME}" --query -q` | |
| if [ $? -eq 0 ]; then | |
| if [ "${OLD_VALUE}" != "${NEW_VALUE}" ]; then | |
| timeout -s 2 2 ${CMD} --type nodes --node "${NODE}" --name "${NAME}" --update "${NEW_VALUE}" |
| ## プロジェクト毎に認証鍵を管理することができるらしい | |
| http://komeda-shinji.blogspot.jp/2015/02/rundeck_6.html |
| dd if=/dev/zero of=ディスク・デバイス bs=512 count=1 |
| $ sudo yum install postgresql-server | |
| $ sudo /etc/init.d/postgresql initdb | |
| $ sudo /etc/init.d/postgresql start | |
| $ sudo chkconfig postgresql on | |
| # vi /var/lib/pgsql/data/pg_hba.conf | |
| -- | |
| host all all 127.0.0.1/32 trust | |
| -- |
| ## ユーザ一覧 | |
| postgres=# \du | |
| List of roles | |
| Role name | Attributes | Member of | |
| -----------+-------------+----------- | |
| postgres | Superuser | {} | |
| : Create role | |
| : Create DB | |
| test | Superuser | {} | |
| : Create role |
| $ /usr/contrib/bin/machinfo |
| alias ls='ls --show-control-chars' | |
| alias ll='ls -al' | |
| alias rm='rm -i' | |
| alias mv='mv -i' | |
| if [ -f ~/.git-completion.bash ]; then | |
| source ~/.git-completion.bash | |
| fi | |
| if [ -f ~/.git-prompt.sh ]; then |