A passionate programmer’s findings in the world of internet.

Archive for April, 2007

AdSense Referrals beta

Monday, April 30th, 2007

Notice this tip from Google when I was checking my AdSense revenue. Make sure you check out this new program from Google. Basically, with this program, you'll be paid when your visitors click through to an advertiser's site and complete an action defined by your advertisers, such as a sale or sign up. Of course, the pay per action will be much higher than a click in pay-per-click AdSense.

It's still not open for everyone yet, but you can try to sign up, to be considered by Google.

AdSense Referrals beta

Make Web Page Prints Differently From Screen

Sunday, April 29th, 2007

I have been working on an web-based invoicing system for a while and I'm almost finishing it. This system will be replacing my client's system that runs on Windows and prints invoices with dot matrix printers.

My client has all the invoice template pre-printed on 3-layered carbon paper. My invoicing system only has to fill up the values into invoice form, and not the whole form. But, to only showing only field values on the screen will be hard to read.

Therefore, I need to make my invoice has to be shown in full when it is on the screen, but to print only field values in the printed copy.

My Gmail Inbox is Full

Saturday, April 28th, 2007

You are currently using 2814 MB (98%) of your 2845 MB.

Will Google give me an exception? I really need more space. If you are not aware, Google disallows you to send emails when your Gmail space is almost full. I always need to delete messages before sending messages.

I hate it when I have finished a long urgent message and Google is giving me a "Your message could not be sent because you have exceeded your mail quota" message.

If Google really can't provide extra space, I really think they should provide the functionality for us to sort our message by attachment size. That's what I do when my Microsoft Outlook inbox is getting full.

Anyhow, Digital Inspiration has put up a very good article on this issue. These few tips had helped me a lot:

  • Search "has:attachment from:me" - With this, I can easily identify messages with attachments that I have forwarded to my friends. These messages are certainly duplicate information that shouldn't be kept.
  • Search "filename:jpg" - This returns a list of all emails with JPG attachments. You can use it for other file types.
  • Search "before:2006/01/01" - Combine this search with the previous 2 will help to identify older messages.

It takes slightly longer to fill up my Gmail now.

Robots.txt for WordPress

Thursday, April 26th, 2007

A simple search for "wordpress robots file" made me realize the importance of robots.txt file. Lots of people seems to be looking for a perfect robots.txt file for WordPress blogs.

After looking at JohnTP's article, I created one that looks like this:

User-agent: *
Disallow: /wp-content/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-
Disallow: /trackback/
Disallow: /cgi-bin/

For them who have never heard of robots.txt, it's basically a file that a web crawler would read to know what they should not crawl at your website.

All Audio and Video Codecs in One Package

Wednesday, April 25th, 2007

I remember I recommended Real Alternative codec last time. I found something more interesting this time. It's a single codec package that includes all audio and video codecs. The XP Codec Pack from Free-Codecs is the most complete codec pack that you will ever need.

The version includes:

  • AC3Filter 1.30b
  • AVI Splitter
  • CDXA Reader
  • CoreAAC (AAC DirectShow Decoder) 1.2.0
  • CoreFlac Decoder 0.4
  • FFDShow MPEG-4 Video Decoder 2004.10.12
  • GPL MPEG-1/2 Decoder
  • Matroska Splitter
  • Media Player Classic rev. 609
  • OggSplitter/CoreVorbis
  • RealMedia Splitter
  • RadLight MPC Filter
  • RadLight APE Filter
  • RadLight OFR Filter
  • RadLight TTA Filter
  • The Codec Detective 2.0
  • VSFilter (DirectVobSub) 2.37