This time of year. Time to give thanks for everything that GOD had gave us.
Firstly thank you GOD for giving me strength for enduring this year. This year is full of problem, but I know You will guide me trough all these.
Thank you for all family, friends, for their love and support.
And all these year I use open source programming as my source of income, and never said any thanks. This year, I would like to address a thanks to the following:
- PHP Language. We’ve been together for 10 years now. Thanks for all the updates and security patches from PHP dev Team. Thanks for the easy to understand language.
- Ubuntu Linux. For being a great development OS for last 3 years. Ubuntu server had been installed on all my client.
- Apache Server. Running on all my server.
- MySQL. For keeping open source database for as long I learn database. Very stable and good for small – medium company.
- Komodo Edit. A very nice GUI for coding. Support all the language I use, PHP, SQL, Jquery, etc.
- JQuery. A neat, very fast, easily expandable and beautiful Javascript Framework.
- Bazaar. For keeping my source safe.
- Titanium Developer. New IPhone rapid development framework that I just learned. Very inspirational.
Thank you for the hard work developing these software. Happy Thanks Giving to all.
programming, web, zuru zuru
This is our latest Product. Twedding.
You can make something different to your wedding. Your friend would be able to send SMS / Twitter / Facebook Post / Gtalk / and we support almost every Social networking out there.
Here’s some video of my Wedding using the software

