Code Highlighter
Occasionally I post some code here, such are scripts or Java programs, and I want them to be colorized, i.e. I want keywords to be distinct from other parts.
For this purpose I use code2html package. Installing it under Debian is no problem by any mean:
# aptitude install code2html
Then I execute following command from the terminal
$ code2html script.sh | xclip
Code is now in the X selection buffer and I can paste it anywhere (to this site) with a middle mouse button click. But don't select anything else or you will lose the HTML. A very weird X feature, but it can be useful.
There are currently no items in this folder.

