Author Archives: deptz

Send SMS using Python Gammu

Gammu is a command line utility for controlling a phone (or modem) written in C. Gammu can be used for phone management software or maybe a SMS Gateway. Gammu can manage SMS, MMS, Phonebook, Calendar, phone’s file system and Call.

Today, i try to install Gammu and Python Gammu on Ubuntu 10.10 Maverick. Then, i write some code to send sms using command line.
Continue reading

working

work

work

Day by day….

Start working.. Open netbeans, textwrangler, and some browsers. create a music playlist in itunes.

End.. But it will be repeated in the next day…

….looping…

Alay ?

What is Alay? emm…  maybe you can visit this article (in indonesian). In this blog, i just found an (maybe) alay comment. Look at name and the comment..:D

alay ?

alay ?

Also i have found it on my facebook news feed , look at the name :

alay ?

alay ?

alay?

alay?

🙂

Move On

lonely

lonely

One by one, my friends leaving jogja.

They have found their own way.

Make a decision to move on.

But i’m still sitting here.

Just wondering, what will happen in the next day.

pic from here

Enable Mod Rewrite on Snow Leopard

After enable Apache and PHP (also installing MySQL) on my macbook, i want to enable mod rewrite (Rewrite engine) .  From wikipedia, Mod rewrite (rewrite engine) described as  software that modifies a web URL‘s appearance (URL rewriting). Rewritten URLs (sometimes known as short, fancy URLs, or search engine friendly – SEF) are used to provide shorter and more relevant-looking links to web pages. The technique adds a degree of separation between the files used to generate a web page and the URL that is presented to the world.

By default, mod rewrite has been enabled. But we need edit some configuration before we can use it.

  1. Go to /etc/apache2/httpd.conf than edit the <Directory /> section. Change AllowOverride to All
        AllowOverride All
  2. Edit /etc/apache2/users/youruser.conf, change to this:
    <Directory "/Users/youruser/Sites/">
    Options Indexes MultiViews FollowSymlinks
    AllowOverride All
     Order allow,deny
     Allow from all
    </Directory>
    
    <Directory "/Users/youruser/Sites/*/">
     Options Indexes MultiViews FollowSymLinks
    </Directory>
  3. Done. 🙂

Apache PHP MySQL on Mac OS X 10.6

By default, Mac OS X come with preinstalled Apache and PHP. But for a while, i’m using XAMPP for Mac in my macbook because in my first time using Mac OS, i don’t know about it.

Yesterday, i tried to using preinstalled Apache and PHP, also adding MySQL. For enable Apache, it just take a click. Go to System Preferences -> Sharing
Continue reading