Diet Diary

Posted on: Tue, 03/09/2010 - 08:11 By: dae

08 March 2010

morning weight: 86 kg BF: Two banana, two glass of waters late morning break: ขนมปังหมูแดง lunch: ข้าวมันไก่ครึ่งจาน afternoon break: Pineapple pie dinner: ข้าวราดแกง 1 จานเต็ม ๆ(ผัดลูกชิ้น + ต้มเลือดหมู + ทอดมัน)

LaTeX document class files for Chulalongkorn University's Thesis

Posted on: Fri, 06/05/2009 - 14:25 By: dae

I have posted updated LaTeX class files for theses and dissertation of Chulalongkorn University. However, I have not written a manual for it yet. Instead, I provide my own dissertation as an example. The files can be used for both master and doctoral degree and also for either Thai or English language.

Click here for the file.

Making service survives reboot on Ubuntu

Posted on: Mon, 03/23/2009 - 20:15 By: dae

This might seems trivial to many people. However, I don't really know how to have some of my SysV init scripts being executed every time a machine restart. For Fedora, this is very simple using chkconfig. However, I don't know what is its equivalence on Ubuntu.

Googling around and I found that the command is actually update-rc.d. A default modus operandi is

update-rc.d foobar defaults

where foobar is my init script. This will place links to /etc/init.d/foobar on appropriate run levels.

Cheap earpiece

Posted on: Mon, 02/16/2009 - 08:26 By: dae

A few months ago, I bought an earpiece of the brand TDK, discounted @400 baht. The sound is good but I don't know whether it worth THB400. Anyway, last week I went to Pantip and saw an earpiece of the price THB69. Obviously I grabbed it and the result is that it is damn terrible. Seems like the TDK is a good deal for me.

The funniest point is that I was not satisfied with the TDK until I bought that THB69. Human, imperfect...

Thai LaTeX on MikTeX 2.7

Posted on: Mon, 02/02/2009 - 17:10 By: dae

I haven't write any paper since about last 6 months. That covers the period when I changed my PC. That's a good time to update my MikTeX installation. Now, with MikTeX 2.7 in hand, I can review again the process of installing Thai language support.

-- side note -- You can look at my detailed previous entry here. There contains the information to install Thai language in MikTeX 2.6 and 2.5. The process is very similar to that of 2.7 -- end side note --

Subscribe to