|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
% update-rc.d zebedee-bridge defaultsとしておいた。 *1
% dpkg-reconfigure apacheとして suexec を有効にして復旧させました。
ls -l /usr/lib/apache/suexec lrwxrwxrwx 1 root root 15 Aug 6 16:50 /usr/lib/apache/suexec -> suexec.disabled*
GetModuleHandle(NULL)を利用するとよいみたいです。
\setlength{\columnseprule}{0.2mm}
(参考情報: [
Tex FAQ: 20871
],[
Tex FAQ: 20872
],
版面を構成するパラメータ
)
\documentclass[twocolumn]{tarticle}
\begin{document}
縦書きのてすと。
\end{document}
#!/usr/bin/env ruby
require 'nkf'
require 'parsedate'
enemy_old = {}
File::open('acoenemy-old.txt') do |fd|
fd.readlines.each_with_index do |line, index|
name = NKF.nkf('-e', line.split(/\t/).shift)
enemy_old[index] = name
end
end
enemy_new = {}
File::open('acoenemy.txt') do |fd|
fd.readlines.each_with_index do |line, index|
name = NKF.nkf('-e', line.split(/\t/).shift)
enemy_new[name] = index
end
end
Dir["killcount_*.txt"].each do |filename|
killcount = {}
File.open(filename) do |fd|
# 138,10588^A2003/08/19 (Tue) 02:12:29
lines = fd.readlines.each do |line|
mob_id_old, count, tmp = line.chop.split(/,|\001/)
date = Time.local(*ParseDate.parsedate(tmp)[0..5])
mob_name = enemy_old[mob_id_old.to_i]
mob_id_new = enemy_new[mob_name]
#printf("[%s] %d -> %d\n", mob_name, mob_id_old, mob_id_new)
killcount[mob_id_new] = [count.to_i, date]
end
end
format = "%Y/%m/%d (%b) %T"
File.open(filename, 'w') do |fd|
killcount.each do |k,v|
fd.printf("%d,%d\001%s\r\n", k, v[0], v[1].strftime(format))
end
end
end
% dpkg -l ndtpd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ un ndtpd <none> (no description available)
% apt-cache search ndtp bookview - Tcl/Tk based NDTP(Network Dictionary Transfer Protocol) client epwutil - Several utilities for EB(Electric Book)/EPWING ndtpd - server for accessing CD-ROM books with NDTP spica:~/var/diary/2003>apt-cache show ndtpd Package: ndtpd Priority: optional Section: text Installed-Size: 424 Maintainer: Masayuki Hatta <mhatta@debian.org> Architecture: i386 Version: 3.1.5-1 Depends: libc6 (>= 2.3.1-1), libeb6, zlib1g (>= 1:1.1.4), debconf, sysklogd | sy slog-log-daemon Suggests: lookup-el, edict-fpw Filename: pool/main/n/ndtpd/ndtpd_3.1.5-1_i386.deb Size: 139324 MD5sum: ba3233d52f2e8e56e5fca1331eb56d1f Description: server for accessing CD-ROM books with NDTP NDTPD is a server for accessing CD-ROM books with NDTP (Network Dictionary Transfer Protocol) on TCP. You can replace dserver with NDTPD. NDTPD can run on UNIX derived systems. It supports CD-ROM books of EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats. CD-ROM books of those formats are popular in Japan. Since CD-ROM books themselves are stands on the ISO 9660 format, you can mount the discs by the same way as other ISO 9660 discs.便利かなぁと思いつつも僕の中で goo 辞書 に取って代わりはしないのだろうなぁ(^^;
BOOL RegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk);のように定義されていて、vk と fsModifiers でキーの組み合わせを指定します。
RegisterHotKey(hWnd, 1, MOD_CONTROL | MOD_ALT, 'C')という呼び出しをすると Ctrl + Alt + C のショートカットキーを定義できます。
case WM_HOTKEY:
if(wParam == 1)
{
MessageBox(hWnd, "Ctrl+Alt+C has pressed!", "Information", MB_OK);
}
break;
% zip test_data.zip test1.dat test2.datのようにすれば ok みたいです。
% zip -r some_dir.zip some_dir/
% unzip archive.zipで。