Posts

Extension Firefox 1.5

Untuk Firefox 1.5, berikut ini list extension yang keren-keren dan gw pake berikut penjelasannya: Restart Firefox, nambahin menu utk restart Adblock, ngeblok iklan-iklan di situs Install New Theme, untuk ganti theme Tabbrowser Preferences, untuk tab di browser biar lebih keren NoScript, biar ngga kena virus Image Zoom, emmm buat kaskus kali ya Mouse Gestures, execute command using mouse gestures wmlbrowser, utk ngeliat situs wap SessionSaver, biar kalo crash tabnya ngga ilang Cara nginstall Extension, Tools -> Extensions -> Get More Extensions. Jangan lupa restart firefox, abis nginstall extension.

Bootable USB using GRUB

I have successfully boot Linux (Damn Small Linux) from my USB stick (iPod shuffle). I'm using GRUB boot loader instead of SYSLINUX, because more advanced features in GRUB. 0 Copy required *stage* to /mnt/ipod/boot/grub and setup /mnt/ipod/boot/grub/menu.lst Contents of my menu.lst: color magenta/blue black/magenta timeout 50 default 0 title Linux kernel (hd0,0)/boot/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce noapic quiet BOOT_IMAGE=knoppix initrd (hd0,0)/boot/minirt24.gz These are the tricky steps: 1 grub-install --root-directory=/mnt/ipod --recheck /dev/sda 2 vi /mnt/ipod/boot/grub/device.map Change the contents to: (fd0) /dev/fd0 (hd0) /dev/sda 3 grub-install --root-directory=/mnt/ipod /dev/sda 4 grub-install --root-directory=/mnt/ipod /dev/sda1 NOTES: change /mnt/ipod to your usb mount point change /dev/sda to /dev/sdb if detected as sdb

Please Do a BUG Report

If YOU care about Open Source world. But you can't contribute codes nor money.... Please at least DO a BUG Report ! by trying beta releases.

PC: Random Crashes

Recently I got problem with my home desktop PC. It randomly crashes, or reboot by itself. I thought because the processor is overheating. But it is not the cause, I've checked temperature ok. My last guess is RAM problem. Then I started playing with BIOS settings. Using many combinations then I found the cause. By setting CAS Latency to 3, my system became stable. This is probably because aged RAM, or because I use mixed type RAM in 3 slot.

Finally, an Ipod Shuffle

Image
Sexy, white, little, with impressive sound... UPDATE: photo uploaded Finally, I got an Ipod Shuffle (IPS). I bought it for $130 (USD). What do you think? Quite expensive huh for an MP3 player.. But it is worthed. Read the rest. The design is soooo simple, with five buttons on its front and switches on its back. It is very light, you can even carry it with one finger :p. Main color is white, ear phone color is also white. Soooo sexy. I love it. IF you like music like I do, you'll be satisfied with the sound, really. Bass response is very good. Sound is very clear.. no noise. Completely an "ego tool", ignore everyone around you. Set the volume high! Technical Specs: Connectivity - USB 2.0, but also work with USB 1.1 Storage Size - 1 GB or 240 songs Weight - not sure, very light Battery - internal Lithium Ion, plug to usb to recharge Software - iTunes, or gnupod Earphone freq response - not sure Having this IPS, I have fulfill my two needs. One for my ear and one for my job ...

at last, PHP has PDO

For a long time, PHP has never included database abstraction library. To connect to database we have to use hundred of functions which is included as PHP built-in functions. Those functions are also too different in name (not standarized). That's make us difficult to write enterprise application. Some developers write their own database abstraction layer to overcome this situation. Such as ADODB, Creole, PEAR::DB, etc (ADODB is my favourite). But again... those abstraction layer out there are not standard. Unlike Java, which has JDBC. http://superbiji.blogspot.com/2004/12/adodb-and-creole-comparison.html At last in PHP 5.1 (why not in 5.o ;) ), PHP will have a standard in database connection. It is named PDO or PHP Data Object. This will kick those library, because PDO will have some advantages. PDO will be more robust, more OOP, faster, and have pluggable driver for each database system. Well I hope so... To try PDO, you will have to download latest PHP Beta version. Currently is ...

