Twitter from Terminal: Python

Tweet from Terminal in Python

This literary took 10 minutes of my time. I used the simplest form of code writing (if…then).
You have get the tweepy library

mytime = my timeline
@ = mentions
ptime = public timeline
Ufolo = User followers
Update = tweet
kill = kill

*note: There are some issues..This is not a complete product…Hope you enjoy

Code starts here \|/

import tweepy


CONSUMER_KEY = ‘YOUR CONSUMER_KEY’
CONSUMER_SECRET = ‘YOUR CONSUMER_SECRET’
ACCESS_KEY = ‘YOUR ACCESS_KEY’
ACCESS_SECRET = ‘YOUR ACCESS_SECRET’

auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)


while 1:
x=raw_input(“»”)
if x==”mytime”:
user_tweets = api.user_timeline()
for tweet in user_tweets:
print tweet.text
elif x==”@”:
mentions = api.mentions()
for mention in mentions:
print mention.text

elif x==”ptime”:
public_tweets = api.home_timeline()
for ptweet in public_tweets:
print ptweet.text

elif x==”Ufolo”:
f = raw_input(“ID: “)
folo_name = [u.screen_name for u in api.followers(f)]
for tfolo in folo_name:
print tfolo

elif x==”update”:
y = raw_input(“Tweet: “)
tweet = api.update_status(y)

elif x==”kill”:
print “goodbye…”
break
else:
print “usage: mytime,@, ptime, me, Ufolo, update, kill”
Collapse this post

Ubuntu losing popularity? I don't agree.

linuxbookpro:

Pingdom published a blog entry this morning that reports Ubuntu’s popularity is down. However, the metrics used are flawed.

It’s really a story about DistroWatch’s hits to their Ubuntu page. How many new users to Ubuntu are likely to find DistroWatch before stumbling upon an Ubuntu forum or YouTube video? Ubuntu has become so well introduced into mainstream computing culture that DistroWatch alone is not enough of a metric to rate overall popularity.

Additionally DistroWatch lists all Mint variants on a single distribution page while Ubuntu flavors are listed separately (Xubuntu, Lubuntu, Kubuntu). If you add up the page hits over the last 6 months, Ubuntu’s entire line beats Mint by nearly 1,000 hits.

Pingdom did offer Google search statistics which show a greater divide between the two distributions. It’s clear that Ubuntu is far more popular a search topic. What can’t be denied is that Ubuntu overall been on a steady decline since late 2007. Well before Unity showed up. I should mention they only reviews Google’s search statistics. Given the rise in social networking it’s very possible that users are finding Ubuntu’s website through other means.

As much as we’d like to blame the new Unity interface for the a decline I feel that it’s important for Ubuntu to set themselves apart from the hundreds of other distribution options available and creating a unique interface is the best way to do that.

What can be concluded is that DistroWatch has become an extremely popular website as more Linux enthusiasts hunt for Linux distributions.

(via everything-linux)

email becomes eye-mail

email in your eyes

caylawincest:

psiioniic:

xybutt:

cabout:

gerards-magical-poncho:

jaxthevampire:

ianbrooks:

The Air Camera by Yeon Su Kim

A unique design concept which eliminates all that superfluous crap in your camera like… well, most of the camera. Stripping the idea down to two modules you wear on your fingers, one a Bluetooth-enabled camera lens (which sends your “pictures” directly to your smartphone) and the other a motion-sensitive shutter button for “clicking”. Simply curving your fingers would enable the video mode. Smile for the fingers!

(via: Yanko Design)

(via )

aprimediet:

A couple days ago, i was using KDE for my default debian desktop, but it took huge resources on my ngokbook :(, so i changed to LXDE with a little touch and it’s running better on my ngokbook. Smooth, light, powerful, and beautiful.
I Installed : 
LXDE Conky Conky Gotham Feh for background Some wallpaper i grabbed from deviantart

aprimediet:

A couple days ago, i was using KDE for my default debian desktop, but it took huge resources on my ngokbook :(, so i changed to LXDE with a little touch and it’s running better on my ngokbook. Smooth, light, powerful, and beautiful.

I Installed : 

LXDE
Conky
Conky Gotham
Feh for background
Some wallpaper i grabbed from deviantart

(via everything-linux)

Gecko or webkit?

Which rendering engine do you prefer?

SOPA

Hollywood, Silicon Valley spar over online piracy bill

http://www.flickr.com/photos/69821637@N05/6348780482/ “I finally cracked it,” he said. Ever since reading that, I haven’t stopped thinking about what might have been the last project of Steve Jobs. What would be in a true Apple television se
6 ways Apple could revolutionize TV

seattle-gadgets:

donohuedesign:

Wrist Phone Concept

Enhanced by Zemanta
go2n:

upgrade KDE dari 4.6.95 ke 4.7.0 via [testing] repo

go2n:

upgrade KDE dari 4.6.95 ke 4.7.0 via [testing] repo

(via everything-linux)