ACM Beginner Training 1
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
Ports
x system
/usr/port/x11/xorg
/usr/port/x11/kde4
after that edit rc.conf and add
dbus_enable="YES"
hald_enable="YES"
kdm4_enable="YES"
linux_enable="YES"
reboot to kde4 and install these ports
/usr/ports/sysutils/fusefs-ntfs
git
mercurial
smb4k
Fix Firefox
Firefox is ugly in the Default FreeBSD ports. This is what I have to do.
new OpenVPN
มีเพิ่มเติม 2 บรรทัด ให้ push routing ไปยัง client บรรทัดแรกบอกว่าทั้งหมดในจุฬาให้ใช้ผ่าน vpn บรรทัดที่สองบอกว่าต่อเข้า server ovpn ผ่านทาง network ปรกติ
push route 161.200.0.0 255.255.0.0
push route remote_host 255.255.255.255 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 เท่านั้น)
-
download iRobot Create package v1
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 .