Skip to content

Instantly share code, notes, and snippets.

View deanet's full-sized avatar
:octocat:
talk is cheap, show me the code

deanetdavid deanet

:octocat:
talk is cheap, show me the code
View GitHub Profile
@deanet
deanet / coderiver.py
Created June 15, 2011 09:10
sms notifikasi twitter+nagios dg tweepy
!/usr/bin/env python
import tweepy
CONSUMER_KEY = 'Cud4jdfAAwf9hKnAERjjvg'
CONSUMER_SECRET = 'lzRScymdaUanhVq5k7PrTQKM77EtH8yFN6kvhkRn0QA'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth_url = auth.get_authorization_url()
print 'Please authorize: ' + auth_url
@deanet
deanet / ruby-mbak-ruby
Created June 11, 2011 07:01
install earthquake, ruby, dan gem dilokal user
dhanuxe@plox:~$ mkdir ~/local2
dhanuxe@plox:~$ cd ~/local2/
dhanuxe@plox:~/local2$ wget -c http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.bz2
dhanuxe@plox:~/local2$ tar -xf ruby-1.9.2-p180.tar.bz2
dhanuxe@plox:~/local2$ cd ruby-1.9.2-p180
dhanuxe@plox:~/local2/ruby-1.9.2-p180$ ./configure --prefix=/home/dhanuxe/local2/ruby
dhanuxe@plox:~/local2/ruby-1.9.2-p180$ make
================cut===========
No definition for rb_io_print