Bacalah

Learning is forever

RSS Feed

Going where this year?

Monthly Archives: June 2011

Through Struggle

0 Comments

Only through struggle have I found rest

With a piece of me taken away
I begin to understand
Hollow out this machine like chest
With it’s gears that turn to make me feel assembled
As I fade away

Only through struggle have I found rest
Remove from me
This deception that I called love
That I called love

With it’s gears that turn to make me feel assembled
As I fade
I fade away

Only through struggle have I found rest
With a piece of me taken away
I begin to understand

5 years ago, when everything seems impossible, I heard this song. I begin to understand, through struggle everything is possible. Its just a matter of time.
Filed under Musik, My thoughts
Jun 19, 2011

Python Url Shortener using Google URL Shortener API

2 Comments

Udah lama maen twitter, dan baru sekarang butuh url shortener, dan ini url shortner python memanfaatkan Google URL Shortener API. enjoy

import httplib, json
 
conn = httplib.HTTPSConnection('www.googleapis.com')
conn.connect();
 
url = raw_input("masukin urlnya \n")
short = '"'+url+'"'
 
body = '{"longUrl": %s}' % short 
header = {'content-type':'application/json'}
 
conn.request('POST', '/urlshortener/v1/url', body, headers)
 
response = json.loads(conn.getresponse().read())
 
print (response["id"])
Filed under Linux, Web
Jun 19, 2011

Kill The Rich

0 Comments

The sky is still falling, is there any end in sight?
And some are talking to themselves as missiles fly through the night
But in the beginning there were words with half a cause
Now everyone is singing it and waiting for the applause

They don’t think about you when the payments keep on coming
But only to use you for a way

To make themselves appear like an angel in the room
They soothe their guilty conscience and tell it what to do
Synthetic compassion and some poor-mouth bad advice
To get ahead they lay in bed and sleep safe all through the night

A million to nothing, like zombies they are frightening
Just smile and wave and pass on by
Denial is so strong but the guilt just keeps it going
And give them a reason to say “hi”

 

sumber :

  • http://reflectionof.me/
  • http://www.myspace.com/nouseforaname
Filed under Musik, My thoughts
Jun 7, 2011