colophon

A colophon is defined as an inscription placed at the end of a book or other work that talks about how the work was created and what things were used in its creation.

This blog is based on wordpress MU with this plugins:

  • Challenge -It restricts comment spam by throwing the commenter a challenge.
  • MyCSS - It allows me to attach my personal CSS stylesheet to my blog. I’ve heared that oneleaf modified this plugin a little to let it work with Wordpress Mu.
  • Quotemarks Replacer - disables wptexturize founction that keeps all quotation marks and suspension points in DBC case.

Below is my MyCSS style:

pre {
    overflow:auto;
    background:#EAF0F6;
}

/* Why wordpress doesn't provide pre tag in comments? */

code  {
    overflow:auto;
    background:#EAF0F6;
    display:block;
    font-family:"Lucida Console","Courier New",Courier,monospace;
    font-size:1em;
    font-size-adjust:none;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    line-height:0.5em;
    padding:0.5em;
    white-space: pre;
 }

I use mtsend to post my blog. I wrote a dirty script so I can write in a simple syntax.

#!/bin/bash

mtsend -R $(wiki2post | mtsend -N 2>&1 | grep [0-9])

wiki2post is a script based on Alex’s wiki2html to convert wiki-like simple syntax to a format mtsend understands.

Sometimes I just want to write a short or mini blog, and don’t feel like to open vim. Thus I have this script: (wpsend is the script above)

#!/bin/bash

echo -e $2 > /tmp/note.log
wpsend $1