<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://www.wingfoss.in.th">
<channel>
 <title>WingFOSS</title>
 <link>http://www.wingfoss.in.th</link>
 <description>เว็บนี้ก็เป็นแหล่งรวมความรู้เรื่อยๆ เปื่อยๆ เหมือนสมุดจดบันทึกของผมนะครับ</description>
 <language>en</language>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/wingfoss" /><feedburner:info uri="wingfoss" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><item>
 <title>PHP: โค้ดในการดึง URL Path ปัจจุบัน</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/H0kT0PVWYJ0/php-get-currrent-url-path</link>
 <description>&lt;p&gt;โน้ตสั้นๆ สำหรับคนที่เขียน PHP ที่ต้องการหา URL&amp;nbsp;Path ปัจจุบันที่เปิดอยู่ เช่น ถ้าเราเปิดเว็บปัจจุบันอยู่ที่ &lt;em&gt;http://www.wingfoss.in.th/en/index.php?p=node/123&lt;/em&gt; เพราะฉะนั้น URL Path จะเท่ากับ &lt;em&gt;en/index.php?p=node/123&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;โค้ดที่ใช้ในการขอค่า URL Path ดังข้างต้นคือ&lt;/p&gt;
&lt;p&gt;  &lt;div class="geshifilter"&gt;&lt;div class="php geshifilter-php" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #000088;"&gt;$urlpath&lt;/span&gt; &lt;span style="color: #339933;"&gt;=&lt;/span&gt; &lt;span style="color: #000088;"&gt;$_SERVER&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;quot;REQUEST_URI&amp;quot;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#93;&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;
&lt;span style="color: #b1b100;"&gt;echo&lt;/span&gt; &lt;span style="color: #000088;"&gt;$urlpath&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Happy PHP Coding ครับ :)&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=H0kT0PVWYJ0:LoaQYCaiyXY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/H0kT0PVWYJ0" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/php-get-currrent-url-path#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/32</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/knowledge/php">PHP</category>
 <category domain="http://www.wingfoss.in.th/tag/php">PHP</category>
 <pubDate>Thu, 07 Jan 2010 02:16:27 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">32 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/php-get-currrent-url-path</feedburner:origLink></item>
<item>
 <title>วิธีการย้าย Wordpress ไปยังโดเมนใหม่</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/S_kwB3es28o/moving-wordpress-to-new-domain</link>
 <description>&lt;p style="text-align:center"&gt;&lt;img src="/system/files/pictures/wpbn-2.png" /&gt;&lt;/p&gt;
&lt;p&gt;จุดอ่อนสำคัญของ Wordpress สิ่งหนึ่งก็คือ เราไม่สามารถย้ายเว็บจากชื่อโดเมนเดิมเป็นชื่อใหม่ได้ง่ายนัก เนื่องจากตัวฐานข้อมูลที่มีการเก็บข้อมูลถึงระดับการเก็บชื่อโดเมน ซึ่งคำแนะนำจาก &lt;a href="http://codex.wordpress.org/Moving_WordPress" target="_blank" rel="nofollow"&gt;wordpress.org&lt;/a&gt; ก็คือให้ทำการ export post และ page จากเว็บเก่าออกมาทั้งหมด แล้วทำการลง Wordpress ใหม่ที่โดเมนใหม่พร้อมทั้งตั้งค่า ลง Plugins ให้เหมือนกับเว็บใหม่ แล้วจึงค่อย import post กับ page มายังเว็บใหม่ ซึ่งเป็นวิธีที่ยุ่งยากและใช้เวลานานมาก&lt;/p&gt;
&lt;p&gt;วันนี้ผมก็เลยมาเสนอแนวทางอีกแนวทางนึงที่ผมใช้อยู่ แต่อาจจะไม่ได้เต็มร้อยนัก คือ เปลี่ยนชื่อโดเมนในฐานข้อมูลเองซะเลย ขั้นตอนในการทำมีดังนี้ครับ&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/moving-wordpress-to-new-domain" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=S_kwB3es28o:ZWTJ9CtISSQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/S_kwB3es28o" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/moving-wordpress-to-new-domain#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/31</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/wordpress">Wordpress</category>
 <category domain="http://www.wingfoss.in.th/knowledge/wordpress">Wordpress</category>
 <pubDate>Wed, 06 Jan 2010 04:14:44 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">31 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/moving-wordpress-to-new-domain</feedburner:origLink></item>
