<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mr-San.com : จอมมาร Blog &#187; Tricks</title>
	<atom:link href="http://www.mr-san.com/category/tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mr-san.com</link>
	<description>Learning by self, Doing for Expertise</description>
	<lastBuildDate>Tue, 27 Jul 2010 10:58:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>คำสั่ง find, xargs, rm ง่ายๆ แต่จำเป็นต้องใช้</title>
		<link>http://www.mr-san.com/linux-find-xargs-rm/</link>
		<comments>http://www.mr-san.com/linux-find-xargs-rm/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 03:31:53 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=169</guid>
		<description><![CDATA[สำหรับคนที่ต้องลบไฟล์คราวละมากๆ และ มีปัญหาในการลบไฟล์ วันนี้จดเพื่อใช้งานง่ายๆ นะครับ - เพื่อความปลอดภัยในการลบไฟล์ ที่อาจจะเจอช่องว่างในชื่อไฟล์ หรือพวกอักขระแปลกๆ ให้ใช้ find /directory -name *abc* -print0 &#124;xargs -0 rm -print0 ใส่เพื่อมองไฟล์ 1 ไฟล์ที่มีช่องว่างเป็น file เดียว เหมือนกับการใส่ Double Quote -0 ก็ใช้คู่กับ xargs เืพื่อใช้อ่านข้อมูลจาก find -print0 - อีกกรณี กรณีที่ ผลลัพธ์ จาก find ไม่มีข้อมูลส่งมาให้ใช้ find /directory -name *abc* -print0 &#124;xargs -0 -r rm ก็ใส่ -r เพิ่มไปใน xargs เพื่อยกเลิกการทำงานกรณีไม่มี result [...]]]></description>
		<wfw:commentRss>http://www.mr-san.com/linux-find-xargs-rm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UTF-8 : Byte Order Mark and VI</title>
		<link>http://www.mr-san.com/utf-8-byte-order-mark-vi/</link>
		<comments>http://www.mr-san.com/utf-8-byte-order-mark-vi/#comments</comments>
		<pubDate>Thu, 14 May 2009 23:17:42 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[byte-order mark]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=163</guid>
		<description><![CDATA[A byte-order mark (BOM) is the Unicode character at code point U+FEFF (&#8220;zero-width no-break space&#8221;) when that character is used to denote the endianness of a string of UCS/Unicode characters encoded in UTF-16 or UTF-32. It is conventionally used as a marker to indicate that text is encoded in UTF-8, UTF-16 or UTF-32. ref: Wikipedia [...]]]></description>
		<wfw:commentRss>http://www.mr-san.com/utf-8-byte-order-mark-vi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make ISO from CD/DVD in Leopard</title>
		<link>http://www.mr-san.com/make-iso-from-cddvd-in-leopard/</link>
		<comments>http://www.mr-san.com/make-iso-from-cddvd-in-leopard/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 15:46:20 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[leopard]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=155</guid>
		<description><![CDATA[Make ISO image from CD/DVD is so easy in MacOS or Linux, Let&#8217;s go&#8230; Insert CD/DVD Disk drutil status Vendor Product Rev HL-DT-ST DVDRW GWA4080MA BE39 Type: DVD-ROM Name: /dev/disk1 Sessions: 1 Tracks: 1 Overwritable: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB Space Used: 776:36:36 blocks: [...]]]></description>
		<wfw:commentRss>http://www.mr-san.com/make-iso-from-cddvd-in-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTTPS and VirtualHost in Nginx</title>
		<link>http://www.mr-san.com/https-and-virtualhost-in-nginx/</link>
		<comments>http://www.mr-san.com/https-and-virtualhost-in-nginx/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 09:21:36 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=132</guid>
		<description><![CDATA[If use basic setting in Header from https you will get HTTP/1.0 so it cannot redirect to right host. It&#8217;s very easy to set with Nginx you can use proxy_set_header X-FORWARDED_PROTO https; &#160; &#160; &#160; &#160; &#160; &#160; proxy_set_header &#160;X-Forwarded-For $proxy_add_x_forwarded_for; &#160; &#160; &#160; &#160; &#160; &#160; proxy_set_header Host $http_host; already use and sent you [...]]]></description>
		<wfw:commentRss>http://www.mr-san.com/https-and-virtualhost-in-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySql : Optimize all databases</title>
		<link>http://www.mr-san.com/mysql-optimize-all-databases/</link>
		<comments>http://www.mr-san.com/mysql-optimize-all-databases/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 03:10:21 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[optimize]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=105</guid>
		<description><![CDATA[ใช้ mysqltuner แล้วพบว่า จำเป็นต้อง optimize tables แต่จะทำไงให้ optimize ได้ทุกตารางล่ะ ใช้คำสั่งนี้ได้เลยครับ [code lang='bash']mysqlcheck -Aao --auto-repair -u root -p[password][/code] -a, &#8211;analyze [Analyze given tables] -o, &#8211;optimize [Optimize table] -A, &#8211;all-databases [Check all the database] &#8211;auto-repair [If a checked table is corrupted, automatically fix it. Repairing will be done after all tables have been checked, if corrupted ones [...]]]></description>
		<wfw:commentRss>http://www.mr-san.com/mysql-optimize-all-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail.Go.TH : Grand Opening</title>
		<link>http://www.mr-san.com/mailgoth-grand-opening/</link>
		<comments>http://www.mr-san.com/mailgoth-grand-opening/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 07:15:41 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[mail.go.th]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=104</guid>
		<description><![CDATA[เมื่อวันพฤหัสบดี 12 มิถุนายน 2551 มีงานเปิดตัวโครงการระดับประเทศงานหนึ่งครับ ผมเป็นคนหนึ่งในทีมผู้จัดทำ นั่นก็คือ โครงการระบบจดหมายอิเล็กทรอนิกส์กลางภาครัฐ โครงการใหญ่มากสำหรับผมในปีนี้ แถมยังได้รับเกียรติจาก ดร.ศักดิ์ เสกขุนทด ให้ร่วมเป็น speaker ในงานด้วย ตื่นเต้นมาก (ไม่เคยขึ้นพูดงานที่มีคนฟังเยอะขนาดนี้ ประมาณ 400 คน) โครงการนี้ถือกำเนิดจาก มติ ครม.ที่ไม่อยากให้ข้าราชการใช้ free email ซึ่งอาจจะมีส่วนทำให้ความลับทางราชการรั่วไหลได้ จึงอยากให้ข้าราชการหลืกเลี่ยงการใช้งาน แล้วมาใช้ส่วนกลางแทน และผลประโยชน์ที่ได้อีกอย่างที่ผมเห็นว่าสำคัญมากคือ ราชการไม่จำเป็นต้องมีการลงทุนซ้ำซ้อนในส่วนของโครงสร้างระบบเมล์ แล้วหันมาใช้ส่วนกลาง ง่ายต่อการจัดการ รายละเอียดผมคงไม่ต้องสาธยายมากครับ ไงลองไปอ่านตาม link ต่างๆ กันละกันครับ ref : http://www.gits.net.th/news/TheShow.asp?menuID=314&#038;ID=87 หนังสือพิมพ์เดลินิวส์ ผู้จัดการออนไลน์ ส่วนรูปทีมงานและรูปอื่นๆ ผมคัดเอามาบางส่วน ดูได้ที่]]></description>
		<wfw:commentRss>http://www.mr-san.com/mailgoth-grand-opening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checklist : New Ubuntu 8.04 Server</title>
		<link>http://www.mr-san.com/checklist-new-ubuntu-804-server/</link>
		<comments>http://www.mr-san.com/checklist-new-ubuntu-804-server/#comments</comments>
		<pubDate>Sun, 18 May 2008 09:24:27 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[checklist]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=102</guid>
		<description><![CDATA[อันนี้เป็น checklist สำหรับ ตั้ง Server ใหม่สำหรับ Ubuntu 8.04 Server นะครับ ก็ขึ้นกับว่าใครจะทำอะไรบ้างแต่อันนี้เป็นของที่ผมคิดว่า น่าจะเหมาะกับการเป็น Server ครับ /etc/network/interface &#8211; pre-up /etc/network/iptables.firewall : เพิ่มกฏ Iptables Firewall vi /etc/default/rcS &#8211; UTC=no : แก้ไขเวลาเครื่องและเวลาของระบบ ให้เป็นเวลาของประเทศไทย backup /etc/init.d : ไว้สำหรับแก้ไขไฟล์ เก็บไว้ก่อน /etc/init.d/apparmor stop &#038;&#038; update-rc.d -f apparmor remove : ยกเลิกการใช้งาน apparmor ln -sf /bin/bash /bin/sh : แก้ไข default shell apt-get remove pcmciautils [...]]]></description>
		<wfw:commentRss>http://www.mr-san.com/checklist-new-ubuntu-804-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compare FreeBSD /bin/sh &#8211; /bin/csh</title>
		<link>http://www.mr-san.com/compare-freebsd-sh-csh/</link>
		<comments>http://www.mr-san.com/compare-freebsd-sh-csh/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 18:07:05 +0000</pubDate>
		<dc:creator>Mr-San.com</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[csh]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[sh]]></category>

		<guid isPermaLink="false">http://www.mr-san.com/?p=97</guid>
		<description><![CDATA[เป็นปัญหาการใช้งานมานานครับ เรื่องการใช้ >/dev/null พอดีผมไปเจอบทความมาก็เลยเอามาบอกต่อดีกว่าครับ 1. /bin/sh prog > /dev/null 2>&#038;1 /dev/null 2>/dev/null &#038; /dev/null /dev/null 2>&#038;1 /dev/null 2>/dev/null &#038; /dev/null &#038; /dev/null /dev/null /dev/null 2>&#038;1 /dev/null &#038; /dev/null]]></description>
		<wfw:commentRss>http://www.mr-san.com/compare-freebsd-sh-csh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
