Diff for "NotesAndDocuments"

Differences between revisions 47 and 0

Deletions are marked like this. Additions are marked like this.
Line 80: Line 80:
 * cause : [https://bugs.eclipse.org/bugs/show_bug.cgi?id=188968 Bug 188968 - [launcher] Eclipse fails on launch with -vmargs -Xmx750m]  * cause : [https://bugs.eclipse.org/bugs/show_bug.cgi?id=188968 Bug 188968 - /launcher/ Eclipse fails on launch with -vmargs -Xmx750m]

몇 가지 사고의 조각들을 주워둡니다.

  1. Emacs 리소스
  2. Closure
  3. Using Jakarta Slide
  4. Hibernate
  5. XML
  6. BSF
  7. BPM/Workflow Management System/Petri Net/Pi Calculus/...
  8. SQL Join
  9. SQL Performance Tuning
  10. GRASP Pattern
  11. JSF
  12. Eclipse startup (win32) problem
  13. Mozilla Thunderbird
    1. Undelete messages from Mozilla Thunderbird
  14. Unix Tips
  15. Dot Project에서 Gantt 차트 한글 문제

Emacs 리소스

  • [WWW] GNU Emacs for Win32 Build Project : I copied the dlls for image rendering to GNU emacs bin directories from the EmacsW32 bundled emacs...

  • JDE for Emacs

  • [WWW] Planner Mode (Emacs PIMS)

  • [WWW] 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 one line added for emacs-22.2
               (setq coding-system-for-write 'euc-kr-dos)
               ;; below should not be set
               ;; (setq coding-system-for-read 'euc-kr-dos)
        ;; below lines added for emacs-22.2
        (if (eq system-type 'windows-nt)
              (defun my-shell-setup ()
                (setq w32-quote-process-args "\"")
                (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)


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.



The famous open-source OR mapper. UsingHibernate


Java and XML .. JavaAndXML


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




Eclipse startup (win32) problem

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

Dot Project에서 Gantt 차트 한글 문제

  • gantt 차트에서 한글 지원 문제

    • [WWW] KLDPWiki: dot Project

      • 사용언어 설정 : utf-8
        1. dotproject/lib/jpgraph/src/jpgraph.php
        >>177_line추가 DEFINE("FF_GULIM",18);
        >>1796_line추가 FF_GULIM => array(FS_NORMAL=>'ngulim.ttf', FS_BOLD=>'ngulim.ttf', FS_ITALIC=>'ngulim.ttf', FS_BOLDITALIC=>'ngulim.ttf' ),
        >>4461_line수정 elseif($this->font_family >= FF_COURIER && $this->font_family <= FF_GULIM) {
        2. dotproject/lib/jpgraph/src/jpgraph_gantt.php
        >>413_line수정 var $iFFamily=FF_GULIM,$iFStyle=FS_NORMAL,$iFSize=9;
        3. dotproject/modules/tasks/gantt.php (task name과 project name 에서 utf8_decode 부분을 삭제)
        >>       $name = strlen( $a["task_name"] ) > 65 ? substr( $a["task_name"], 0, 65 ).'..' : $a["task_name"] ;
               $name = strlen( utf8_decode($a["task_name"]) ) > 25 ? substr( utf8_decode($a["task_name"]), 0, 22 ).'...' : utf8_decode($a["task_name"]) ;
        utf8_decode 부분 때문에 한글로 원활히 출력이 안되는것으로 생각 됩니다.
        그러므로 utf8_decode 부분을 빼버리면 정상적으로 출력 되네요.
  • dotproject 2.x 에서는 위와 유사한 방법으로 jpgraph.php 파일과 gantt.php을 고치고, lib/jpgraph/src/jpgraph_gantt.php 파일과 modules/tasks/gantt.php에서 FF_CUSTOM으로 지정되어 있는 부분들을 FF_GULIM으로 바꾸면 됩니다.

  • dotproject 2.x 에서 달력을 표시할 때, 한글로 된 이 깨어지는 문제가 있는데 이것은 modules/calendar/calendar.class.php 파일에서 format("%M %Y") 로 되어있는 부분들에서 발생합니다. %M을 잘 한글화하면 되겠지만 급한데로 그냥 format("%Y/%m") 으로 바꿔서 쓰면 됩니다.

last edited 2010-02-01 08:42:55 by YoonKyungKoo