Myself, 2009
Welcome to my web site. This page can be reached from and Essential links are provided on the top of the page. For my classes, please go to teaching. I am also available on Twitter @nattee.

Pre-Contest training

Example Problem

apache mod evasive

My server has been attacked for weeks. They were brute force trying to login to MoinMoin. MoinMoin is still fine, but the server load is too high and there are too many traffic.

mod_evasive and mod-security are life savers

mod-status and awstats are also helpful in debugging and detecting the problem.

Moving to FreeBSD desktop

Again, my desktop somehow stop working, so I reinstall with FreeBSD and kde4.

This is what I have to do

new OpenVPN


มีเพิ่มเติม 2 บรรทัด ให้ push routing ไปยัง client บรรทัดแรกบอกว่าทั้งหมดในจุฬาให้ใช้ผ่าน vpn บรรทัดที่สองบอกว่าต่อเข้า server ovpn ผ่านทาง network ปรกติ

push route
push route remote_host net_gateway 1

Desktop linux again

openSUSE 12.3 and openSUSE 13.1

ปุ่มปรับ backlight ไม่ work

เครื่อง asus zenbook ให้แก้โดยเพิ่ม kernel option

acpi_backlight=none acpi_osi=


sudo vi /etc/default/grub


GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/system/swap splash=silent quiet showopts"


GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/system/swap splash=silent quiet showopts acpi_backlight=none acpi_osi="

แล้วสั่ง sudo update-grub

Person name around the world

This is very interesting. See also Arabic name

RDC 2013

Programming iRobot Create

  • EXAMPLE –> RDC2013_v1_main.cpp

  • download MS Visual Studio 2008 Express ให้เลือก Visual C++ 2008 Express Edition with SP1 และเลือกภาษา English แล้วกด Download (ต้องใช้ version 2008 เท่านั้น)

Drupal feed importer

Recently, I have a chance to use drupal commerce with feed importer. Feed importer is very good because I can easily transfer data from MySQL to the website.

However, sometime the import process crash and I am stuck with importing page with xx% status and nothing can be done via UI.

To fix this, I have to manually edit the status of the import. Basically, all I have to do is to

> update feeds_source set state = ‘b:0;’;
update feeds_source set fetcher_result=’b:0;’;

Check this .


My friend has an auto shop, QCT Auto. there are tips for flooded car here



Subscribe to Syndicate
Subscribe to Nattee Niparnan RSS
© 2014 Nattee Niparnan. Drupal theme by Kiwi Themes.