<item>
 <title>หลากวิธีดูเวอร์ชันของ Ubuntu</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/WG_LWUvmz9c/check-ubuntu-version</link>
 <description>&lt;p&gt;เชื่อว่าหลายคนเคยมีปัญหาเวลาไปเล่น Ubuntu ที่เครื่องคนอื่นแล้วไม่รู้ว่าใช้เวอร์ชันอะไรอยู่ ซึ่งมีหลายวิธีที่ดูได้ครับ&lt;/p&gt;
&lt;p&gt;วิธีแรกคือไปที่ &lt;em&gt;System &amp;gt; About Ubuntu&lt;/em&gt; แล้วดูที่สองบรรทัดแรกจะมีรายละเอียดเวอร์ชันที่เราใช้อยู่&lt;/p&gt;
&lt;p style="text-align:center"&gt;&lt;a href="/system/files/pictures/ubuntu_version.png" rel="lightbox nofollow"&gt;&lt;img src="/system/files/pictures/ubuntu_version_0.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/check-ubuntu-version" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=WG_LWUvmz9c:tT-Gd07bf1s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/WG_LWUvmz9c" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/check-ubuntu-version#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/30</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/knowledge/ubuntu">Ubuntu</category>
 <category domain="http://www.wingfoss.in.th/tag/ubuntu">Ubuntu</category>
 <category domain="http://www.wingfoss.in.th/tag/version">version</category>
 <pubDate>Tue, 05 Jan 2010 08:18:08 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">30 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/check-ubuntu-version</feedburner:origLink></item>
<item>
 <title>ค้นหาไฟล์ด้วยคำสั่ง find</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/V79iTmIOBbc/linux-command-find</link>
 <description>&lt;p&gt;มาจดโน้ตย่อๆ ไว้นะครับ ถ้าใครต้องการใช้คอมมานด์ค้นหาไฟล์ test.php ในไดเร็กทอรี่ปัจจุบัน รวมถึงไดเร็กทอรี่ย่อยด้วย ให้พิมพ์คำสั่ง&lt;/p&gt;
&lt;p&gt;  &lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;find&lt;/span&gt; . &lt;span style="color: #660033;"&gt;-name&lt;/span&gt; test.php&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;แต่ถ้าต้องการค้นหาโดยกำหนดไดเร็กทอรี่เอง เช่น /home รวมถึงต้องการใส่เงื่อนไขเป็น .php ให้ใช้คำสั่ง&lt;/p&gt;
&lt;p&gt;  &lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;find&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home &lt;span style="color: #660033;"&gt;-name&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt;.php&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/linux-command-find" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=V79iTmIOBbc:fc1zCiRff0o:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/V79iTmIOBbc" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/linux-command-find#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/29</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/find">find</category>
 <category domain="http://www.wingfoss.in.th/tag/linux-command">Linux Command</category>
 <category domain="http://www.wingfoss.in.th/knowledge/linux-command">Linux Command</category>
 <pubDate>Tue, 05 Jan 2010 05:20:01 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">29 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/linux-command-find</feedburner:origLink></item>
<item>
 <title>ค้นหาคำที่ต้องการในทุกๆ ไฟล์ด้วยคำสั่ง grep</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/j98FNzYRUog/search-text-in-files-with-grep</link>
 <description>&lt;p&gt;ช่วงนี้งานเข้าเยอะมาก พอดีมีงานนึงที่ต้องไล่โค้ดจากเว็บเก่าที่เขียนได้เละมากๆ ไม่มีโครงสร้าง และมีไฟล์อยู่มั่วเต็มไปหมด ปรากฎว่าเราต้องการดูคลาสตัวนึงจากในบรรดาเป็นร้อยๆ ไฟล์จะทำอย่างไร?&lt;/p&gt;
