<?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: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/" version="2.0">

<channel>
	<title>EngineerBALL</title>
	
	<link>http://engineerball.com</link>
	<description>ไม่บันทึกเดี๋ยวก็ลืม</description>
	<lastBuildDate>Wed, 22 Feb 2012 05:17:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Engineerball" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="engineerball" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Query email user from MediaWiki</title>
		<link>http://engineerball.com/1786-query-users-email-mediawiki.html</link>
		<comments>http://engineerball.com/1786-query-users-email-mediawiki.html#comments</comments>
		<pubDate>Wed, 22 Feb 2012 05:16:39 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Engineerball]]></category>
		<category><![CDATA[TK's LAB]]></category>
		<category><![CDATA[blob]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1786</guid>
		<description><![CDATA[ว่าจะเอาของ user ที่ใช้งาน mediawiki ออกมาสักหน่อย แต่ไปดู value บน table แล้วดันเป็น type BLOB (binary large object) query ออกมาก็ไม่เจอ ก็เลยหาวิธี นี่เป็นวิธีในการดึง value ออกมาจาก filed ที่เป็น BLOB type ครับ ตัวอย่างที่ผม query select user_email, SUBSTRING(user_email,1,2000) from user]]></description>
			<content:encoded><![CDATA[<p>ว่าจะเอาของ user ที่ใช้งาน mediawiki ออกมาสักหน่อย แต่ไปดู value บน table แล้วดันเป็น type BLOB (binary large object) query ออกมาก็ไม่เจอ ก็เลยหาวิธี นี่เป็นวิธีในการดึง value ออกมาจาก filed ที่เป็น BLOB type ครับ</p>
<p>ตัวอย่างที่ผม query</p>
<pre>select user_email, SUBSTRING(user_email,1,2000) from user</pre>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1786-query-users-email-mediawiki.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ปลุกน้อง x กลับมาเล่นเกมที่มี AP 2.5 อีกครั้งหลังจาก update ไป</title>
		<link>http://engineerball.com/1767-%e0%b8%9b%e0%b8%a5%e0%b8%b8%e0%b8%81%e0%b8%99%e0%b9%89%e0%b8%ad%e0%b8%87-x-%e0%b8%81%e0%b8%a5%e0%b8%b1%e0%b8%9a%e0%b8%a1%e0%b8%b2%e0%b9%80%e0%b8%a5%e0%b9%88%e0%b8%99%e0%b9%80%e0%b8%81%e0%b8%a1.html</link>
		<comments>http://engineerball.com/1767-%e0%b8%9b%e0%b8%a5%e0%b8%b8%e0%b8%81%e0%b8%99%e0%b9%89%e0%b8%ad%e0%b8%87-x-%e0%b8%81%e0%b8%a5%e0%b8%b1%e0%b8%9a%e0%b8%a1%e0%b8%b2%e0%b9%80%e0%b8%a5%e0%b9%88%e0%b8%99%e0%b9%80%e0%b8%81%e0%b8%a1.html#comments</comments>
		<pubDate>Thu, 24 Nov 2011 04:05:06 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Engineerball]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[TK's LAB]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[xbox360]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1767</guid>
		<description><![CDATA[วิธีนี้เป็นการแก้ไขชั่วคราวในการทำให้ xbox ที่ผ่านการทำ firmware LT2.0+ แล้วไป update online หลังวันที่ 17/11/2011 และทำให้ไม่สามารถเล่นเกมส์ที่โดน patch แก้การป้องกัน AP2.5 ให้สามารถใช้งานได้ใหม่]]></description>
			<content:encoded><![CDATA[<p>วันที่ 20/11/2011 ด้วยความที่อยาก online เจ้า xbox360 เลยลองต่อ live ซักหน่อย</p>
<p><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/308844_290720204296008_100000740915425_920684_1901761311_n.jpg"><img class="aligncenter size-medium wp-image-1770" title="308844_290720204296008_100000740915425_920684_1901761311_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/308844_290720204296008_100000740915425_920684_1901761311_n-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/385785_290720474295981_100000740915425_920685_1934458206_n.jpg"><br />
</a></p>
<p>ก็ทำตามวิธีไปได้สักพักเหมือนจะเข้าไปใน live ได้</p>
<p><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/385785_290720474295981_100000740915425_920685_1934458206_n.jpg"><img class="aligncenter size-medium wp-image-1769" title="385785_290720474295981_100000740915425_920685_1934458206_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/385785_290720474295981_100000740915425_920685_1934458206_n-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>ไหนลอง online กับ FIFA12 หน่อย ปรากฏว่าได้</p>
<p><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/375594_290725707628791_100000740915425_920698_167362258_n.jpg"><img class="aligncenter size-medium wp-image-1774" title="375594_290725707628791_100000740915425_920698_167362258_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/375594_290725707628791_100000740915425_920698_167362258_n-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>แต่พอจะเข้าเกม MW3 เท่านั้นแหล่ะ ขึ้นหน้าจอมาว่า Disc unsupport แย่แล้ว <img src='http://engineerball.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
<a href="http://engineerball.com/blog/wp-content/uploads/2011/11/317574_290727250961970_100000740915425_920699_1043785557_n.jpg"><img class="aligncenter size-medium wp-image-1773" title="317574_290727250961970_100000740915425_920699_1043785557_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/317574_290727250961970_100000740915425_920699_1043785557_n-300x225.jpg" alt="" width="300" height="225" /></a><br />
กลับไปนั่งๆ ค้นข้อมูลพบว่ามีการแจ้ง update patch จากทาง microsoft ดังนี้<br />
วันที่ 17  ได้ปล่อยระบบป้องกันตัวใหม่ผ่านทางระบบออนไลน์ ซึ่งใครก็ตามที่เชื่อมต่อระบบ จะไม่สามารถเล่นเเผ่น เกมส์ที่มี AP 2.5 ทั้งหมดซึ่ง เกมส์ที่เป็นเเผ่นตัวใหม่ที่ต้องมาเเปลง  LT+ 2.0 ทั้งหมดจะมีระบบป้องกันตัวนี้ติดมาด้วยทั้งนั้น</p>
<p>ค้นหาข้อมูลสักพักก็เจอวิธีที่ทาง Ubergeek ได้เขียนไว้ใน forum ของ iXtreme ได้เขียนไว้ว่า</p>
<blockquote><p>For this example we are going to use MW3.</p>
<p>1. Get a USB flash drive, At least 1GB in size and format it (FAT)</p>
<p>2. Insert into Xbox and goto memory devices. Select USB and configure it as a storage device.</p>
<p>3. Download this MW3 Title Update. <a href="http://www.multiupload.com/YNO57JNJNV" rel="nofollow" target="_blank">Click here</a>.</p>
<p>4. Download Horizon (Great game modding app btw &#8211; JTAG / Glitchers should be using the shit out of this &#8211; you can use other apps but this is my tool of choice). <a href="http://www.xboxmb.com/horizon/" rel="nofollow" target="_blank">Click here</a></p>
<p>5. Select Tools &gt; Device Explorer</p>
<p>6. Plug in USB device to PC</p>
<p>7. Device will be detected. Select Inject File</p>
<p>8. Load the the MW3 TU that you downloaded.</p>
<p>9. Connect the USB stick to your Xbox. Restart and boot your MW3 backup.</p>
<p>Notes: You may have to delete the system cache after every time you do a fresh boot of the game. But hey, it works.</p>
<p>You can get other title updates from here: <a href="http://www.xbuc.net/" rel="nofollow" target="_blank">http://www.xbuc.net<br />
</a></p></blockquote>
<p>ทำตามแล้ว ลองดูอีกครั้งกับเกม Saints Row : The third ผลคือ เล่นได้</p>
<p><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/375669_291954000839295_100000740915425_922698_185603165_n.jpg"><img class="aligncenter size-medium wp-image-1775" title="375669_291954000839295_100000740915425_922698_185603165_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/375669_291954000839295_100000740915425_922698_185603165_n-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>ลองกับ Gears of War 3 หน่อย ผลคือ ผ่าน</p>
<p><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/311980_291958357505526_100000740915425_922710_391318815_n.jpg"><img class="aligncenter size-medium wp-image-1771" title="311980_291958357505526_100000740915425_922710_391318815_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/311980_291958357505526_100000740915425_922710_391318815_n-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>ลองกับ Batman Akhram City ผลคือ ผ่าน</p>
<p><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/313048_291984654169563_100000740915425_922797_1747895239_n.jpg"><img class="aligncenter size-medium wp-image-1772" title="313048_291984654169563_100000740915425_922797_1747895239_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/313048_291984654169563_100000740915425_922797_1747895239_n-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>สุดท้ายลองกับ Call of Duty : Modern Warfare 3  ผลคือ ผ่าน</p>
<p><a href="http://engineerball.com/blog/wp-content/uploads/2011/11/381321_291980050836690_100000740915425_922772_1928716703_n.jpg"><img class="aligncenter size-medium wp-image-1776" title="381321_291980050836690_100000740915425_922772_1928716703_n" src="http://engineerball.com/blog/wp-content/uploads/2011/11/381321_291980050836690_100000740915425_922772_1928716703_n-300x225.jpg" alt="" width="300" height="225" /></a></p>
<h3>สรุป</h3>
<p>วิธีนี้เป็นการแก้ไขชั่วคราวในการทำให้ xbox ที่ผ่านการทำ firmware LT2.0+ แล้วไป update online หลังวันที่ 17/11/2011 และทำให้ไม่สามารถเล่นเกมส์ที่โดน patch แก้การป้องกัน AP2.5 ให้สามารถใช้งานได้ใหม่ โดยก็ต้องเสียบ USB Drive ทิ้งไว้อย่างนั้น และรอต่อไปว่าจะมี TU update มาให้เราอีกทีเมื่อไร ตอนนี้ก็รอ<a href="http://team-xecuter.com/ixtreme-lt-3-0-is-coming-daeap25-gets-the-silver-bullet/"> LT3.0</a> ได้ข่าวแว่วๆ ว่ากำลังพัฒนากันแล้ว รอต่อไป</p>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1767-%e0%b8%9b%e0%b8%a5%e0%b8%b8%e0%b8%81%e0%b8%99%e0%b9%89%e0%b8%ad%e0%b8%87-x-%e0%b8%81%e0%b8%a5%e0%b8%b1%e0%b8%9a%e0%b8%a1%e0%b8%b2%e0%b9%80%e0%b8%a5%e0%b9%88%e0%b8%99%e0%b9%80%e0%b8%81%e0%b8%a1.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ผมไม่ใช่ ยูไนเต็ด</title>
		<link>http://engineerball.com/1757-%e0%b8%9c%e0%b8%a1%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b9%83%e0%b8%8a%e0%b9%88-%e0%b8%a2%e0%b8%b9%e0%b9%84%e0%b8%99%e0%b9%80%e0%b8%95%e0%b9%87%e0%b8%94.html</link>
		<comments>http://engineerball.com/1757-%e0%b8%9c%e0%b8%a1%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b9%83%e0%b8%8a%e0%b9%88-%e0%b8%a2%e0%b8%b9%e0%b9%84%e0%b8%99%e0%b9%80%e0%b8%95%e0%b9%87%e0%b8%94.html#comments</comments>
		<pubDate>Tue, 25 Oct 2011 07:13:39 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Engineerball]]></category>
		<category><![CDATA[Playground]]></category>
		<category><![CDATA[fans]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[spurs]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1757</guid>
		<description><![CDATA[หลังจากที่แมนเชสเตอร์ ยูไนเต็ดแพ้แมนเชสเตอร์ ซิตี้ คาบ้านเละเทะ 1-6 เพื่อนๆ หลายคนก็ทำสิ่งเดิมคือโทรมาเยาะเย้ย ผมก็ได้แต่บอกว่า ตอนนี้ผมไม่ใช่แฟนยูไนเต็ดแล้ว แล้วพวกนี้ก็จะตอกผมกลับว่าไรวะ อายนี่หว่า, กลัวนี่หว่า จริงๆแล้วผมไม่ได้กลัวอาย หรือว่าอะไรทั้งนั้น จะชี้แจงเหตุผลว่าทำไมถึงได้เปลี่ยนใจหลังจากขายวิญญาณให้ยูไนเต็ดถึง 17 ปี]]></description>
			<content:encoded><![CDATA[<p>หลังจากที่แมนเชสเตอร์ ยูไนเต็ดแพ้แมนเชสเตอร์ ซิตี้ คาบ้านเละเทะ 1-6 เพื่อนๆ หลายคนก็ทำสิ่งเดิมคือโทรมาเยาะเย้ย ผมก็ได้แต่บอกว่า ตอนนี้ผมไม่ใช่แฟนยูไนเต็ดแล้ว แล้วพวกนี้ก็จะตอกผมกลับว่าไรวะ อายนี่หว่า, กลัวนี่หว่า จริงๆแล้วผมไม่ได้กลัวอาย หรือว่าอะไรทั้งนั้น จะชี้แจงเหตุผลว่าทำไมถึงได้เปลี่ยนใจหลังจากขายวิญญาณให้ยูไนเต็ดถึง 17 ปี</p>
<p>ผมดูและติดตามเชียร์ยูไนเต็ดมาตลอดดูแทบทุกนัดที่มีโอกาสได้ดู ฮีโร่ของผมก็คือ เอริค คันโตน่า ซึ่งบรรดาเร้ดอาร์มี่ต่างก็ยกย่องให้นักฟุตบอลคนนี้เป็นดั่งพระเจ้าของพวกเขา จนมาถึงปี 2009 ผมเห็นทีมท็อตแนมส์ ฮอตสเปอร์ เป็นทีมที่สตาร์ดังๆ ระดับโลกไม่ค่อยมี แต่ผลงานในพรีเมียร์ลีกนั้น ถือว่าใช้ได้เลย สามารถเบียดลิเวอร์พูลลง และคว้าตั๋วใบที่ 4 ในการไปเตะฟุตบอลยูฟ่าแชมป์เปี้ยนลีกส์ได้ นี่แหล่ะ คือทีมที่ผมต้องการจะเชียร์อย่างแท้จริง</p>
<p>เหตุผลที่ตัดสินใจจะเชียร์ก็จะมี<br />
1. ชื่อเสียงของทีมอยู่ในระดับกลางแต่สามารถพยายามช่วยกันจนได้อันดับ 4<br />
2. นักเตะไร้สตาร์ดังแต่ก็ช่วยกันจนได้อันดับ 4<br />
3. เป็นทีมที่เล่นเกมรุกได้อย่างเร้าใจ (จากเกม สเปอร์ส 9 -- 1 วีแกน เมื่อปี 2009)<br />
<span class="youtube">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/y2fn0woJBj0?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="opaque" src="http://www.youtube.com/v/y2fn0woJBj0?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355"></embed>
<param name="wmode" value="opaque" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=y2fn0woJBj0">www.youtube.com/watch?v=y2fn0woJBj0</a></p><br />
4. เกเร็ธ เบล เป็นนักเตะที่ผมได้ยินชื่อตั้งแต่ปี 2004 ตอนนี้ผู้จัดการทีมแฮรี่ เร้ดแนปป์ ได้ดันกองหลังคนนี้ขึ้นมาเล่นกองกลาง และทำผลงานดีอย่างไม่น่าเชื่อ<br />
ในปี 2010<br />
<img class="alignnone" title="เกเร็ธ เบล" src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Gareth_Bale_Tottenham.jpg/413px-Gareth_Bale_Tottenham.jpg" alt="" width="268" height="311" /><br />
5. ได้นักเตะดาวดังอย่าง ราฟาเอล ฟานเดอร์ ฟาร์ท อย่างเหลือเชื่อ ในช่วงฟุตบอลโลก <img class="alignnone" title="ราฟาเอล ฟานเดอร์ ฟาร์ท" src="http://i.dailymail.co.uk/i/pix/2010/09/01/article-0-0B007E93000005DC-832_468x315.jpg" alt="" width="414" height="278" /></p>
<p>6. ช่วยกันฟันฝ่าอุปสรรคในเกมยุโรปเกมแรกกับ อินเตอร์ มิลาน ที่เหลือ 10 ตัวและโดนนำถึง 4-0 ตั้งแต่ครึ่งแรก แต่สามารถสู้ด้วยสกอร์ 4-3 ได้ เกมนี้เบลทำแฮตทริคและทำให้กองหลังระดับโลกอย่าง ไมค่อน ถึงกับไปไม่เป็นวิ่งตามกันไม่ทันเลยทีเดียว <iframe src="http://www.dailymotion.com/embed/video/xfasus" frameborder="0" width="480" height="276"></iframe><br />
<a href="http://www.dailymotion.com/video/xfasus_inter-milan-v-tottenham-hotspur_sport" target="_blank">Inter Milan v Tottenham Hotspur</a> <em>by <a href="http://www.dailymotion.com/vannisteltoy" target="_blank">vannisteltoy</a></em></p>
<p>7. ชนะได้ทั้ง อินเตอร์ มิลาน, เอซี มิลาน ยอดทีมจากอิตาลี จนเข้าไปถึงรอบ 4 ทีมสุดท้ายไปจอดอยู่ที่ เรอัล มาดริด ยอดทีมจากสเปน แค่นี้ก็ถือว่าประสบความสำเร็จใจการเตะบอลยุโรปครั้งแรก<br />
8. ผมเริ่มเฉยชากับชัยชนะแต่ละครั้งของแมนฯ ยูไนเต็ด อาจจะเป็นทีมที่พร้อมจะประสบความสำเร็จอยู่แล้ว ชนะแต่ละครั้งมันจึงเป็นเรื่องปกติ<br />
9. ผมเริ่มไม่ชอบกับแฟนยูไนเต็ดบางกลุ่มที่ชอบถากถาง ชอบโม้ว่าทีมตัวเองเก่ง ทีมตัวเองชนะ ชอบถากถางคนแพ้ โอเค ยอมรับว่ามันเป็นสีสันของกองเชียร์ แต่อยากลองเป็นคนซ้ำเติมแฟนยูไนเต็ดกลุ่มนั้นบ้าง หากมีโอกาส คงจะแปลกไปอีกแบบ <img src='http://engineerball.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
10. อันนี้อาจไม่ใช่เหตุผลที่น่าฟังเท่าไรนักนั่นก็คือ ผมชอบทีมที่ใส่เสื้อสีขาว ฮา</p>
<p>ครับ โดยรวมแล้ว ได้เชียร์และติดตามเชียร์สเปอร์ส ทีมจากลอนดอน ผู้เป็นอริกับทีมอาร์เซนอล เป็นทีมที่แพ้ทางแมนเชสเตอร์ ยูไนเต็ดตลอดมา มันก็เป็นสีสันถ้ามีการพลิกเอาชนะได้ ฤดูกาลนี้จะเป็นยังไงในเกมยูโรปาลีกส์ เกมพรีเมียร์ชิพก็ต้องติดตามเชียร์กันต่อไปครับ เชียร์ทีมเก่งมาแล้ว มาเีชียร์ทีมไม่เก่งบ้างจะเป็นไรไป</p>
<p><span class="youtube">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/A8XAIcz_TNM?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="opaque" src="http://www.youtube.com/v/A8XAIcz_TNM?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355"></embed>
<param name="wmode" value="opaque" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=A8XAIcz_TNM">www.youtube.com/watch?v=A8XAIcz_TNM</a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1757-%e0%b8%9c%e0%b8%a1%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b9%83%e0%b8%8a%e0%b9%88-%e0%b8%a2%e0%b8%b9%e0%b9%84%e0%b8%99%e0%b9%80%e0%b8%95%e0%b9%87%e0%b8%94.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fun with linux : banner text base</title>
		<link>http://engineerball.com/1745-fun-linux-text-banner-base.html</link>
		<comments>http://engineerball.com/1745-fun-linux-text-banner-base.html#comments</comments>
		<pubDate>Sat, 22 Oct 2011 11:39:21 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1745</guid>
		<description><![CDATA[banner คือป้ายแสดง ป้ายข้อความ บน linux ก็สามารถทำได้เช่นกัน จะมาหาอะไรทำสนุกบน linux ครับ ภายใต้การใช้งาน terminal ซึ่งตัวอย่าง banner text เป็นแบบนี้ครับ]]></description>
			<content:encoded><![CDATA[<p>banner คือป้ายแสดง ป้ายข้อความ บน linux ก็สามารถทำได้เช่นกัน จะมาหาอะไรทำสนุกบน linux ครับ ภายใต้การใช้งาน terminal ซึ่งตัวอย่าง banner text เป็นแบบนี้ครับ</p>
<blockquote>
<pre>
 _____             _                      ____    _    _     _
| ____|_ __   __ _(_)_ __   ___  ___ _ __| __ )  / \  | |   | |
|  _| | '_ \ / _` | | '_ \ / _ \/ _ \ '__|  _ \ / _ \ | |   | |
| |___| | | | (_| | | | | |  __/  __/ |  | |_) / ___ \| |___| |___
|_____|_| |_|\__, |_|_| |_|\___|\___|_|  |____/_/   \_\_____|_____|
             |___/
</pre>
</blockquote>
<p>โปรแกรมที่สามาถทำได้คือ โปรแกรม figlet</p>
<p>ติดตั้งดังนี้</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1"><span class="kw2">sudo</span> <span class="kw2">apt-get install</span> figlet</pre></div></div></div></div></div></div></div>


<p>การใช้งาน</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1">figlet <span class="st_h">'EngineerBALL'</span></pre></div></div></div></div></div></div></div>


<p>เพิ่มเติมการใช้งานอีกรูปแบบครับ ด้วยโปรแกรม banner</p>
<p>การติดตั้ง</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1"><span class="kw2">sudo</span> <span class="kw2">apt-get install</span> sysvbanner</pre></div></div></div></div></div></div></div>


<p>การใช้งาน</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1">banner <span class="st0">&quot;BALL&quot;</span></pre></div></div></div></div></div></div></div>


<p>ผลที่ได้</p>
<blockquote>
<pre>
######     #    #       #
#     #   # #   #       #
#     #  #   #  #       #
######  #     # #       #
#     # ####### #       #
#     # #     # #       #
######  #     # ####### #######
</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1745-fun-linux-text-banner-base.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tar directory and exclude sub-directory</title>
		<link>http://engineerball.com/1735-tarb-directory-exclude-subdirectory.html</link>
		<comments>http://engineerball.com/1735-tarb-directory-exclude-subdirectory.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 06:59:20 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1735</guid>
		<description><![CDATA[Mostly backup command in linux use tar command and if you want to backup directory and not need several sub-directory in root directory, you can use this tar -cvzfp ./dirctoryname-backup.tar.gz --exclude=/folderA/foldera]]></description>
			<content:encoded><![CDATA[<p>Mostly backup command in linux use tar command and if you want to backup directory and not need several sub-directory in root directory, you can use this</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1"><span class="kw2">tar</span> <span class="re5">-cvzfp</span> .<span class="sy0">/</span>dirctoryname-backup.tar.gz <span class="re5">--exclude</span>=<span class="sy0">/</span>folderA<span class="sy0">/</span>foldera</pre></div></div></div></div></div></div></div>


]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1735-tarb-directory-exclude-subdirectory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keep Connection Alive on SSH</title>
		<link>http://engineerball.com/1627-connection-alive-ssh.html</link>
		<comments>http://engineerball.com/1627-connection-alive-ssh.html#comments</comments>
		<pubDate>Wed, 20 Jul 2011 15:52:38 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Engineerball]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[TK's LAB]]></category>
		<category><![CDATA[alive]]></category>
		<category><![CDATA[keep]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tcp]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1627</guid>
		<description><![CDATA[บางครั้งอาจหงุดหงิดในการ SSH ไปยัง Server และมีการตัดการเชื่อมต่อถ้าเราไม่ได้ทำอะไรหรือ Idle บางครั้งมันก็น่ารำคาญที่จะต้องมาคอย login ใหม่ การแก้ไขสามารถใส่ลงไปในค่า config ของ ssh ส่วนตัวของเราได้ ด้วยการแก้ไขไฟล์
]]></description>
			<content:encoded><![CDATA[<p><img src='http://engineerball.com/blog/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/1627.png&amp;w=250&amp;h=170&amp;zc=1&amp;ft=png' alt='post thumbnail' /></p>
<p>บางครั้งอาจหงุดหงิดในการ SSH ไปยัง Server และมีการตัดการเชื่อมต่อถ้าเราไม่ได้ทำอะไรหรือ Idle บางครั้งมันก็น่ารำคาญที่จะต้องมาคอย login ใหม่ การแก้ไขสามารถใส่ลงไปในค่า config ของ ssh ส่วนตัวของเราได้ ด้วยการแก้ไขไฟล์</p>

<div class="wp-terminal">user@computer:$ vi ~/.ssh/config<br/></div>

<p>และเพิ่มข้อความนี้ลงไป</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="bash"><pre class="de1">Server <span class="sy0">*</span>
ServerAliveInterval <span class="nu0">60</span></pre></div></div></div></div></div></div></div>


<p>เพียงเท่านี้ server ก็จะไม่ตัด connection ถ้ามีการ idle แล้วครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1627-connection-alive-ssh.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search and Replace string in Linux</title>
		<link>http://engineerball.com/1599-search-replace-string-linux.html</link>
		<comments>http://engineerball.com/1599-search-replace-string-linux.html#comments</comments>
		<pubDate>Mon, 04 Apr 2011 14:44:22 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Engineerball]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1599</guid>
		<description><![CDATA[ห่างหายการเขียนบล็อคไปเกือบครึ่งปี เหตุเกิดมาจากติดเกมงอมแงม ในโพสต์นี้จะนำเสนอทริคเล็กๆ น้อยๆ ในการ search และ replace string ลักษณการใช้งานจะเป็นอย่างนี้ครับ]]></description>
			<content:encoded><![CDATA[<p><img src='http://engineerball.com/blog/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/1599.jpg&amp;w=250&amp;h=170&amp;zc=1&amp;ft=png' alt='post thumbnail' /></p>
<p>ห่างหายการเขียนบล็อคไปเกือบครึ่งปี เหตุเกิดมาจากติดเกมงอมแงม ในโพสต์นี้จะนำเสนอทริคเล็กๆ น้อยๆ ในการ search และ replace string ลักษณการใช้งานจะเป็นอย่างนี้ครับ<br />
<code><br />
find . -name "*.type" -exec sed -i 's/old/new/g' {} \;</code></p>
<p>ใช้คำสั่ง find เพื่อค้นหาไฟล์ที่มีนามสกุลตามที่ต้องการ (Regex) หลังจากนั้นให้ทำคำสั่ง (exec) sed เพื่อ search และ replace string ในไฟล์ที่โดนค้นหาครับ ({})</p>
<p>เช่น ผมมีไฟล์ SQL อยู่หลายๆ ไฟล์ ผมต้องการจะเปลี่ยนคำว่า MyISAM ในไฟล์ SQL ทั้งหมดนี้ ให้เปลี่ยนเป็น InnoDB จะใช้ดังตัวอย่างนี้ครับ</p>

<div class="wp-terminal">user@computer:$ file /tmp -name "*.sql" -exec sed -i 's/MyISAM/InnoDB/g' {} \;<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1599-search-replace-string-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export Query Via SQL Command</title>
		<link>http://engineerball.com/1590-export-query-sql-command.html</link>
		<comments>http://engineerball.com/1590-export-query-sql-command.html#comments</comments>
		<pubDate>Sun, 12 Dec 2010 09:46:00 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1590</guid>
		<description><![CDATA[พอดีว่าใช้งานบน terminal บ่อยยิ่งกว่า mysql tool client หรือว่า phpmyadmin เสียอีก สิ่งนึงที่ใช้บ่อยก็คือการ export ผลลัพท์ออกมาเป็นไฟล์ csv,txt,xls ต่างๆ รูปแบบการใช้งานก็จะเป็นดังนี้ครับ]]></description>
			<content:encoded><![CDATA[<p><img src='http://engineerball.com/blog/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/1590.jpg&amp;w=250&amp;h=170&amp;zc=1&amp;ft=png' alt='post thumbnail' /></p>
<p>พอดีว่าใช้งานบน terminal บ่อยยิ่งกว่า mysql tool client หรือว่า phpmyadmin เสียอีก สิ่งนึงที่ใช้บ่อยก็คือการ export ผลลัพท์ออกมาเป็นไฟล์ csv,txt,xls ต่างๆ รูปแบบการใช้งานก็จะเป็นดังนี้ครับ</p>
<p>[sql]</p>
<p>SELECT [column1, column2,...]<br />
FROM [table_name]<br />
WHERE [condition]<br />
GROUP BY [colunm1, column2,...]<br />
ORDER BY [colunm1, column2,...]<br />
LIMIT [Number]<br />
INTO OUTFILE [output to file]<br />
FIELDS TERMINATED BY [character]<br />
ENCLOSED BY [character]<br />
LINES TERMINATED BY [character]</p>
<p>[/sql]</p>
<p>ตัวอย่างการใช้งานนี้ครับ ไฟล์ output จะถูกเก็บอยู่ใน /tmp/export.csv</p>
<p>[sql]</p>
<p>SELECT user_id ,COUNT(user_id) AS count_row<br />
FROM users<br />
WHERE af=&#8217;v7&#8242;<br />
GROUP BY user_id<br />
ORDER BY count_row DESC<br />
LIMIT 100<br />
INTO OUTFILE &#8216;/tmp/export.csv&#8217;<br />
FIELDS TERMINATED BY &#8216;,&#8217;<br />
ENCLOSED BY &#8216;&quot;&#8217;<br />
LINES TERMINATED BY &#8216;\n&#8217;<br />
[/sql]</p>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1590-export-query-sql-command.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View from my window</title>
		<link>http://engineerball.com/1580-view-window.html</link>
		<comments>http://engineerball.com/1580-view-window.html#comments</comments>
		<pubDate>Mon, 04 Oct 2010 12:47:20 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Engineerball]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[Playground]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Canon 450D Kit]]></category>
		<category><![CDATA[night]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1580</guid>
		<description><![CDATA[The night shots from Cannon 450D at my window to the night life at Bangkok]]></description>
			<content:encoded><![CDATA[<p><img src='http://engineerball.com/blog/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/1580.jpg&amp;w=250&amp;h=170&amp;zc=1&amp;ft=png' alt='post thumbnail' /></p>
<p>The night shots from Cannon 450D at my window to the night life at Bangkok<br />
<a href="http://farm5.static.flickr.com/4154/5049075537_4e7c238837_b.jpg"><img class="alignnone" title="cubic clock" src="http://farm5.static.flickr.com/4154/5049075537_4e7c238837_b.jpg" alt="" width="514" height="309" /></a></p>
<p><a href="http://farm5.static.flickr.com/4151/5049695600_4dcf4e6784_b.jpg"><img class="alignnone" title="night1" src="http://farm5.static.flickr.com/4151/5049695600_4dcf4e6784_b.jpg" alt="" width="514" height="309" /></a></p>
<p><a href="http://farm5.static.flickr.com/4129/5049696822_97cd9a17f5_b.jpg"><img class="alignnone" title="night2" src="http://farm5.static.flickr.com/4129/5049696822_97cd9a17f5_b.jpg" alt="" width="514" height="309" /></a></p>
<p><a href="http://farm5.static.flickr.com/4126/5049079719_2e7c7af1a5_b.jpg"><img class="alignnone" title="night3" src="http://farm5.static.flickr.com/4126/5049079719_2e7c7af1a5_b.jpg" alt="" width="514" height="309" /></a></p>
<p><a href="http://farm5.static.flickr.com/4089/5049082407_ba37b17b75_b.jpg"><img class="alignnone" title="night4" src="http://farm5.static.flickr.com/4089/5049082407_ba37b17b75_b.jpg" alt="" width="514" height="309" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1580-view-window.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Essential Key Command in Linux Terminal</title>
		<link>http://engineerball.com/1565-essential-key-command-linux-terminal.html</link>
		<comments>http://engineerball.com/1565-essential-key-command-linux-terminal.html#comments</comments>
		<pubDate>Tue, 28 Sep 2010 16:31:02 +0000</pubDate>
		<dc:creator>ball</dc:creator>
				<category><![CDATA[Engineerball]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[TK's LAB]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://engineerball.com/?p=1565</guid>
		<description><![CDATA[Comand line key	Functions
Ctrl + a	Move the cursor to the beginning of the current line
Ctrl + e	Move the cursor to the end of the current line
Alt + b	Move the cursor to the beginning of the current or previous word
Alt + f	Move the cursor to the end of the next word]]></description>
			<content:encoded><![CDATA[<p><img src='http://engineerball.com/blog/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/1565.jpg&amp;w=250&amp;h=170&amp;zc=1&amp;ft=png' alt='post thumbnail' /></p>
<h1>Terminal key command</h1>
<table>
<tbody>
<tr>
<td align="left" width="115" height="19">Comand line key</td>
<td align="left" width="467">Functions</td>
</tr>
<tr>
<td align="left" height="19">Ctrl + a</td>
<td align="left">Move the cursor to the beginning of the current line</td>
</tr>
<tr>
<td align="left" height="19">Ctrl + e</td>
<td align="left">Move the cursor to the end of the current line</td>
</tr>
<tr>
<td align="left" height="19">Alt + b</td>
<td align="left">Move the cursor to the beginning of the current or previous word</td>
</tr>
<tr>
<td align="left" height="19">Alt + f</td>
<td align="left">Move the cursor to the end of the next word</td>
</tr>
<tr>
<td align="left" height="19">Ctrl + u</td>
<td align="left">Erase the current line</td>
</tr>
<tr>
<td align="left" height="19">Ctrl + k</td>
<td align="left">Delete the line from the position of the cursor to the end of the line</td>
</tr>
<tr>
<td align="left" height="19">Ctrl + w</td>
<td align="left">Delete the word before the cusor</td>
</tr>
</tbody>
</table>
<h1>Vim key command cheat sheet</h1>
<p><a href="http://www.viemu.com/vi-vim-cheat-sheet.gif"><img class="alignnone" title="vim cheat sheet" src="http://www.viemu.com/vi-vim-cheat-sheet.gif" alt="" width="400" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://engineerball.com/1565-essential-key-command-linux-terminal.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.428 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-23 21:30:20 -->

