몇 가지 사고의 조각들을 주워둡니다.
- Emacs 리소스
- Closure
- Using Jakarta Slide
- Hibernate
- XML
- BSF
- BPM/Workflow Management System/Petri Net/Pi Calculus/...
- SQL Join
- SQL Performance Tuning
- GRASP Pattern
- Web 2.0
- JSF
- SOA and EDA
- Web Services Resources and Management
- Mozilla Thunderbird
- Unix Tips
Emacs 리소스
GNU Emacs for Win32 Build Project : I copied the dlls for image rendering to GNU emacs bin directories from the EmacsW32 bundled emacs...
Using cygwin telnet in win32 GNU Emacs
telnet works, but ftp doesn't work. (But Windows ftp.exe just works)
Using TRAMP ..
C-x C-f /<protocol>:<user id>@<host>:<remote path>
Emacs 22.2 for windows and Korean
add these commands to site-start.el to see Hangul correctly in the shell
-
;; below two lines added for emacs-22.2 (setq coding-system-for-read 'euc-kr-dos) (setq coding-system-for-write 'euc-kr-dos) ;; below lines added for emacs-22.2 (if (eq system-type 'windows-nt) (progn (defun my-shell-setup () (set-buffer-file-coding-system 'euc-kr-dos) (set-buffer-process-coding-system 'euc-kr-dos 'euc-kr-dos) ) (setq shell-mode-hook 'my-shell-setup) ))
-
Closure
Using Jakarta Slide
I've get into a need of a good repository. I found the Jakarta Slide can be a start point. Below is my gatherings on Slide.
Hibernate
The famous open-source OR mapper. UsingHibernate
XML
Java and XML .. JavaAndXML
BSF
Embedding some scripts into existing products is often required, and BSF should be a good scripting framework.
BPM/Workflow Management System/Petri Net/Pi Calculus/...
SQL Join
SQL Performance Tuning
GRASP Pattern
Web 2.0
JSF
SOA and EDA
Web Services Resources and Management
Mozilla Thunderbird
Undelete messages from Mozilla Thunderbird
Mozilla stores messages in mbox format and it doesn't remove delete messages until compact folder is done.
In each message header, Mozilla uses extended header name X-Mozilla-Status to denote the status of the message. if you want to revive deleted mail message, change 0009 to 0001.
Unix Tips
In Unix, how can I split large files into a number of smaller files?
split -l 100000 jjj.log jjj-part-
Line is too long (usually for VI, specify line width)
fold -w 255 file > file.new
extract some parts of a file (from line to line)
sed -n "1222,13355 p" filename