export BINPATH=$(dirname $(readlink -f $0)) export ROOTPATH=$(dirname $BINPATH)
慧> You believe it, you understand it.
诺> 彼此尊重、彼此信任、彼此参与、彼此承诺
德> 知死而智生
道> 非攻节用,乘物游心,我自然
2010-09-07
Get BIN or ROOT path with repect to the running shell script
2010-04-13
2007-11-03
Open source works best when it is done iteratively
Ian Murdock said this. It is right!
Now we have the ability to develop software iteratively. Moreover we want to have the ability to distribute it iteratively. The distribution makes people feel the world becomes more better and this process is smooth. So we need a more better package management that is adaptive in the evolution of software system. The Debian has given a great wonderful contribution. I hope the Indiana do so better.
More choices are better than no choice.
Now we have the ability to develop software iteratively. Moreover we want to have the ability to distribute it iteratively. The distribution makes people feel the world becomes more better and this process is smooth. So we need a more better package management that is adaptive in the evolution of software system. The Debian has given a great wonderful contribution. I hope the Indiana do so better.
More choices are better than no choice.
2007-10-21
Annoying acrobat's warning: The Organizer database is damaged
The acrobat 8 is brittler than 7. For a long time, I was annoyed by the warning - "The Organizer database is damaged and will be reset the next time Acrobat is launched".
SOLUTION:
To delete the following directory manually.
%appdata%\Adobe\Acrobat\8.0\organizer70
SOLUTION:
To delete the following directory manually.
%appdata%\Adobe\Acrobat\8.0\organizer70
2007-09-26
2007-02-07
Acrobat trouble shoot again, "This page contains renderable text"
There are always some papers that is not OCRed well. And more, I have tried to take these papers to do the 'OCR text recognization' once more with acrobat. I am frustrated, and the acrobat gave me a error, 'This page contains renderable text'. Googled it, there is a troubleshoot, but it did not work to me. Although there is still not a clear solution, thanks the post, which gives me a well explanation about the renderable text.
Finally, I found a solution that is quite simple:
Finally, I found a solution that is quite simple:
- Export all images of the troubled pdf in TIFF format;
- Combine these images into a new pdf;
- OCR the new pdf
2005-11-25
Add CMD prompt option to context menu of Windows Explorer
Using the following registry, you can open a cmd prompt window by clicking 'Open CMD here' option of context menu of windows explorer. the default working directory of cmd prompt is the folder where the context menu poped up.
--------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]
@="Open CMD Prompt Here"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt\command]
@="Cmd.exe /k pushd %L"
--------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]
@="Open CMD Prompt Here"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt\command]
@="Cmd.exe /k pushd %L"
2005-11-24
Run Groovy in Windows Exploer directly
Groovy is not directly excuted by windows expoler in the current release, helped by ‘groovy.bat’ in cmd window. Using the following registry file, you can open or run groovy script conviently.
Note: you must adjust the groovy path in the following registry file, according with your enviroment.
-------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.groovy]
@="groovyFile"
[HKEY_CLASSES_ROOT\.groovy\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\groovyFile]
@="Groovy Program"
[HKEY_CLASSES_ROOT\groovyFile\Shell]
@="open"
[HKEY_CLASSES_ROOT\groovyFile\Shell\open]
[HKEY_CLASSES_ROOT\groovyFile\Shell\open\command]
@="\"D:\\java\\groovy-1.0-jsr-03\\bin\\groovy.bat\" \"%1\" %*"
Note: you must adjust the groovy path in the following registry file, according with your enviroment.
-------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.groovy]
@="groovyFile"
[HKEY_CLASSES_ROOT\.groovy\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\groovyFile]
@="Groovy Program"
[HKEY_CLASSES_ROOT\groovyFile\Shell]
@="open"
[HKEY_CLASSES_ROOT\groovyFile\Shell\open]
[HKEY_CLASSES_ROOT\groovyFile\Shell\open\command]
@="\"D:\\java\\groovy-1.0-jsr-03\\bin\\groovy.bat\" \"%1\" %*"
订阅:
博文 (Atom)