Playing around with CSS3
// October 20th, 2011 // 7 Comments » // Programming
Using CSS3 Transitions, Transforms and Animation to create Safari like start up page. This only work on webkit browser.
Demo
Hi! Im Indra Prasetya, im a web developer. Currently living on Yogyakarta, Indonesia. This blog about web developer, web design, SEO, CMS.
// October 20th, 2011 // 7 Comments » // Programming
Using CSS3 Transitions, Transforms and Animation to create Safari like start up page. This only work on webkit browser.
Demo
// January 24th, 2010 // 13 Comments » // Programming
HTML5 introduced the new attribute rel = “noreferer”, this tag is used with the tags link <a>, the purpose is, as the saying goes, to hide the referer or other words from the address which the visitor came from, or in other word, it will prevent browsers from sending the referrer.
This tag can be used on <a> or <area> elements:
<a rel=”noreferrer” href=”www.example.com”> Outbound Link</a>
On www.example.com’s header generated after user click the link, the HTTP referer field will be empty. Just like visitor came from typing directly on address bar.
// January 15th, 2010 // 25 Comments » // Programming
Baru baru ini aku buat script userscript untuk melihat thread forum vBulletin tanpa membuka thread itu sendiri.
Semula, script ini aku buat untuk forum terbesar di Indonesia kaskus. Hanya saja, teknisnya script ini jalan di semua forum vBulletin. Seharusnya…
Script ini dibuat dengan bantuan framework jQuery. Script jQuery akan diambil dari Google repository. Jika anda punya webserver lokal, anda dapat mempointingkannya ke lokal, agar load makin cepat, untuk caranya, edit scriptnya.
Perlu diketahui, loading script jquery hanya dilakukan pada saat page load, bukan pada saat membuka thread.
Oya, satu lagi, ini adalah script greasemonkey, bukan module atau addons vBulletin
Apa itu userscript? userscript adalah script javascript (ECMAscript) yang dibuat oleh user, bukan oleh pemilik website, bukan oleh developer website dan di injectkan dengan tools tertentu ke website tujuan.
Tools ini berbeda-beda tiap browser, fiturnya juga berbeda. Untuk Firefox ada GreaseMonkey, Google Chrome ada GreaseMetal, untuk Safari ada GreaseKit dll. Oleh karena itu, script yang aku buat ni hanya untuk Greasemonkey dan Mozilla Firefox browser. Jika anda ingin mencoba di browser lain, silakan, hanya saja saya tidak bisa menjamin akan jalan, wkwkkwkw…
Untuk melihat isi dari thread tanpa harus membuka halaman. Dan reply langsung ke thread tersebut. Thread akan diload, menggunakan AJAX.
// November 11th, 2009 // 23 Comments » // News, Programming
Google melalui Google Open Source Blog baru-baru ini memperkenalkan sebuah bahasa pemrograman experimental bernama “Go”. Yang merupakan gabungan dari bahasa Phyton dengan bahasa compiler C++
Go dirancang sebagai bahasa System dan mendukung sepenuhnya muti-processing atau bahkan clustered system. Satu lagi yang dibanggakan dalam bahasa ini adalah true Closures dan reflection.
Dalam videonya, Russ Cox menunjukkan package math yang terdiri dari 1000 baris code dan 20an file, di-build dengan hanya menghabiskan wakti 20 detik! Programmer ga akan bisa lagi memakai alasan ‘sedang compiling’ sebagai alasan ga bekerja
// October 8th, 2009 // 19 Comments » // Programming
Baru baru ini aku dapat proyek, dimana dalam proyek ini aku harus mendokumentasikan, atau bahasa gaulnya memberi comment disetiap fungsi, method, class, bahkan algoritma. Jujur aja sih agak agak malas gitu. Kayaknya jadi harus kerja dua kali.
Emang sih dalam kerja tim, dokumentasi sangat membantu. Tapi juga harus memperhatikan waktu kita yang sangat berharga.. Mau apa, kerja lembur tiap hari? emang hidup untuk kerja?
Dalam dunia coding jaman dahulu, terstruktur, dan belum mengenal object, folder dimana mana, satu module tersebar di folder yang berbeda beda. Comment mutlak dibutuhkan, bukan untuk dirinya sendiri, tapi untuk programmer lain yang melanjutkan atau merubah kode anda.
But now, we have to leave that kind of code..
(more…)
// August 29th, 2009 // 8 Comments » // Programming
Beberapa hari yang lalu aku dapat kerjaan yang mengharuskan melakukan cross domain AJAX (ga harus-harus banget sih).
Nah, mungkin ada yang ga ngerti maksud cross domain AJAX itu. Cross domain AJAX adalah panggilan AJAX untuk sebuah halaman web, dimana alamat yang dipanggil berbeda dengan alamat yang memanggil. AJAX umumnya hanya memanggil halaman dari domain yang sama aja.
Tapi, udah jadi rahasia umum kalo cross domain AJAX itu dilarang demi keamanan.
(more…)
// June 19th, 2009 // 341 Comments » // Programming

Shoutbox
Hi , i have just create a WordPress AJAX shoutbox.
Im using jQuery Framework for this plugin, althought it using compatibility mode, im not very sure it will compatible with your other plugin that uses other javascript framework.
// June 17th, 2009 // 2 Comments » // Programming, Uncategorized

jQuery framework
I have just upgrade my blog’s WordPress to WordPress 2.8, the newest one. After a couple of days i’ve just noticed that the javascript does’nt working accordingly. Not all javascript but just several, plain old javascipt and jquery.
When i check using firebug found that google ANALityc is giving error. Re-paste it again with new code does’nt work.
Being too lazy to check all javascript code on my site, i just replace jquery 1.3.1 with the old one, jquery 1.2.6 (i think) and it works! No error and all script working as they should.
I check jquery 1.3.2 theres Sizzle CSS Selector. what this for? i dont think wordpress using it.
Have you check your blog?
// May 26th, 2009 // 5 Comments » // Programming
public class SimpleSingleton {
private static SimpleSingleton singleInstance = new SimpleSingleton();
//Marking default constructor private
//to avoid direct instantiation.
private SimpleSingleton() {}
//Get instance for class SimpleSingleton
public static SimpleSingleton getInstance() {
return singleInstance;
}
}
// May 22nd, 2009 // 8 Comments » // Design, Programming
So you’ve heard of this wonderful JavaScript library called jQuery. What exactly is jQuery?
How can I make my life easier as a developer? How do I start? Well, writing Javascript jQuery is fun again and you can really enjoy some of the most difficult aspects of Javascript with relative ease. Today we take a look at how to start with jQuery and writing your first script!
jQuery is a lightweight Javascript library (some call it a framework), which makes most of the headaches from writing pure Javascript in your applications. It has many powerful features, some of which include: easily through the DOM, adding animations and effects to elements slick, and super simple Ajax techniques and methods. Perhaps the homepage of jQuery described more precisely:
jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animation, and Ajax interactions for rapid web development. jQuery is designed to change the way you write JavaScript.
The first thing you need to do to start with jQuery jQuery is to visit the home page and download the latest version of jQuery. Once you’ve downloaded the jQuery library, just load the library to your server and link to the <head> section of your document, as shown in the code below.
<script type="text/javascript" src="/jquery.js"></script>
In addition, you can let google host your jQuery code for you, which can result in faster loading times for the end user, especially if the version of jQuery is already cached by their browser. To learn more about letting google host your code, visit the Google Ajax libraries.