Bee Template 0.3 released

Changelog 0.3 Setting attributes, now you have use new method attr() doing $template→tagID→tagname→tagname→tagname is possible now new method: replace(), replacing node with fragment html using method node() you can do node( “tagname”, index ) row looping is now possible See Homepage: http://khad.landak.com/bee

Bee Template 0.1 released

Bee Template is a Web template system parses HTML files into PHP objects which can be manipulated by using tag names or IDs. While other template systems make use of prepared HTML files for templates, Bee Template allows you to use arbitrary HTML files without modification. Bee Template is powered by PHP 5 DOM Engine. So you’ll have to use PHP 5 to make it work. A PHP 4 port will be posible if there is a DOM library which support HTML for PHP 4. Email me if you know such library. Any feedback welcomed... Homepage: http://khad.landak.com/bee

Baca Detik.com tanpa Iklan?

Detik.com semakin hari semakin ngga tau malu iklannya. Gimana kalau kita bisa baca detik.com tanpa iklan? Seru kan! Mungkin kalau kamu lepelnya udah adpance, artikel ini biasa-biasa aja. Tapi coba dibaca terus sampai bawah, yang penting pilter-nya. QUOTE: pake pairpok dan adblock mah gue udah laha Caranya begini: 1. Pake browser Firefox, download di sini: http://mozilla.org 2. Download Extension Adblock, downloadnya di sini: http://ftp.mozilla.org/pub/mozilla.org/extensions/adblock/adblock-0.5.2.039-fx.xpi 3. Abis install Extension Adblock, File - quit dari Firefox , trus jalanin lagi 4. Trus pilih menu, Tools - Adblock - Preferences 5. Pilih Enable Adblock 6. Trus add filter-filter di bawah ini: */tpl/daftar/* */images/detikhot/* */images/abg/* */images/bisnis/* */images/inet/* */images/wp/* */adv/frame-news/* */images/peristiwa/* 7. Filter untuk website lainnya ;) http://ad.doubleclick.net/* http://ads.osdn.com/* *paypopup.com* http://kasku...

Free x86 emulator

