Tag: twitter

Tweeting แบบดิบๆ ผ่าน Linux Command Line

เมื่อกี้เข้า 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 $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json" -o /dev/null; echo Message Sent!

*อย่าลืมเปลี่ยน yourusername กับ yourpasswd เป็นของ twitter ของคุณ (กด Ctrl + O เพื่อบันทึก และกด Ctrl + X เพื่อออก)

3. กำหนดสิทธิ์ให้ /usr/bin/twitter สามารถรันได้
(more…)

1 Comment December 30, 2009

วิธีติดตั้ง Adobe Air บน Ubuntu

วันก่อนรุ่นน้องถามผมว่า 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 เหมือนกันลองลงแล้วปรากฏว่าใช้งานภาษาไทยได้ดีเยี่ยมครับ

มาดูวิธีการติดตั้ง Adobe Air บน Ubuntu กันเลยครับ

1. เข้าเว็บ http://get.adobe.com/air/ แล้วคลิกที่ Download ได้เลยครับ(Adobe ฉลาดครับมัน Detect Version สำหรับ Linux ให้เลย เวอร์ชันปัจจุบันคือ 1.5.2) ผม save ไว้ที่ Desktop

2. เปิด Terminal ขึ้นมาครับ ใครเข้าไม่ถูกก็คลิกที่ Applications >> Accessories >> Terminal ครับ

3. ใช้คำสั่ง cd เปลี่ยนตำแหน่งไดเร็กทอรีไปยัง Desktop (ตอนนี้เราอยู่ที่ ~)

$ cd Desktop

4. กำหนดสิทธิ์ให้กับไฟล์ install


5. มาติดตั้งกันเลยโดยใช้คำสั่ง

$ sudo ./AdobeAIRInstaller.bin
(more…)

Leave a Comment October 28, 2009


Chat

Recent Entries

Random Posts

Social Network

Tag Cloud

Calendar

September 2010
S M T W T F S
« Aug    
 1234
567891011
12131415161718
19202122232425
2627282930  

RSSTwitter: imrgill

RSS LinuxToday

RSS UbuntuClub

RSS Blognone

Tag

ภาษาไทย adobe amsn antivirus apt-get bash chat clip dns emesene entertainment Facebook firefox Forward mail free google graphic grave accent How to howto im install Internet karmic keyboard Linux monitoring msn operating system os Programming recovery Server shell script sms Social network Software themes troubleshooting twitter Ubuntu utility virtualization Windows wine

Categories

Archives

Blogroll

Meta

Get Adobe Flash playerPlugin by wpburn.com wordpress themes