マニアックな設定
| URL を書くところに about:config と打って Enter すると、マニアックな設定ができる。
| URL を書くところに about:config と打って Enter すると、マニアックな設定ができる。
uncompface => Cygwin から入手 icontopbm => http://netpbm.sourceforge.net/ から入手 pbmtoxbm => 同上
パーミッションが 644 のファイルを検索 % find . -type f -perm 644 group と other に write 属性が付いているディレクトリを検索 % find . -type d ( -perm -g+w -o -perm -o+w )
|% rsh remotehost ls -alF * |% rsh remotehost “ls -alF ” 前者はローカルホストで *' が展開され、後者はリモートホストで ’ が展開されるとのこと(man rsh)。
|% svn commit -m "" |Deleting howm |svn: Commit failed (details follow): |svn: Out of date: ‘/trunk/howm’ in transaction ‘35’ こういう場合は update してから commit する。
[mew-dist 25941] こういう指定もできるみたい。 |% configrure –prefix=’$(DESTDIR)’/usr/local
“aaaa1234bbbb” => “aaaabbbb” # sh % echo "aaaa1234bbbb" | sed -e 's/^\([a-z]*\)\([0-9]*\)\([a-z]*\)$/\1\3/' aaaabbbb ;; elisp(文字列の走査) (let ((str "aaaa1234bbbb")) (string-match "\\([a-z]+\\)\\([0-9]+\\)\\([a-z]+\\)" str) (concat (match-string-no-properties 1 str) (match-string-no-properties 3 str))) => "aaaabbbb" ;; elisp(バッファの走査) <= ちょっと大げさ (with-temp-buffer (let ((str "aaaa1234bbbb")) (insert str) (goto-char (point-min)) (if (re-search-forward "\\([a-z]+\\)\\([0-9]+\\)\\([a-z]+\\)" (point-max) t) (concat (match-string-no-properties 1) (match-string-no-properties 3))))) => "aaaabbbb"
tcshでもできるみたい。 http://tehanu.hpcl.titech.ac.jp/zsh/waka/intro-LoginLogoutWatching.html % watch=all % WATCHFMT="%n has %a %l from %m at %t %w." % log
その1 float shousuu, zenbu = 1.5; shousuu = zenbu - (int)zenbu; その2 #include <math.h> float zenbu = 1.5, seisuu, shousuu; shousuu = modff(zenbu, &seisuu);
|% cvs2cl.pl -b ブランチを指定することもできる。 |% cvs2cl.pl -b –follow-only TEST_BRANCH