2009-01-01から1年間の記事一覧

How to profile tomcat in Eclipse

purpose profile servlet on tomcat prerequire WTP http://d.hatena.ne.jp/sppr/20090923/1253684980 TPTP http://d.hatena.ne.jp/sppr/20090922/1253635645 install Menu: Help > Install New Software Work with: Galileo TPTP Profiling for Web applica…

How to install HTML Editor in Eclipse for writing html,css

install Menu: Help > Install New Software Work with: Galileo Web Page Editor

How to install WTP in Eclipse for tomcat

purpose create webapp project start/stop tomcat debug servlet and jsp in webapp project install Menu: Help > Install New Software Work with: Galileo Eclipse Java EE Developer Tools JST Server Adapers JST Server Adapers JST Server UI JST We…

How to install TPTP in Eclipse for profiling

purpose profiling when JUNIT method is executed install TPTP Menu: Help > Install New Software Work with: Galileo TPTP Platform Project TPTP Tracing and Profiling Tools Project install Agent Controller http://dev.eclipse.org/viewcvs/index.…

Ubuntu 9.04 でキーボードのキーをカスタマイズ|How to change a keyboard key to other key

右シフトキーをバックスラッシュ/バー キーに変更する|set right shift key as backslach/bar key ~/.Xmodmap ファイルを作成|create ~/.Xmodmap ! set right shift key as backslash/bar key keycode 62 = backslash bar 再ログインすると設定ダイアログが…

Ubuntu 9.04 にメイリオ フォントを設定する|How to set Meiryo Fonts in Ubuntu 9.04

メイリオ フォントファイルを ~/.fonts ディレクトリに配置する|put Meiryo font files in ~/.fonts directory ls ~/.fonts/ .fonts/meiryob.ttc .fonts/meiryoKeGothic.ttc .fonts/meiryoKeGothicB.ttc .fonts/meiryo.ttc フォントキャッシュの再構築|rebui…

md raid hddのセットを別のPCへ取り付ける | how to attach md raid1 hdds to the other pc or server

PCへ取り付ける md raid1 の hdd のセットは /dev/sdb, /dev/sdc とする|attaching hdds are supposed to /dev/sdb and /dev/sdc raid hdd の 確認 | confirm raid hdds status sudo mdadm --examine --scan /dev/sdb /dev/sdc ARRAY /dev/md0 level=raid1 n…

bashプロンプトに色を付ける|set color of prompt

プロンプトを緑色に設定する|set color of prompt to green GREEN="0;32" START_COLOR="\e[${GREEN}m" END_COLOR="\e[0m" export PS1="${START_COLOR}[\u@\h \W]\$${END_COLOR} " 色を変えたい部分を ${START_COLOR} と ${END_COLOR} で囲む|change color be…

Perlの始め方|How to start to learn perl

man perlintro

bashの履歴を複数端末で共有する|How to share bash history in multiple terminals

~/.bashrc に以下を設定|add follow settings in ~/.bashrc # Make bash append rather than overwrite the history on disk shopt -s histappend # Whenever displaying the prompt, write the previous line to disk and read unread history lines export…

1日毎に交互に2つ処理を実行する|do two commands day by day

現在日時を1970年からの日数に変換し、その数が偶数、奇数で処理を振り分ける|calculate days from 1970. when the days is even, do one command and when the days is odd, do another command. #!/bin/sh set -u A=`date +%s` echo $A is seconds from 19…