|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

Archive for July, 2005

Emacs syntax highlight on

Wednesday, July 20th, 2005

add this line to .emacs to turn syntax highlight on by default:

(global-font-lock-mode t)

Include a HTML document in another

Friday, July 15th, 2005

I wanted to maintain a standard header for my website in one file and include it in my webpages. We could do this pretty neatly with Apache’s SSI (Server Side Includes).

First we need to install and enable the apache include module:

$ apt-get install apache2-common
$ ln -s /etc/apache2/mods-available/include.load /etc/apache2/mods-enabled/

Then in the http config file add [...]