2005-01-01から1年間の記事一覧

samba インストールログ

# make install Using FLAGS = -O -D_SAMBA_BUILD_ -Iinclude -I/home/hoge/work/samba/samba-3.0.21a/source/include -I/home/hoge/work/samba/samba-3.0.21a/source/ubiqx -I/home/hoge/work/samba/samba-3.0.21a/source/tdb -I/home/hoge/work/samba/samb…

OpenVPN

demoCAの作成 /usr/lib/ssl/misc/CA.sh -newca server側の鍵を作成 (-nodesでパスフレーズなしに) openssl req -nodes -new -keyout server.key -out server.csr openssl ca -out server.crt -in server.csr client側の鍵を作成 (-nodesでパスフレーズな…

自前インストール screen

http://www.dekaino.net/screen/01install.html yum install ncurses-develが必要だった Aborted because of window size change screen起動時にというエラーがて強制的にカラム数を縮小されるのだが ~/.screenrcに termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H…

vimでカラー表示

:syntax on ターミナルの背景が暗い場合 :set bg=dark ターミナルの背景が明るい場合 :set background=light

apt-listchanges でエラーメッセージ - memo.xight.org

Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 35, in ? import apt_listchanges File "/usr/lib/site-python/apt_listchanges.py", line 26, in ? _ = gettext.translation('apt-listchanges').gettext File "/usr/lib/python…

Debian -- Details of package libclass-dbi-sqlite-perl in sid

FTP プロトコルの passive mode にまつわる誤解

かなり前に知り合いに教わったページだと思うが、人に説明する際に毎回探して見つけることが出来なかったのがやっと見つけた。 「control connection と data connection を別々に張るのは無駄だ。 この点で FTP の設計はダサい。」とかいうのはかなり間違っ…

PerlでFTP

http://perldoc.jp/docs/modules/libnet-1.12/Net/FTP.pod 簡単 パッシブモードも出来る

itms decrypt

hymn http://www.hymn-project.org/

Perl XML::RSSのCDATA内のUTF8対応がダメな件について

http://www.nurs.or.jp/~sug/homep/rss/rss3.htm http://www.drk7.jp/MT/archives/000528.html これが絡んでるようだ

PerlでSMTPを直叩き

Net::SMTP - SMTP(Simple Mail Transfer Protocol)クライアント - perldoc.jp

フリーのCD/DVDライティングソフト

burnatonce エクスプローラーからISOファイルを右クリックで直接焼ける http://www.burnatonce.com/ http://sonic64.com/2004-08-26.html 解説サイト DeepBurner free http://www.forest.impress.co.jp/lib/sys/hardcust/cddvdburn/deepburner.html

vimでバイナリエディット

:%!xxd

Explorer エクスプローラーで右クリック メニューからVimで編集 を追加する方法

レジストリエディタで [HKEY_CLASSES_ROOT\*\Shell\Vim] @="&Vimで開く" [HKEY_CLASSES_ROOT\*\Shell\Vim\command] @="C:\\Vim\\gvim.exe \"%1\"" を登録する

IE の「ソース表示」にメモ帳ではなくvim を使いたい

http://pcmania.jp/~moraz/howto/tips.html#ie_source gvim_srcview.vbs ' wrapper of source view editor for IE. Dim wsh, exe Set wsh = WScript.CreateObject("WScript.Shell") ' 必要ならばフルパスで exe = "C:\vim\gvim -R -c ""set ft=html"" " For …

subversion レポジトリのURLを変更したい時(ホストを移動する場合等)

http://subversion.bluegate.org/doc/re28.html svn switch --relocate file:///tmp/repos file:///tmp/newlocation .

ゲームボーイミクロ&SuperCard SD版でディスクシステムやるには

ttp://www.gbafan.com/files/emu/fca-v0.2d-u0.5.2-bin.zip ttp://www.gbafan.com/files/emu/ufca-build-scripts.zip を拾って(まぁ、disksys.romはどうかと思うけど…)、 README.TXTのとおりufca.gbaをつくり、 SCSでEnable SaveをチェックしてOUTすればOK…

世界各地の超高層ビルの一覧表

http://www.emporis.com/en/bu/sk/st/tp/wo/

CMSいろいろ

http://www.preston-net.com/wiki/index.php?%5B%5BCMS%5D%5D b2 Blosxom MovableType Blogger? BloggerPro? GreyMatter PHPosxom pMachine Vellum WordLog SnipSnap BBlog WordPress Nucleus XOOPS Plone http://www.asymptomatic.net/blogbreakdown.htm

DELL SC420で 起動時に(rebootも)時間がずれる

$ hwclock select() to /dev/rtc to wait for clock tick timed out こんなエラーが出てるのだが http://www.unpush.net/modules/bwiki/index.php?Computer%2FDebian%2Fubuntsu%2FSC420 どうやらDELLサーバ側の問題ぽく hwclockに--directisaというオプショ…

fml + postfix

/var/spool/ml/etc/aliasesが更新されない件 vi /usr/share/fml/.fml/cgi.conf # MTA configuration $MTA = "postfix"; $HOW_TO_UPDATE_ALIAS = "postalias /var/spool/ml/etc/aliases"; とする

mysql

全データベースをバックアップ # mysqldump -A -uroot -pルートのパスワード -Q --opt -rバックアップ先ファイル名特定のデータベースだけをバックアップ # mysqldump データベース名 -uroot -pルートのパスワード -Q --opt -rバックアップ先ファイル名全デ…

Synergy - Mouse and Keyboard Sharing Software - Symless

synergy オープンソースの「http://quickware.a-quest.com/dkdr2/about.htm」とか「dokodemo」の様なツール http://www.simeji.com/wiki/pukiwiki.php?Synergy http://www.simeji.com/synergy/running_ja.html

パフォーマンスカウンターにProcessorがない CPU Usageが出せない

宇宙仮面 Blog - 宇宙仮面 Blog これを読むと何らかの理由でperformance オブジェクトが取得できずに エラーとなってしまうと、perfmon自体が動かなくなってしまうという 構造的な問題がるので、その部分だけをdisableにするという 動きをします。 今回のケ…

samurize さまざまな情報をデスクトップに表示するユーティリティー

通称は「侍」ぽげ http://ringonoki.net/tool/kaizou/samurize.html http://samurize.client.jp/ http://linkage.xrea.jp/article/2004/04/begin_samurize1.php http://samurize.xworks.org/wiki/?FrontPage 作ってみた こんな感じになった

Microsoft File Checksum Integrity Verifier

Microsoft製のMD5とSHA1のhash計算・チェックするツールがあります。 実行ファイル名は fciv.exe かなり以前にダウンロードしたが直ぐにファイル名を忘れてしまうのでメモ 日本語のフォルダ名やファイル名には対応してなさそうです。

ドスパラ

Ultimate Boot CD

Ultimate Boot CD - Overview Ultimate Boot CDは色々なチェックツールをまとめてCDでブートできるようにした物ぽい。 Memtest86+やHDDの各社のディスクチェックツール、CPUの負荷テストツールなどそのほかも色々なツールがてんこ盛り

HugeDomains.com - Shop for over 300,000 Premium Domains

sasldbconverter2でエラー

# sasldbconverter2 sasldbThis program will take the sasldb file specified on the command line and convert it to a new sasldb file in the default location (usually /etc/sasldb2). It is STRONGLY RECOMMENDED that you backup sasldb before allo…