PHP
num2text.php
UniversalIndentGUI เป็นโปรแกรมสำหรับจัดเรียง source code ให้สวยงาม เป็นระเบียบ เป็น opensource ด้วย
- Configurable ini file, open for many indenters. Not yet known indenters can be added by creating a new ini file for them
- Supported and included indenters right now are: Artistic Styler, BCPP, CSSTidy, GNU Indent, GreatCode, phpCB (executable not included) and Uncrustify
- Live preview. Directly see how the code is affected by a indenter parameter <LI>Load the settings of an indenter from its existing config file
- Save - parameters as indeters config file for later use
- ToolTip help for each indenter parameter
- Multiple language support. Currently english, german and taiwan/chinese (Thanks to Nelson Tai)
- Source code syntax highlightning for bash, batch, cpp, csharp, css, d, diff, html, idl, java, javascript, lua, makefile, perl, pov, ini, python, ruby, sql and tex.
Screenshots

1.ติดตั้ง cvsup กันก่อนครับ
# cd /usr/ports/net/cvsup-without-gui
# make install clean
# /usr/local/bin/cvsup -g -L 2 -h cvsup.sg.freebsd.org /usr/share/examples/cvsup/ports-supfile
2.Compile Kernel ให้ support smp
ตรงนี้จะสร้าง rule ของ ipfw ไว้ก่อน ตอน reboot ใหม่จะได้ไม่ deny all
# vi /etc/rc.local
ใส่ค่าไปใน /etc/rc.local
ipfw add 100 allow ip from any to any
# chmod 755 /etc/rc.local
# cd /usr/src/sys/i386/conf/
ทำการสร้าง config ของ kernel ใหม่ที่ต้องการ
load ได้ที่ http://ton.212cafe.com/download/LAO.txt
# fetch http://ton.212cafe.com/download/LAO.txt
# cp -Rp /boot/kernel /boot/kernel.ok
# cd /usr/src
# make -j4 kernel KERNCONF=LAO
# shutdown -r now
พอเครื่องขึ้นมาอีกครั้งนึง ดู kernel ใหม่
# uname -a
FreeBSD freebsd04.gmember.com 5.5-STABLE FreeBSD 5.5-STABLE #0: Thu Jan 25 17:12:29 ICT 2007
root@freebsd04.gmember.com:/usr/obj/usr/src/sys/LAO i386
3.MySQL
# cd /usr/ports/databases/mysql41-server
# make install WITH_CHARSET=tis620
# rehash
# vi /etc/rc.conf
ให้ MySQL ทำงานทุกครั้งเมื่อเปิดเครื่อง
mysql_enable="YES"
# /usr/local/etc/rc.d/mysql-server.sh start
ไปปรับแต่งไฟล์ /usr/local/etc/apache2/httpd.conf ให้สามารถใช้งาน php
hosting# vi /usr/local/etc/apache2/httpd.conf
DirectoryIndex index.html index.html.var
==เป็น==
DirectoryIndex index.html index.html.var index.php
และจากเดิม
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
== เป็น ==
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .html
apache22 ########
kldload accf_http เพิ่ม
accf_http_load="YES" ใน /boot/loader.conf

: Support :