&lt;p&gt;ให้เราเปิด Terminal แล้ว cd ไปที่โฟลเดอร์ที่ต้องการหาไฟล์ แล้วพิมพ์คำสั่ง &lt;em&gt;(สมมติว่าชื่อคลาสที่ต้องการค้นหามีชื่อว่า MyClass)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;  &lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;&amp;quot;MyClass&amp;quot;&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/search-text-in-files-with-grep" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=j98FNzYRUog:lJ9Fmx3FNb8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/j98FNzYRUog" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/search-text-in-files-with-grep#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/28</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/grep">grep</category>
 <category domain="http://www.wingfoss.in.th/knowledge/linux-command">Linux Command</category>
 <category domain="http://www.wingfoss.in.th/tag/linux-command">Linux Command</category>
 <pubDate>Tue, 05 Jan 2010 04:44:39 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">28 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/search-text-in-files-with-grep</feedburner:origLink></item>
<item>
 <title>จดโน้ตบน Ubuntu อย่างรวดเร็วด้วย Tomboy Notes</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/l0ggEIo4RJo/tomboy-notes</link>
 <description>&lt;p style="text-align:center"&gt;&lt;img src="/system/files/pictures/tomboy-01.png" /&gt;&lt;/p&gt;
&lt;p style="text-align:left"&gt;โปรแกรม &lt;strong&gt;Tomboy Notes&lt;/strong&gt; เป็นโปรแกรมจดโน้ตที่ผมใช้เป็นประจำ ทั้งเวลาไปฟังบรรยายที่ต่างๆ จดโน้ตขณะประชุม จดโน้ตย่อขณะคุยกับลูกค้า จดโน้ตขณะเรียน (นานๆ ที :P) ด้วยความสามารถที่สามารถสร้างโน้ตใหม่ได้อย่างรวดเร็ว ตั้งหัวข้อมูล สร้าง bullet อย่างอัตโนมัติ แค่นี้ผมก็ใช้เป็นประจำโดยไม่สนโปรแกรมอื่นแล้วครับ&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/tomboy-notes" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=l0ggEIo4RJo:HW4l7j8vtkI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/l0ggEIo4RJo" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/tomboy-notes#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/24</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/tomboy-notes">Tomboy Notes</category>
 <category domain="http://www.wingfoss.in.th/knowledge/ubuntu">Ubuntu</category>
 <category domain="http://www.wingfoss.in.th/tag/ubuntu">Ubuntu</category>
 <pubDate>Sat, 02 Jan 2010 04:58:52 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">24 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/tomboy-notes</feedburner:origLink></item>
<item>
 <title>StarDict โปรแกรมฟรีดิคชันนารีภาษาไทยบน Ubuntu</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/ZiZOVw94p3s/stardict</link>
 <description>&lt;p style="text-align:center"&gt;&lt;a rel="lightbox nofollow" href="/system/files/pictures/stardict-02.png"&gt;&lt;img src="/system/files/pictures/stardict-02_0.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ปกติผมจะเป็นแฟนประจำดิคชันนารีออนไลน์บน &lt;a target="_blank" href="http://lexitron.nectec.or.th" rel="nofollow"&gt;http://dict.longdo.com&lt;/a&gt; ไม่ก็ &lt;a target="_blank" href="http://lexitron.nectec.or.th" rel="nofollow"&gt;http://lexitron.nectec.or.th&lt;/a&gt; แต่คงจะดีไม่น้อยถ้ามีดิคชันนารีแบบออฟไลน์เอาไว้กรณีเร่งด่วนอีกสักอัน &lt;strong&gt;StarDict&lt;/strong&gt; คือโปรแกรมฟรีดิคชันนารีหนึ่งในใจผมเลยทีเดียว (ไม่เกี่ยวกับโฆษณากาแฟยี่ห้อหนึ่ง)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/stardict" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=ZiZOVw94p3s:wLYt2CYXL-w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/ZiZOVw94p3s" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/stardict#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/23</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/dictionary">Dictionary</category>
 <category domain="http://www.wingfoss.in.th/tag/stardict">StarDict</category>
 <category domain="http://www.wingfoss.in.th/knowledge/ubuntu">Ubuntu</category>
 <category domain="http://www.wingfoss.in.th/tag/ubuntu">Ubuntu</category>
 <pubDate>Sat, 02 Jan 2010 04:26:22 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">23 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/stardict</feedburner:origLink></item>
<item>
 <title>Checklist สิ่งที่ควรทำหลังจากลง Ubuntu 9.10</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/PsOUPeSA0SM/checklist-ubuntu-after-install</link>
 <description>&lt;p style="text-align:center"&gt;&lt;img src="/system/files/pictures/UbuntuLogo_0.png" /&gt;&lt;/p&gt;
