Shammer's Philosophy

My private adversaria

2015-09-01から1ヶ月間の記事一覧

ファイル名一括変換スクリプト

大量ファイル一括編集スクリプト - Shammerismでは、ファイルの中身を一括で書き変えるスクリプトを書いたが、ファイル名を書き変えるスクリプト。 if [ -e targets ];then rm targets; fi ls -l $1 | awk '{print $9}' > targets; while read file do mv $f…

Bash Shell Script my pocket reference - 20150923

Bash Shell Script Collection - 20150512 - ShammerismとBash Shell Script my pocket reference - 20150910 - Shammerismをマージ。 if 文 sample if basic if [ $# -ne 1 ];then echo "Usage: $0 [123]"; exit 1; fi if [ $1 -eq 1 ];then echo "You are …

How to break from loop in Common Lisp?

Description I found the link in Stack Overflow discussed about this. The link is Return from a nested loop in Common Lisp - Stack Overflow. This is an continuous article of 【LISP繰り返し Hack 】do を展開してみる・その2 - Shammerism. This…

Adding subjectAltName in openssl

SSL

I have been looking for the way how to generate CSR included subjectAltName. This is a supplemental article for X509証明書項目-対象者代替名称(subjectAlternativeName) - Shammerism. enable(remove comment character) the line "req_extensions =…

Bash Shell Script my pocket reference - 20150910

Bash Shell Script my pocket reference - 20150221 - Shammerismの内容に、ファイルの存在を確認する方法を追加。 if 文 sample if basic if [ $# -ne 1 ];then echo "Usage: $0 [123]"; exit 1; fi if [ $1 -eq 1 ];then echo "You are number#1."; elif […

Yahoo mail trouble

I use Yahoo Mail, but I couldn't receive emails to my yahoo mail a couple day ago. But, I can send email from this account. Yahoo rejects receiving email for my Yahoo Mail address with following error. Remote host said: 554 delivery error:…

ashでバイナリサーチをする?

Land of Lisp を ClozureCL で - Shammerismで言及したLand of Lispだが、最初のプログラムは数当てゲームだった。1から100の中の任意の数をユーザーが決定し、コンピュータの示した数の方が大きい場合は「より小さく」という主旨のコマンドを、コンピュータ…

Land of Lisp を ClozureCL で

Lispについての本は少ない。見つけても結構古い。20世紀の本もチラホラあるくらいだ。使っていない人からしたら化石と思われていそうなそんな言語だが、オライリーからLand of Lispなる本が出た。 Lispを使う人間としては当然"買い"な本だが、残念なことに(?…