<?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>Just My Life &#187; twitter</title>
	<atom:link href="http://imrgill.com/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://imrgill.com</link>
	<description>I&#039;m mrGilL, I&#039;m Newbie Admin</description>
	<lastBuildDate>Mon, 19 Dec 2011 11:46:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Tweeting แบบดิบๆ ผ่าน Linux Command Line</title>
		<link>http://imrgill.com/2009/12/30/tweeting-via-linux-command-line.html</link>
		<comments>http://imrgill.com/2009/12/30/tweeting-via-linux-command-line.html#comments</comments>
		<pubDate>Wed, 30 Dec 2009 14:58:04 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=515</guid>
		<description><![CDATA[เมื่อกี้เข้า linuxtoday.com ไปเจอทิปเด็ดๆ ใน junauza.com เรื่อง Follow Me: Tweeting from the Linux Command Line อ่านแล้วน่าสนใจดี และหลังจากลองแล้วก็ได้ผลครับเลยนำมาบอกต่อ ขั้นตอนเขามีอยู่ว่า 1. ติดตั้ง curl mrgill@mrgill-laptop:~$ sudo apt-get install curl 2. สร้างไฟล์ชื่อ twitter ไว้ใน /usr/bin/ ด้วย text editor ที่ชอบในตัวอย่างเขาใช้ gedit แต่ผมชอบ nano mrgill@mrgill-laptop:~$ sudo nano /usr/bin/twitter จากนั้นนำโค้ดด้านล่างไปวาง curl --basic --user "yourusername:yourpasswd" --data-ascii "status=`echo $@&#124;tr ' ' '+'`" "http://twitter.com/statuses/update.json" -o /dev/null; [...]]]></description>
			<content:encoded><![CDATA[<p>เมื่อกี้เข้า <a href="http://www.linuxtoday.com/">linuxtoday.com</a> ไปเจอทิปเด็ดๆ ใน <a href="http://www.junauza.com/2009/12/most-popular-tips-and-tricks-of-2009.html">junauza.com</a> เรื่อง <a href="http://www.junauza.com/2009/03/follow-me-twitting-from-linux-command.html">Follow Me: Tweeting from the Linux Command Line</a> อ่านแล้วน่าสนใจดี และหลังจากลองแล้วก็ได้ผลครับเลยนำมาบอกต่อ</p>
<p>ขั้นตอนเขามีอยู่ว่า<br />
1. ติดตั้ง curl</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ sudo apt-get install curl</div>
</pre>
<p>2. สร้างไฟล์ชื่อ twitter ไว้ใน /usr/bin/ ด้วย text editor ที่ชอบในตัวอย่างเขาใช้ gedit แต่ผมชอบ nano</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ sudo nano /usr/bin/twitter</div>
</pre>
<p>จากนั้นนำโค้ดด้านล่างไปวาง</p>
<pre>
<div class="codesnip-container" >curl --basic --user <em>"yourusername:yourpasswd"</em> --data-ascii "status=`echo $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json" -o /dev/null; echo Message Sent!</div>
</pre>
<p>*อย่าลืมเปลี่ยน yourusername กับ yourpasswd เป็นของ twitter ของคุณ (กด Ctrl + O เพื่อบันทึก และกด Ctrl + X เพื่อออก)</p>
<p>3. กำหนดสิทธิ์ให้ /usr/bin/twitter สามารถรันได้<br />
<span id="more-515"></span>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ sudo chmod +x /usr/bin/twitter</div>
</pre>
<p>4. ทดลอง tweeting กันเลย โดยพิมพ์ twitter เว้นวรรค ข้อความของคุณ</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ twitter test tweet from command lind</div>
</pre>
<p style="text-align: left;"><a href="http://www.flickr.com/photos/imrgill/4228553402/sizes/o/"><img class="aligncenter" src="http://farm3.static.flickr.com/2491/4228553402_564196e4f9_o.png" alt="" width="595" height="410" /></a></p>
<p style="text-align: center;">ภาพตัวอย่างคำสั่ง twitter</p>
<p style="text-align: left;"><a href="http://www.flickr.com/photos/imrgill/4228553404/sizes/o/"><img class="aligncenter" src="http://farm3.static.flickr.com/2621/4228553404_4715fffda5_o.png" alt="" width="566" height="380" /></a></p>
<p style="text-align: center;">tweet บน twitter.com</p>
<p style="text-align: left;">5. ขอให้สนุกกับการ tweet</p>
<p style="text-align: left;">
<p style="text-align: left;">แหล่งข้อมูล : <a href="http://www.junauza.com/2009/03/follow-me-twitting-from-linux-command.html" target="_blank">http://www.junauza.com/2009/03/follow-me-twitting-from-linux-command.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/12/30/tweeting-via-linux-command-line.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>วิธีติดตั้ง Adobe Air บน Ubuntu</title>
		<link>http://imrgill.com/2009/10/28/how-to-install-adobe-air-on-ubuntu.html</link>
		<comments>http://imrgill.com/2009/10/28/how-to-install-adobe-air-on-ubuntu.html#comments</comments>
		<pubDate>Tue, 27 Oct 2009 19:35:27 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=242</guid>
		<description><![CDATA[วันก่อนรุ่นน้องถามผมว่า ubuntu ลง adobe air ได้หรือเปล่า ตอนนั้นก็ไม่สนใจอะไรกับคำถามนี้สักเท่าไหร่ วันนี้มี direct messege จาก twitter จาก @JerryTunin ก็ตามลิงค์เข้าไปดู blog ของเขาก็เห็นบทความเรื่องการติดตั้ง adobe air บน ubuntu ของเขาเลยเอามาลองติดตั้งบ้าง ผมจำได้ว่ารู้จักเจ้า adobe air ครั้งแรกจากเจ้า Twitter client ที่ชื่อ Seesmic แต่น่าเสียดายหลังจากที่ผมติดตั้ง adobe air แล้วลองติดตั้ง seesmic ปรากฏว่ามันแสดงภาษาไทยเป็นสี่เหลี่ยมหมดเลย(เศร้า) ลองไป search เรื่อง adobe air สำหรับ ubuntu อีกรอบก็ไปเจอบทความของ @gumara แห่ง ubuntuclub วิธีการติดตั้งก็เหมือนๆ กันครับพี่ @gumara แนะนำโปรแกรม Spaz ซึ่งเป็น Twitter client [...]]]></description>
			<content:encoded><![CDATA[<p>วันก่อนรุ่นน้องถามผมว่า ubuntu ลง adobe air ได้หรือเปล่า ตอนนั้นก็ไม่สนใจอะไรกับคำถามนี้สักเท่าไหร่ วันนี้มี direct messege จาก twitter จาก <a href="http://twitter.com/JerryTunin" target="_blank">@JerryTunin</a> ก็ตามลิงค์เข้าไปดู <a href="http://www.jerrytunin.com/" target="_blank">blog ของเขา</a>ก็เห็นบทความเรื่องการติดตั้ง adobe air บน ubuntu ของเขาเลยเอามาลองติดตั้งบ้าง ผมจำได้ว่ารู้จักเจ้า adobe air ครั้งแรกจากเจ้า Twitter client ที่ชื่อ <a href="http://seesmic.com/" target="_blank">Seesmic</a> แต่น่าเสียดายหลังจากที่ผมติดตั้ง adobe air แล้วลองติดตั้ง seesmic ปรากฏว่ามันแสดงภาษาไทยเป็นสี่เหลี่ยมหมดเลย(เศร้า) ลองไป search เรื่อง adobe air สำหรับ ubuntu อีกรอบก็ไปเจอบทความของ <a href="http://twitter.com/gumara" target="_blank">@gumara</a> แห่ง <a href="http://www.ubuntuclub.com">ubuntuclub</a> วิธีการติดตั้งก็เหมือนๆ กันครับพี่ <a href="http://twitter.com/gumara" target="_blank">@gumara</a> แนะนำโปรแกรม <a href="http://getspaz.com/" target="_blank">Spaz</a> ซึ่งเป็น Twitter client เหมือนกันลองลงแล้วปรากฏว่าใช้งานภาษาไทยได้ดีเยี่ยมครับ</p>
<p>มาดูวิธีการติดตั้ง Adobe Air บน Ubuntu กันเลยครับ</p>
<p>1. เข้าเว็บ <a href="http://get.adobe.com/air/" target="_blank">http://get.adobe.com/air/</a> แล้วคลิกที่ Download ได้เลยครับ(Adobe ฉลาดครับมัน Detect Version สำหรับ Linux ให้เลย เวอร์ชันปัจจุบันคือ 1.5.2) ผม save ไว้ที่ Desktop</p>
<p>2. เปิด Terminal ขึ้นมาครับ ใครเข้าไม่ถูกก็คลิกที่ Applications &gt;&gt; Accessories &gt;&gt; Terminal ครับ</p>
<p>3. ใช้คำสั่ง cd เปลี่ยนตำแหน่งไดเร็กทอรีไปยัง Desktop (ตอนนี้เราอยู่ที่ ~)</p>
<pre>
<div class="codesnip-container" >$ cd Desktop</div>
</pre>
<p>4. กำหนดสิทธิ์ให้กับไฟล์ install</p>
<pre>
<div class="codesnip-container" >$ chmod +x <a href="http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin">AdobeAIRInstaller.bin</a></div>
</pre>
<p>5. มาติดตั้งกันเลยโดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >$ sudo ./AdobeAIRInstaller.bin</div>
</pre>
<div style="text-align: right;"><span id="more-242"></span></div>
<p>6. โปรแกรมจะมี Agreement มาให้อ่านและยอมรับก็กด I Agree ไปเลยครับ<br />
<!-- wp_ad_camp_2 --></p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm4.static.flickr.com/3527/4050688310_e68c2881b5_o.png" alt="" width="480" height="413" />Adobe Air Agreement</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2731/4050688312_be6bb63c47_o.png" alt="" width="480" height="231" />Installing</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2631/4050688314_e03eb64931_o.png" alt="" width="480" height="232" />Installation completed</p>
<p style="text-align: left;">สำหรับการติดตั้ง Adobe Air ก็เสร็จเรียบร้อยแล้วครับ สามารถเรียกใช้งาน Adobe Air ได้จากเมนู Applications &gt;&gt; Accessories &gt;&gt; Adobe Air Application Installer</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm4.static.flickr.com/3532/4050848076_e58f0701bd_o.png" alt="" width="515" height="358" />Adobe Air Application Installer</p>
<p style="text-align: left;">ลองทดลองติดตั้ง Spaz กันดูครับ</p>
<p style="text-align: left;">1. โดยเปิด Firefox แล้วเข้าไปที่หน้า <a href="http://getspaz.com/#desktop-download" target="_blank">http://getspaz.com/#desktop-download</a> ตรง Manual Install คลิก <a href="http://funkatron.com/getspaz">Download Spaz</a> จากนั้น Firefox จะถามว่าจะให้เรา save หรือเปิดโดยโปรแกรม Adobe Air ก็ให้ Open with Adobe Air Application Installer แล้วกด OK ไปเลยครับ</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2566/4050145881_760cfd3af0_o.png" alt="" width="456" height="330" />Firefox Opening SpazAIR.air</p>
<p style="text-align: left;">จากนั้นทำตาม Wizard ไปเรื่อยๆ</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2501/4050177205_781e659460_o.png" alt="" width="276" height="529" /><br />
หน้าตาของ Spaz</p>
<p style="text-align: left;">การถอนโปรแกรมที่ติดตั้งบน Adobe Air ทำได้โดยตรวจสอบโปรแกรมนั้นผ่าน dpkg &#8211;list | grep -i packagename ว่าโปรแกรมที่ติดตั้งลงไปนั้นมีชื่อว่าอะไร จากนั้นก็ถอนการติดตั้งด้วยคำสั่ง dpkg -r ตามด้วยชื่อที่ได้จากคำสั่งแรก</p>
<p style="text-align: left;">ตัวอย่าง</p>
<pre>
<div class="codesnip-container" >$ sudo dpkg --list | grep -i spaz
ii  spaz.air.16cb261d461b1ca2027f7c39946115fa2dc8cd7f.1                   0.8.2                                      A Twitter client
$ sudo dpkg -r spaz.air.16cb261d461b1ca2027f7c39946115fa2dc8cd7f.1
(Reading database ... 161525 files and directories currently installed.)
Removing spaz.air.16cb261d461b1ca2027f7c39946115fa2dc8cd7f.1 ...
Processing triggers for software-center ...</div>
</pre>
<p style="text-align: left;">และหากต้องการถอนการติดตั้ง Adobe Air ก็สามารถเข้าไปที่เมนู Applications &gt;&gt; Accessories &gt;&gt; Adobe Air Uninstaller ได้เลยครับ</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2531/4050108473_1a379f154c_o.png" alt="" width="479" height="322" />Adobe Air Uninstaller</p>
<p style="text-align: left;">ลองนำไปใช้กันดู</p>
<p style="text-align: left;"><!-- wp_ad_camp_1 --></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/10/28/how-to-install-adobe-air-on-ubuntu.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

