Shammer's Philosophy

My private adversaria

2014-10-01から1ヶ月間の記事一覧

接続先サーバで使用可能なcipherを知りたい--curl_20141029

SSL

接続先サーバで使用可能なcipherを知りたい--curl_20141027 - Shammerismで作成したスクリプト、応答が302とかでHTMLのコンテントがない場合や、何も応答を返さないサーバーがあると誤判定してしまう可能性がある。コンテントがない場合はどうにもならないが…

接続先サーバで使用可能なcipherを知りたい--curl_20141027

SSL

curlのビルド時にどのSSLライブラリを使用するかで使用可能なcipherも変わってくる。そのため、全てのcipherを確認することはできない。あくまでも、確認できるのはクライアントが使用可能なcipherの中で、サーバーも使用可能なものを調べる、というスタンス…

AquaSKK で辞書が保存できなかった理由

Mac

わかってみれば実にシンプルな理由だった。環境設定の辞書で「変更」をクリックしてユーザー辞書を選択すると、file://という形で登録される。このfile://という形式は、「変更」をやった結果なので問題ないと思っていたが、これだとダメなようだ。このfile:…

Install Tomcat7 on Debian wheezy via apt-get

On wheezy, we can install tomcat 7.0.28 via apt-get. apt-get update apt-get install openjdk-7-jdk apt-get install tomcat7 apt-get install tomcat7-admin edit /etc/tomcat7/tomcat-user.xml No system user required. Tomcat seems to check tomcat…

Emacs Font configuration on Debian

Today's article is a Debian version of Emacs Font change - Shammerism. But both Monaco and Osaka font are not installed as default. Some steps are required different from Mac OS X. Install Osaka su - mkdir -p /usr/share/fonts/ttc-osaka cd …

Tomcat configuration

I cannot transfer big data to tomcat. In detail, tomcat seems to stop reading post parameter if it's size is big(I tried more than 50MB text). This is caused by default tomcat config parameter "maxPostSize". Changing this parameter to -1 a…

Emacs Font change

I install Debian in my personal laptop and using Mac OS X in my office. Of course, I install and use Emacs both environment. I selected Inconsolata as my favorite font, but recently I prefer Monaco and Osaka combination. This is a memo of …

Squeeze apt source list

I use Debian Squeeze as my test server default destribution. But, recently, squeeze apt is not good. My /etc/apt/sources.list is like below. + # cat /etc/apt/sources.list # # /etc/apt/sources.list # # # squeeze # deb http://ftp.jp.debian.o…

launchctl command examples

Mac

In Mac OS X, using launchctl instead of init. This is a command of launchctl to use daemon process running on Mac OS X. sudo launchctl list This command lists up all daemon processes. sudo launchctl start $LABEL start $LABEL daemon process…