For more info please visit http://www.twedding.com/
web
By default Mac OS X’s Terminal application uses the Bash shell (Bourne Again SHell) but doesn’t have directory and file color highlighting enabled to indicate resource types and permissions setting
Enabling directory and file color highlighting requires that you open (or create) ~/.bash_profile in your favourite text editor, add these contents:
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
… save the file and open a new Terminal window (shell session). Any variant of the “ls” command:
… will then display its output in color.
More details on the LSCOLORS variable can be found by looking at the man page for “ls“:
man ls
LSCOLORS needs 11 sets of letters indicating foreground and background colors:
directory
symbolic link
socket
pipe
executable
block special
character special
executable with setuid bit set
executable with setgid bit set
directory writable to others, with sticky bit
directory writable to others, without sticky bit
The possible letters to use are:
a black
b red
c green
d brown
e blue
f magenta
c cyan
h light grey
A block black, usually shows up as dark grey
B bold red
C bold green
D bold brown, usually shows up as yellow
E bold blue
F bold magenta
G bold cyan
H bold light grey; looks like bright white
x default foreground or background
By referencing these values, the LSCOLORS variable setting mentioned above translates to:
Bold blue with default background for directories, bold magenta with default background for symbolic links, bold green with default background for sockets, etc.
Reference :
http://www.geekology.co.za/blog/2009/04/enabling-bash-terminal-directory-file-color-highlighting-mac-os-x/
mac, programming
terminal
If you just install Ubuntu 10.04 then you will realize that the new button is moved to the left side (Mac style). You can move it back to right by following this tutorial:
Got this info from Here
Press Alt+F2, then type gconf-editor and press enter. That’s for opening the configuration editor.
Once on this editor, in the item tree at the left, you have to look for this path app -> metacity -> general and you doubleclick on the field named button_layout.
Then, you have only to change the value field and put this:
menu:minimize,maximize,close
linux
ubuntu
I use rsync a lot for sync between my Local and Remote Backup Server, rsync is doing very great job in term of speed and stability. But in certain cases, my client is not using ssh enabled account. So i forced to use an FTP sync, which is very slow. Sure you can use usual FTP Client like Filezilla, etc. But I doesn’t have a good build in sync system.
So I start googling and find 1 solution using LFTP. This program is already installed on standard Ubuntu installation, so you can use it immediately.
This is a sample file how to do a sync
#!/bin/bash
HOST="yourhost.com"
USER="yourusernamehere"
PASS="yourpasswordgoeshere"
LCD="/home/local/directory/"
RCD="/home/remote/directory/"
lftp -c "set ftp:list-options -a;
open ftp://$USER:$PASS@$HOST;
lcd $LCD;
cd $RCD;
mirror --reverse \
--delete \
--verbose \
--exclude-glob config/ \
--exclude-glob .htaccess \
--exclude-glob index.php"
Finally in the section where it writes –exclude-glob, you write file that you should exclude in sync process. You can write directory name with / (slash) or filename, or event support a wildcard (* / ?).
Hope it helps
linux, programming
ftp, sync, ubuntu
Lagi dapet kesempatan buat training orang ke Surabaya nich. 4 hari 3 malem. Sempet nyobain makanan di bawah ini. Semuanya mantap sekali. Dan harus dicobain kalo nanti ke Surabaya lagi ach.
1. Bakwan Kapasari
Ada di pasar atom dan di Jalan May Jen Sungkono. Bakso (kalo orang sini sebutnya bakwan) nya kotak ^^ lucu dech. Rasa baksonya juga mantap. Makan 1 porsi isi lima sama bakmi ayam sekitar 50 rb kalo gak salah. Cukup mahal, tapi worth the price. Di dalem tokonya ada timbangan jaman karung beras jaman jebot gitu, lucu… akhirnya ada timbangan yang kalo gue naekin jarum nya engga muter lebih dari setengah wkwkwkw.. Terus ada gerobak pas dia jualan pertama kali gitu.
Bakso spesial nya dia ada bakso urat yang kotak2 tadi, bakso halus yang bulet, usus… (engga cobain, engga doyan), siomay goreng nya enak, siomay rebus nya engga coba.
2. Rm Bakmi tidar Jakarta
Ada di jalan tidar. Lucu juga, makan bakmi jakarta jauh2 di Surabaya. Tapi bakmi nya daging nya banyak banget. Kuah nya juga enak. Terus dessert nya… Es KACANG IJOO… mantaaaap poooll… Yang lebih enak lagi yah. Di sebelahnya itu ada yang jual casiu garing madu. Wah itu enak bangettt!! Lebih enak lagi beli itu dulu 100 gram terus makan di bakmi tidar nya.
3. Warung Ibu Kris
Nahhh ini baru makaann… Sampe di rekomendasiin sama 4 orang temen. Bahkan orang nya ada di Jepang, dia sampe afal nama jalannya dan bisa pandu gue sampe ke restoran ^^ hebat gak. Nanya sopir taxi manapun di surabaya kayaknya pasti tau resto ini. Resto nya ga gitu gede. Specialitis nya pecel n penyet2an.
Kemaren sempet cobain ayam + bakwan (bakso) penyet. Terus makan nasi rawon. Nasi rawon 12 Rb isinya buanyaaaaak poll plus daging 7 potong gede2. Terus Nasi pecel 5.5 Rb enak juga. Ayam penyet nya cuma 9Rb aja. Murah banget. Minum nya juga ada versi jumbo dengan harga yang murah banget juga…. Puas banget makan di sini…. Sangat2 recommended sekaleee..
Akhir Kata
Sayang nya cuma sempet makan itu aja sih, karena pagi makan di hotel dan siang nya dapet makan dari kantor ^^ Sadiz ini 3 hari di sini perut maju ke depan. Jam 11 dpt snack pagi, jam 12 makan siang, jam 3 dapet snack sore, makan malem… bobooo… sadiz bow.
jalan2
kuliner, surabaya
Linux has many usefull command.
I always use this command to find a single file
But it’s not a really good implementation to how to use the syntax. For search file name, use this command instead.
find -name filename
find -name "you can event use a wildcard *"
For directory you can write like this
For find only file
Together joined will be
find -type f -name "rick*"
And the most useful syntax, you can run a command on every file it found. Here’s how to delete every jpg it found.
find -type f -name "*.jpg" -exec rm {} \;
Or upgrade all bzr in every directory
find -type d -maxdepth 1 -exec bzr update {} \;
Hope it helps
linux, programming
ubuntu
Sometimes if you mess up with file permission in a lot of file. It takes time to repair it. This is how to repair file permission in 2 commands
For directory
find [your path here] -type d -exec chmod 755 {} \;
And for file
find [your path here] -type f -exec chmod 644 {} \;
linux
ubuntu
Do this steps
- Install Picasa 3 from http://picasa.google.com
- Close all your browser
- Open http://apps.facebook.com/picasauploader/
- Click the ‘Add’ Button above
- And there you have it. A Facebook button on your Picasa. Simple isn’t it
web
facebook, google, picasa
Google is launch a new service called Public DNS. You can use this everywhere to get a better DNS resolving.
You just have to change your DNS to 8.8.8.8 and secondary DNS to 8.8.4.4
Very useful for Speddy user that got a lot of DNS error these days.
For reference see http://code.google.com/speed/public-dns/
web
dns, google