Image
Interesting screenshot huh? Taken from my lovely desktop, Mandrake Cooker. Well this is my new toy ;) An x86 emulator, and it is GPL. But expect some trouble when installing guest OS... still slow and took a lot of CPU time :( Have a try!

Tips Trick innerHTML

Be careful when using innerHTML in Javascript! If you seem can not add some html tags into it, do not be confused. You should evaluate whole tags ( opening and closing tags ) as single statement. This code should explain better: obyek.innerHTML += "<a href='somewhere'>" obyek.innerHTML += "Click here" obyek.innerHTML += "</a>" code above will not work ("click here" is not a link) , but this will: s = "<a href='somewhere'>" s += "Click here" s += "</a> obyek.innerHTML += s The latter code will work because we have joined whole string into s, then append it to innerHTML. "Click here" become a link now.

Error loading operating system

Minggu lalu gw nginstal Windows XP di harddisk 40G. Susunan partisinya sebagai berikut: [--------------------- 9G NTFS 2G NTFS 1G / [extended ----------- sisanya 28G LVM2 ----------------------] ----------------------] Mulai dengan masukin CD bootable. Copying files...... Trus restart PC. Setelah restart PC, lilo gw hilang kehapus (ini masih wajar.. ngga apa2). Yang bodohnya setelah itu keluar tulisan Error loading operating system. Trus nge-hang duh! Harusnya Windows XP ngelanjutin setupnya, tapi malah nge-hang. Apa gara2 lilonya ya? Gw coba utak-atik lilo, ngga ngaruh! Trus ada teman gw bilang, dia pernah ada kasus begini pakai Grub bisa jalan. Gw coba grub, ngga ngaruh juga! Trus ada juga temen gw yang bilang, "harus di master, ngga boleh slave". Kebetulan harddisk 40G itu di primary slave. Trus gw ubah jadi primary master. Ngga ngaruh juga! Masih keluar error yang sama dan nge-hang. Trus gw coba googling... banyak saran macem-macem dari forum. Kebanyakan s...

Netscape 8: Gabungan Firefox dan IE

Lagi angot2nya perang browser antara Firefox dan IE... Eh baru-baru ini Netscape bikin inovasi baru. Netscape 8: Browser dengan engine gabungan antara Firefox dan IE. Jadi kita bisa memilih engine mana yang akan dipakai saat browsing hanya dengan single click ! Wow! Selengkapnya baca di sini: PCWorld.com - First Look: Netscape's Two-Headed Browser Download Netscape 8 di sini: http://browser.netscape.com/ns8/ Firefox: http://www.mozilla.org/ Netscape: http://www.netscape.com/

Tips Jika Mobil Anda Habis Bensin LOL!

Saat itu, sekitar jam 21:00. Gw dalam perjalanan pulang ke rumah. Sebelum sebuah lampu merah di suatu tempat, ketika sedang melaju cepat. Tiba-tiba mobil gw "gas-nya" hilang. Diinjek pedal gas koq kaya kosong begitu yaah. Eh ngga berapa lama mati deh itu mobil. Panik gw! Sayangnya gw sedang berada di tengah jalan. Jadi kalau mau ke pinggir agak jauh. Ya udah, pelan2 gw rem pas di depan lampu merah (lampunya lagi merah). Wah mateee.. banyak mobil lagi dibelakang gw udah rapet, kalo mogok bisa repot. Trus gw nyalain lampu hazard, biar orang pada "ngerti" dikit geto. Lalu gw coba start lagi itu mobil.. Nyala bentar trus mati lagi. Coba lagi dan coba lagi sebelum lampu hijau. Trus gw coba injek gas dalam2, trus lepas, baru start lagi. Bisa jalan mesinnya! Lampu hijau, seep masih bisa jalan. Melewati lampu merah 10 meter trus mati lagi. Dooh. Mobil masih jalan, pelan2 gw menepi ke kiri sampe itu mobil berenti sendiri. Udah abis itu gw coba start mobil. Nyala bentar trus ...

Kamusbot launching...

Just launched online dictionary using Yahoo Messenger, just add to your friend list: kamusbot . Then just send message to her, for example: run in . kamusbot: kata: run in indonesia-nya: berlari, diadakan, diselenggarakan, lari, memangku, membujur, mengelola, menjalankan YM bot: kamusbot Online dictionary: http://kamus.landak.com/ Yahoo Messenger: http://messenger.yahoo.com/ Supported languange: Indonesian and English

New audio support in Linux

Hi all. I have just downloaded and compiled Linux 2.6.11.7 . Tried on my AthlonXP 1600. Optimized for my athlon and using cfq scheduling and enabled preemptible option. Well I use my PC mostly as desktop. Generally it runs faster than shipped kernel from distro. Actually the first thing impressed me was the audio driver. It seems to mix automatically several sound sources without setting any options at all. For example: when I listen music from XMMS, I can also hear sound from my movie player Mplayer. Well actually you have to setup your linux to use ALSA driver instead of OSS. Have fun and try! Kernel.org: http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.11.8.bz2 Preemptible Kernel: http://slashdot.org/article.pl?sid=02/02/10/2216207&mode=thread XMMS: http://xmms.org Mplayer: http://mplayerhq.hu Alsa: http://www.alsa-project.org/

OOP dalam PHP5 - Bag I

Belakangan ini komunitas PHP mengeluarkan PHP versi 5.0 dengan kemampuan OOP yang lengkap. Bahkan kemampuan OOP-nya dapat disetarakan dengan Java. Saat ini versi PHP adalah 5.0.4 yang menurut John Lim adalah versi PHP 5 yang paling stabil. Tulisan ini bertujuan untuk mengenalkan kemampuan OOP dalam PHP 5. Kenapa OOP? Jadi susah kan kodingnya. Jadi banyak filenya. Jadi lambat (kata si buchard, hebat dia bisa bedain speednya pake OOP atau procedural, kaya alien). dsb dsb. Tapi menurut saya coding secara OOP memiliki beberapa keuntungan, yaitu: 1. Source code menjadi lebih teratur (dengan sendirinya menjadi teratur) 2. Mudah untuk maintenance/bug fix aplikasi besar (yg sudah di-develop bertahun2) 3. Reusable, biasanya source code dengan OOP dapat dengan mudah digunakan pada aplikasi lain tanpa harus menulis ulang 4. Kerjasama dalam tim tanpa saling mengganggu Class <? class Jam { public $jam; public $menit; public $detik; function __construct($j,$m,$d) { $this->jam = $j; ...

Kompie gw meledak

Kemaren (25/04/2005) komputer di kantor gw meledak *really*. Temen gw yg menyaksikan langsung, saat itu gw sudah pulang. Email dr si buchard: Senin, 25 April 2005 23:08 -> Aku baru sampai dari Citra Land, abis makan 'n nonton. Kesegaran 20%, sisa letih... 23:14 -> Tiba-tiba terdengar suara letusan yang begitu kencang, memecah keheningan malam... Aku terpaku sejenak.. "dari mana suara itu?". Tiba-tiba terdengar suara yang sangat kukenali berteriak dengan nada panik memanggil namaku. 23:16 -> Dengan sigap aku berlari dan melompat turun ke lantai 2. Pintu segera kubuka dan bau menyengat itu sangat mengusikku, seperti bau benda hangus terbakar, sementara bebek dengan panik sedang berusaha mencari tau dari mana sumber bau tersebut... 23:17 -> Segera kuminta bebek mencabut semua power yang berhubungan dengan pc. Ketika ku melihat ke PC khad, kondisinya sudah mati. Kutanya bebek, "Emang dari tadi PC khad udah mati?". Bebek menanggapi, "seharusnya sih h...

Ganti PSA-nya Google Adsense dengan Iklan Buatan Sendiri

Bete kan, kalo pasang Google Adsense tapi yang keluar PSA alias Iklan Layanan Masyarakat. Lihat: http://superbiji.blogspot.com/2005/02/demam-gugel-adsense.html Nah kalau kamu mau nge-ganti PSA-nya gugel dengan iklan buatan sendiri gampang caranya. Ikuti langkah-langkah berikut: Bikin iklan buatan kamu sendiri pake HTML, misalnya http://kamus.landak.com/iklan.html Iklan ini isinya bebas.. misalnya kamu mau barter iklan dengan teman kamu Trus upload file tersebut ke website kamu Trus di code nya Google Adsense tambahin: google_alternate_ad_url = " http://kamus.landak.com/iklan.html "; urlnya diganti dengan iklan kamu Jadi deh .. sekarang semua PSA akan diganti dengan iklan kamu PS: Iklan yang kamu buat tidak harus HTML, bisa juga gambar dalam format JPG, PNG

XML Fixer

For Bad XML out there: I've written xml fixer in order to fix bad xml in the net. Well I use this for my own website http://khad.landak.com/ , the website fetches RSS from other websites. But sometimes other websites contain Bad XML, this will make my website renders error.... The script is here: http://khad.landak.com/xmlfixer.php The script accept url GET parameter: ?url=RSSSOURCE example: ?url=http://www.office-humour.co.uk/syndication/rss/latest.cfm Try this: Bad XML: link Fixed XML: link