2008-05-01から1ヶ月間の記事一覧
http://www.techscore.com/tech/Others/Hibernate/02-2.html
http://jdbc.postgresql.org/download.html
Windowsでのログインコマンド psql.exe -h localhost -p 5432 postgres "postgres"
外部からの接続情報を記述 pg_hba.conf
http://winofsql.jp/VA003334/install061202151924.htm ※cygwin関連でエラーとなることがある?!
※注意点(jquery.jsを先に記述すること。) <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.corner.js"></script> http://labs.unoh.net/2007/05/jquery-and-plugins.html
# Enforcingモード echo 1 >/selinux/enforce# Permissive モード echo 0 >/selinux/enforce http://pocketstudio.jp/linux/?FC4%2FSELinux%2F%C6%B0%BA%EE%A5%E2%A1%BC%A5%C9%B3%CE%C7%A7%A1%A6%CA%D1%B9%B9%A4%C8%B5%AF%C6%B0%BB%FE%A4%CE%C0%DF%C4%EA
# ls -Z # -rwxrwxr-- apache apache system_u:object_r:httpd_sys_content_t hoge.html SELinuxの設定確認 getenforce http://hackmylife.net/2007/03/post-104.html
C:\Users\${ユーザ}\AppData\Roaming\Microsoft\Windows
C:\Windows\System32\drivers\etc\hosts ※管理者権限でないと編集不可。(メモ帳⇒右クリック⇒管理者として開く)
C:\Users\${ユーザー}\AppData\Roaming\Microsoft\Windows\SendTo http://d.hatena.ne.jp/Yamaki/20061004/1159924333
コマンド(#は補足) yum install subversion mkdir -p /var/svn/repos/sample svnadmin create sample svn mkdir file:///var/svn/repos/sample/trunk -m "create" svn mkdir file:///var/svn/repos/sample/branches -m "create" svn mkdir file:///var/svn…
<meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> http://www.tagindex.com/html_tag/page/meta_06.html</meta></meta>
http://www.vector.co.jp/soft/win95/util/se072729.html
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>clueTip</title></meta></head></html>
<a name="hoge"></a> http://www.tagindex.com/html_tag/link/
http://www.pst.co.jp/Powersoft/html/htmlChar.htm
・URLパラメータは少ない方がよい。 URパラメータをmod_rewriteで変更すれば効果が上がる? <例>index_name_mike_age_25 ⇒ index.html?name=mike&age=25 ・ファイルで終わるより、ディレクトリの方が効果が上がる? <例>hoge/index.html ⇒ hoge/ いろん…
htpasswd -c /var/httpd/.htpasswd user パスワードファイルを作成する場合、-cオプションを付与。 AllowOverride AuthConfig AuthUserFile /etc/httpd/conf/.htpasswd AuthName MEMBERS AuthType Basic require user XXXX
ローカル⇒リモート scp $LOCAL_PATH user@host:$REMOTE_PATHリモート⇒ローカル scp user@host:$REMOTE_PATH $LOCAL_PATH ディレクトリ再帰的にコピーする場合は-rオプションを付与。
DATE型のデータから検索日付指定(開始日〜終了日)で検索する場合。"9999/12/31"より以前のデータを取得する場合は注意。"9999/12/31" + 一日より小さいデータを取得すればよいが、普通に一日足すと当然だけどオラクルエラーとなる。http://d.hatena.ne.jp/…
mod_rewriteの[PT] いまいち理解出来ていないが、ReriteRuleのオプションに付けといた方が無難。 注意:URL-to-filename 変換を含む異なったモジュールの ディレクティブを混用したい場合には、このフラグを指定する必要が あります。典型的な例としては、mo…
=IF($BXX="","",COUNTA($B$XX:$BYY)) ※どうでもいいけどメモ。表例 A列B列 1あああ -- 2ううう
http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=32037&forum=12&22
langはあってもなくても・・・。 http://kurageya.fc2web.com/web/tag/zlang.html
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> ※文字化け防止 http://www.htmq.com/html/meta.shtml
"1"を"001"に変換する。 DecimalFormat formatter = new DecimalFormat("000"); String str = formatter.format(1);
String unicodeStr = new String (requestStr.getBytes("ISO8859_1"), "Windows-31J"); http://www.cresc.co.jp/tech/java/Servlet_Tutorial/Lesson_26.htm
環境依存の値を渡す場合など。 filePath /filePath http://park15.wakwak.com/~unixlife/java/tomcat-webxml.html
※web.xml(別になくてもよいと思う) encodingFilter SetCharacterEncodingFilter encoding Windows-31J encodingFilter /*