Download media files with Safari Browser

Safari browser has powerful tool called Activity that tracks all the activities running behind the page. That makes you easier to download media files from the page you’re visiting.

First, open Safarai browser and browse the address you like to download media file (mp3 or flv). For example : YouTube.

Safari Browser

Click Activity menu under Windows in Safari browser. Or press Ctrl+Alt+L.

Safari Browser Activity Menu

Select the url or media file that more than MB. And double click on it. Safari will launch new browser window and start downloading that file.

Safari Browser Activity Window

For those who want to convert FLV to Audio and Video files you can try FLV Extract program from Moitah.net

via: mm.it.lad (in Burmese language)

.Asia Domain sales going on

DotAsia.Asia domain names are available from registration from today (February 26th, 2008). WebHostingInfo reported that Over half a million registrations have been received for the .Asia domain name to date, 24% of which came from Europe. .asia auctions hot in DotAsia.Org and here are some noticeable deals had made for .asia domain names

  • ace.asia $20,501
  • mediaworld.asia $10,000
  • tyco.asia $7,600
  • wellness.asia $5,900
  • spotlight.asia $5,700

Godaddy started selling .asia domain for $19.99 and you can register .asia domain names if your business, organization, or community group is located in one of the Asia-Pacific countries. If it is located outside of this region, your .asia registration must include at least one contact who resides in one of the Asia-Pacific countries.

Do you think you really need .asia domain for you or your business if you’re living in one of the Asia-Pacific countries ?

How to run php script in shell

If you want to run php script in shell, simply put the following line at the beginning of your php file.

#!/path/to/php

#!/path/to/php is the path you installed php in linux. If you don’t know where php is installed in your linux. Type the following command

which php

This will output the php path from your linux. The output will be something like this

/usr/bin/php

For example: hello.php

#!/usr/bin/php
<?php
echo "Hello World!";
?>

Make your php script executable by typing

chmod +x hello.php

And then run it

./hello.php

You’ll see

Hello World!

What’s your 404 ?

404 Not FoundYour visitor will probably see “Not found” or “The page cannot be found” while they are visitng your site. The reasons might be one of the following:

  • they follow an incorrect link (from some of the sites that refer to yours)
  • they typed link incorrectly
  • Or your page have been moved or deleted.

The error number 404 or Page not found error message occurs when the server could not find the page what the client requested. For this case, you should an 404 error document that useful for your visitors and let them know that they’re visiting wrong page and explain what’s 404 Error as much as you can. Or you can redirect to your main site.

For windows IIS server, follow the steps from Microsoft support to create a custom 404 error file and for Linux, create .htaccess under your directory and write the following code:

ErrorDocument 404 /error/404.html #file must be your own one.

WordPress has a feature to display 404 error when your visitors visit your delete posts or wrong page . To create 404 error page, create a file named 404.php under your current theme and put helpful information for your visitors. Alexking created a 404 notifier wordpress plugin that can keeps a log of 404 and notify you by email notifications of these hits.

Check out my 404 error page and what’s yours ?

Updating Windows Vista Service Pack 1

Microsoft released Windows Vista Service Pack 1 in these days, probably in March 18th, 2008. You can update Windows Vista from Windows Updates program.

First click View available updates.

Windows Update available Vista SP1

And checked Windows Service Pack 1. And click install.

(more…)

Feedburner Stats Checker (VB.NET version)

I just wrote this program using Visual Basic .NET to track the Feedburner’s feedcount and stats from Feedburner Awareness API. To use this program, first download Feedburnerstats.zip and extract it. And run feedburner.exe. In order to run this program, your system must have .NET framework 2.0

Feedburner Stats checker

How do I get subscribers count ?

Enter either full feedburner URI or feedburner ID in Feedburner URI text box and click Get it!

How do I get items stats ?

To get item stats, check Get Feedcount + Item stats on and click Get it!

I can’t see Items stats. Why ?

Login to your feedburner account. Click your feed. Click Awareness API under Publicize tab and then activate it.

Sourcecode available for VB.NET

I wrote this program using Visual Basic.NET in Microsoft Visual Studio 2005. This program is very simple. It makes a webrequest to get the xml response from Feedburner Aware API and process the result. I use thread to prevent from freezing when the program gets heavy response from Feedburner. Download source