&lt;p&gt;วันก่อนเครื่อง Dell d630 คู่ใจผมมีปัญหากับ Ubuntu 9.10 64bit ทำให้ผมต้องลงเครื่องใหม่อีกครั้ง ก็เลยเอา checklist สิ่งที่ผมจะทำหลังจากลง Ubuntu เสร็จเรียบร้อยแล้วมาฝากครับ&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;เปลี่ยน &lt;strong&gt;System &amp;gt; Administration &amp;gt; Software Sources&lt;/strong&gt; เป็น Main Server และติ๊กเลือกหมดทุก Repos (ความชอบส่วนตัว)&lt;/li&gt;
&lt;li&gt;&lt;em&gt;sudo apt-get update&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;sudo apt-get dist-upgrade&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;sudo apt-get install vim &lt;a href="http://www.wingfoss.in.th/content/ubuntu-nautilus-open-terminal" target="_blank"&gt;nautilus-open-terminal&lt;/a&gt; sun-java6-jdk&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;sudo shutdown -r now&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;ลงไดร์เวอร์ไวร์เลสและการ์ดจอที่ &lt;strong&gt;System &amp;gt; Administration &amp;gt; Hardware Drivers&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;sudo shutdown -r now&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/checklist-ubuntu-after-install" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=PsOUPeSA0SM:IIAHJHmkr2A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/PsOUPeSA0SM" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/checklist-ubuntu-after-install#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/22</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/checklist">checklist</category>
 <category domain="http://www.wingfoss.in.th/knowledge/ubuntu">Ubuntu</category>
 <category domain="http://www.wingfoss.in.th/tag/ubuntu">Ubuntu</category>
 <pubDate>Fri, 01 Jan 2010 21:21:14 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">22 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/checklist-ubuntu-after-install</feedburner:origLink></item>
<item>
 <title>Wordpress Theming: ใส่ Page กับ Post ไว้หน้าเดียวกัน</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/JdmZCeaxPA0/wordpress-themeing-page-post-same-page</link>
 <description>&lt;p style="text-align:center"&gt;&lt;a href="/system/files/pictures/wp-query-post-page-01.png" rel="lightbox nofollow"&gt;&lt;img src="/system/files/pictures/wp-query-post-page-01_0.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align:left"&gt;&lt;span style="color:rgb(255, 0, 0)"&gt;&lt;strong&gt;Update (08/01/10):&lt;/strong&gt;&lt;/span&gt; แก้ไขจาก &lt;em&gt;query_posts('posts_per_page=5');&lt;/em&gt; เป็น &lt;em&gt;query_posts($query_string);&lt;/em&gt; เนื่องจากจะทำให้เราไม่สามารถใช้งาน pagination ของ Wordpress ได้&lt;/p&gt;
&lt;p style="text-align:left"&gt;เชื่อว่าคนที่ทำเว็บด้วย Wordpress หลายๆ อาจจะเคยเจอโจทย์ที่ว่า ต้องทำหน้าแรกเป็นข่าว ในขณะที่ก็ต้องมีข้อมูลตัวหนึ่งอยู่บนส่วนบนสุดเหนือข่าวอยู่ตลอด เช่น ประกาศพิเศษ, วัตถุประสงค์ของเว็บ, ไฟล์วิดิโอ หรือข้อมูลแบบ static อื่นๆ ดังตัวอย่างรูปข้างต้น ซึ่งปกติเราคงใส่ข้อมูลพิเศษตัวนั้นลงไปในส่วนของโค้ดในธีมเลย แต่บางครั้งจะพบว่าลูกค้าต้องการเปลี่ยนแปลงในส่วนนี้ด้วยตัวเอง แม้ว่าอาจจะเปลี่ยนนานๆ ครั้ง ซึ่งแนวทางในการแก้ไขปัญหานี้มีทางเลือกคือ&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ทำ Sticky Post เพิ่มขึ้นมา ซึ่งในส่วน Sticky นี้จะอยู่ข้างบนสุดของ Post เสมอ&lt;/li&gt;
&lt;li&gt;แก้โค้ดธีมให้ Query ข้อมูล Post กับ Page ให้อยู่หน้าเดียวกัน&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;ซึ่งแนวทางการแก้ไขนี้ จะพบว่าแนวทางแรกจะมีปัญหาตรงที่ทั้ง Sticky Post และ Post ที่แสดงออกมาจะอยู่ในรูปแบบเดียวกันเสมอ เช่น มีชื่อผู้โพส มีเวลา หรือหมวดที่โพสอยู่เสมอ ซึ่งอาจจะไม่ตรงกับความต้องการกับลูกค้า จึงทำให้เราต้องทำในแนวทางที่สองแทนดังที่จะเสนอในวันนี้&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/wordpress-themeing-page-post-same-page" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=JdmZCeaxPA0:MulvAbZZhUQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/JdmZCeaxPA0" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/wordpress-themeing-page-post-same-page#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/21</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/theming">Theming</category>
 <category domain="http://www.wingfoss.in.th/knowledge/wordpress">Wordpress</category>
 <category domain="http://www.wingfoss.in.th/tag/wordpress">Wordpress</category>
 <pubDate>Fri, 01 Jan 2010 17:07:49 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">21 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/wordpress-themeing-page-post-same-page</feedburner:origLink></item>
