2007-04-07から1日間の記事一覧

トリガーを全部無効化するPL/SQL

declare s dba_triggers.trigger_name%type; cursor c is select trigger_name from dba_triggers where table_name='&tablename'; begin open c; loop fetch c into s; exit when c%notfound; dbms_output.put_line(s); execute immediate 'alter trigger '…

Linux とは何か

http://www.shoeisha.com/book/hp/pc/book/hsl/linus.html Linus Torvaldsが語るLinux Linus Torvalds氏来日講演録より -- 日時:1995年12月4日 会場:京都大学

PC UNIXの起動と起動ファイルの解読

あとでよむ http://www15.big.or.jp/~yamamori/sun/boot/

Lisp/CGI Programming Experiments

clisp で CGI プログラミング http://cybertiggyr.com/gene/lisp-cgi/ clisp で UTF-8 を使うには clisp -E UTF-8http://sh1.2-d.jp/b/lisp/2005-09-23-03-37.html

簡易 rlwrap もどき

rlwrap や enhance もどきのシェルスクリプト。 readwrap #!/bin/bash HISTORY=history history -n $HISTORY while read -e i; do echo "$i" >> $HISTORY echo "$i" history -n $HISTORY done使い方: $ readwrap | gosh -igosh は標準入力が端末であるかを…

ハードディスクについて

今までハードウェアにはまったく興味がなかった。しかし、Write Great Code の帯ではないが、効率のよいコードを書いたりシステムをチューニングするにはハードウェアについても勉強しなければならないと感じる今日この頃。 ファイルシステムのレイアウトを …

シングルユーザーモードでキーボードを日本語配列にする

mount /usr # または mount -a sh /etc/rc.d/syscons startsyscons の中で /usr/sbin/kbdcontrol -l /usr/share/syscons/keymaps/配列設定ファイルを呼び出している。 kbdcontrol と配列設定ファイルはルートファイルシステムにコピーしておくことにしよう。…