Applying man with colour under zsh

After installing zshell and applying the zshrc from grml system-wide, my man page doesn’t want to be colourful. The configuration is caused by a environmental variable GROFF_NO_SGR, when it’s set to 1, man page will be able to paint with colour.

Here is my personal .zshrc:

# Vim key binding
bindkey -v

# The important part.
export GROFF_NO_SGR=1

# PATH to current directory
export PATH=$PATH:.

Small Makefile script for making daily course notes on LaTeX

I have a habit of making daily course notes using \LaTeX (Probably not the most suitable way for you readers). By using this Makefile script I can automatically generate date based \LaTeX file, and avoiding overriding the current date notes.
Continue reading “Small Makefile script for making daily course notes on LaTeX”

Adjust WordPress Twenty Fourteen Skin Fitting FullHD Screens

WordPress 3.8 has a nice look, it also brings a new skin called Twenty Fourteen. (It does look a bit like its back-end managing portal.) Under 1920x1080p or higher resolution, this theme is not optimized, it occupies half left of the screen and some of half right screen, and it look just weird and wasted. Here are a few changes I made for the CSS stylesheet to make it work:
Continue reading “Adjust WordPress Twenty Fourteen Skin Fitting FullHD Screens”

Prefix expression conversion to Postfix and Infix

There has been a question related with prefix to infix/postfix expression on the latest assignment in C. I managed to solve this puzzle, the whole assignment is here and you can take a peek at (Question 2).
Continue reading “Prefix expression conversion to Postfix and Infix”