<item>
 <title>Checklist สิ่งที่ควรทำหลังจากลง Wordpress</title>
 <link>http://feedproxy.google.com/~r/wingfoss/~3/s1EFRn9UTz8/checklist-wordpress-after-install</link>
 <description>&lt;p style="text-align:center"&gt;&lt;a target="_blank" href="http://www.wordpress.org" rel="nofollow"&gt;&lt;img src="/system/files/pictures/wordpressbn.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgb(255, 0, 0)"&gt;Update (13/01/10):&lt;/span&gt; เพิ่ม Plugins ที่ต้องมีติดไว้ครับ&lt;/p&gt;
&lt;p&gt;สำหรับอันนี้เป็น Checklist โน้ตสั้นๆ ย่อๆ ของผมที่จดไว้ เกี่ยวกับสิ่งที่ควรทำหลังจากลง &lt;a target="_blank" href="http://www.wordpress.org" rel="nofollow"&gt;Wordpress&lt;/a&gt; เสร็จเรียบร้อยแล้ว เผื่อจะมีประโยชน์สำหรับหลายๆ คนบ้างนะครับ&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;เตรียมโฮส, FTP, ฐานข้อมูล, &lt;a target="_blank" href="http://www.google.com/analytics/" rel="nofollow"&gt;Google Analytic&lt;/a&gt; และ &lt;a target="_blank" href="https://dashboard.wordpress.com/wp-admin/profile.php" rel="nofollow"&gt;Akismet API key&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" href="http://wordpress.org/download/" rel="nofollow"&gt;ดาวน์โหลด Wordpress&lt;/a&gt; อัพโหลดและทำการติดตั้ง&lt;/li&gt;
&lt;li&gt;เปลี่ยนโปรไฟล์และรหัสผ่านของ admin&lt;/li&gt;
&lt;li&gt;สร้าง User ใหม่โดยปรับให้เป็น Administrator role และใช้ User นี้เป็นหลักในการปรับแต่งเว็บ&lt;/li&gt;
&lt;li&gt;ลง Plugins และปรับแต่งดังนี้&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.wingfoss.in.th/content/checklist-wordpress-after-install" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wingfoss?a=s1EFRn9UTz8:qOD95x-LfrU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/wingfoss?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/wingfoss/~4/s1EFRn9UTz8" height="1" width="1"/&gt;</description>
 <comments>http://www.wingfoss.in.th/content/checklist-wordpress-after-install#comments</comments>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.wingfoss.in.th/crss/node/20</wfw:commentRss>
 <category domain="http://www.wingfoss.in.th/tag/checklist">checklist</category>
 <category domain="http://www.wingfoss.in.th/knowledge/wordpress">Wordpress</category>
 <category domain="http://www.wingfoss.in.th/tag/wordpress">Wordpress</category>
 <pubDate>Fri, 01 Jan 2010 14:41:26 +0000</pubDate>
 <dc:creator>winggundamth</dc:creator>
 <guid isPermaLink="false">20 at http://www.wingfoss.in.th</guid>
<feedburner:origLink>http://www.wingfoss.in.th/content/checklist-wordpress-after-install</feedburner:origLink></item>
</channel>
</rss>
