|
![]() |
||||||||||||||||||||||||||||||||||||||||||||||
:0 HBc * ? nkf -m -e | kakasi -w | bogofilter -l .spam/として carbon copy option を付けていたのを取り払い、
:0 HB * ? nkf -m -e | kakasi -w | bogofilter -l .spam/という風にしました。
大人 xxx 円 中人 xxx 円 小人 xxx 円というのを見かけました。
% apt-cache show debootstrap Package: debootstrap Priority: extra Section: admin Installed-Size: 204 Maintainer: Anthony Towns <ajt@debian.org> Architecture: i386 Version: 0.2.18 Depends: libc6 (>= 2.3.2-1), wget, binutils Filename: pool/main/d/debootstrap/debootstrap_0.2.18_i386.deb Size: 56200 MD5sum: 4f7f3567ae7e882d23afc833d51abcf1 Description: Bootstrap a basic Debian system debootstrap is used to create a Debian base system from scratch, without requiring the availability of dpkg or apt. It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into.という package で、最後のところに chroot についても触れられているようです。
% mkdir test/ % debootstrap sid test/*1 とすれば test/ 以下に basic な sid 環境を構築してくれます:)
% dpkg -S cal.rb ruby-examples: /usr/share/doc/ruby-examples/examples/cal.rb
% ruby /usr/share/doc/ruby-examples/examples/cal.rb /usr/share/doc/ruby-examples/examples/cal.rb:87: warning: Array#indexes is deprecated; use Array#values_at December 2003 S M Tu W Th F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
this->some_variable != some_variableということに気づいたので、どうにか修正が出来ました。
for(int i = 0, some_variable = 0; i < n; i++) { // ... }と書いてしまい、初期化しただけのつもりが変数宣言になってしまったためでした。
#define for if(0); else forなんて小細工をしていたこともありました(^^;
% pilot-xfer -i output.pdb Port not connected, sleeping for 2 seconds, 5 retries.. Listening to port: /dev/pilot Please press the HotSync button now... Connected Installing output.pdb failed. Time elapsed: 0:00:03MemoryStick 経由での転送も怒られるので、
80 + 8 * number_of_recordsを示すようです。
% ruby -ryaml -e 'puts("hoge".to_yaml)' --- hoge % ruby -ryaml -e 'puts([1,2,3].to_yaml)' --- - 1 - 2 - 3 % ruby -ryaml -e 'puts({"A" => 1, "B" => 2, "C" => 3}.to_yaml)' --- A: 1 B: 2 C: 3
% ruby -ryaml -e 'p YAML::load("--- hoge")' "hoge" % ruby -ryaml -e 'p YAML::load("---\n- 1\n- 2\n- 3")' [1, 2, 3] % ruby -ryaml -e 'p YAML::load("---\nA: 1\nB: 2\nC: 3")' {"A"=>1, "B"=>2, "C"=>3}
id = cgi['foobar'].to_iとしている id が tainted なのが原因でした。
id = cgi['foobar'].untaint.to_iとして直しておきました:)