My Tutorial All Over The Place

I was googling around this morning, and i found that my tutorial has been copied all over the place. Well, i don’t mind with that, but don’t you think it will be more polite if these guys ask me first. I’m a good guy , there’s no way i will say no.



Tags: ,

Running Adsense in Test Mode

Another useful tips you can use if you’re running adsense in your site, set the adsense in test mode using code google_adtest = "on". By doing this any clicks or page impressions won’t be counted by Google.

You need to do this when you’re viewing your own website, because Google will assume you’re violating their TOS by self-viewing your website. At least that’s what happened to me.

So, in addition to my previous tips, you can avoid violated your adsense using these codes,

$myIp = ""; // change to your own IP Address
if ( $_SERVER['REMOTE_ADDR'] == $myIp ) {

google_ad_client = "pub-xxxxxxxxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468Γ—60_as";
google_ad_type = "text";
google_ad_channel ="";
google_adtest = "on";


where pub-xxxxxxxxxxxxxxxx is your adsense key. And don’t forget to change your IP address with your own. You might want to check your IP address here.

Now, you still can see your ads without making any violation. Have a nice try.



Tags: ,

Don’t Get Caught With Google Adsense Click Fraud

Why didn’t i found this article before my bad experience,

Many web site owners are getting their Google Adsense account terminated when they have done nothing wrong to deserve the punishment. Considering the money that they are getting from Adsense, they would certainly want to get back into it.


Tags: ,

Amalan Yang Disunahkan Selama Ramadhan

Artikel yang bagus dan mungkin sering kita baca, tapi tak ada salahnya dibaca lagi dan dilaksanakan.

Bulan Ramadhan adalah bulan al-Quran sesuai dengan sunnah Nabi s.a.w. Ibnu Abbas RA berkata; “Nabi (Muhammad SAW) adalah orang yang paling dermawan diantara manusia. Kedermawaanya meningkat saat malaikat Jibril menemuinya setiap malam hingga berakhirnya bulan Ramadhan, lalu Nabi membacakan al-Quran dihadapan Jibril. Pada saat itu kedermawaan Nabi melebihi angin yang berhembus.”



Tags: ,

How to Shoot Yourself in the Foot in Any Programming Language

Another humorous howto’s for programmer, how to shoot yourself in the foot in any programming language.

This is my favourite:

Find a gun, it falls apart. Put it back together, it falls apart again. You try using the .GUN Framework, it falls apart. You stab yourself in the foot instead.

and this,

% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls


even in the comments row,

You do a Google search on how to shoot yourself in the foot using VB. You find seventeen completely different ways to do so, none of which are properly structured. You paste the first example into the IDE and compile. It brushes your teeth.

πŸ™‚ πŸ™‚

And finally i decided to post my own way,


You try to shoot your left foot, you miss 2 pixels. You try to shoot your right foot, you miss 1 pixel. Finally you try to shoot your head, you miss 10 pixels. Then you realize you’re using MS IE gun.

Stop Viewing Your AdSense Or Else …

After my bad experience with google, i’m obligated to share this simple trick so that you won’t get through the same mistake like i did.

Stop viewing your own adsense, that’s what you must do or google will kick your ass out for invalid impression. But that’s not easy, since as the owner you must view your website all the time to ensure everything is fine.

So, if you use wordpress like me, just add this code on your adsense script,

$myIp = ""; // change to your IP
if ( $_SERVER['REMOTE_ADDR'] == $myIp ) {?>

<!-- this is where you put your adsense code -->              


You would need to know your IP address, just go here. And that’s it. I should’ve done this long time ago. Ouww.


Tags: ,

Google Pissed off

This morning i received this email from google,

It has come to our attention that invalid clicks and/or impressions have been generated on the Google ads on your site(s). We have therefore disabled your Google AdSense account. Please understand that this was a necessary step to protect the interest of the AdWords advertisers.

What? I couldn’t believe it, then i checked my google analytics, and i said to myself “oh that’s why”,


Damn, i’ve made Google pissed off. Sorry Google, i didn’t mean to. Thanks for $10 experience.



Tags: ,