MathJax

Syntax Highlighter CSS (shCore.css)

Syntax Highlighter CSS (shThemeDefault.css)

Syntax Highlighter JS (shCore.js)

Syntax Highlighter JS (shAutoloader)

Highlight CSS (default.css)

Highlight JS (highlight.pack.js)

Syntax Highlighter CSS (custom.css)

Thursday, September 20, 2007

Look at all the pretty colors

I love it when my terminal looks like somebody vomited all over it. It helps me find the specific chunks of logging data I need to see (pun definitely intended). Here's a list of things to colorize, and how to do them:

Output of ls

ls --color=yes. Even if you pipe it through less, the colored output stays.

File types and extensions

See different colors for different files types and extensions. Add the following to your .bash_profile:
eval `dircolors -p`

Ant

Set this environment variable to get colored output for ant:
export ANT_ARGS='-logger org.apache.tools.ant.listener.AnsiColorLogger'

irb

Use Wirble.

Log4J

Use ANSIColorLayout.

Code on your webpage

Use dp.SyntaxHighlighter (javascript) or Geshi (php only). LousyCoder Blog is powered by the former, and I think it's better anyway.

Maven

I have no clue.
Post a Comment