Monday, September 21, 2009

Amazon Product Advertising API signature

A couple months ago I got this email from amazon:
Dear Developer,

We want to remind you that all calls to the Product Advertising API must be authenticated using request signatures by August 15, 2009. Please remember that calls to the Product Advertising API that are not signed will not be processed after August 15, 2009. For help on request signatures, please see the Resources section below.

The Product Advertising API Team.


Well, I tried to find an example about this signature on amazon's website, but none of the examples is using PHP. Fortunately, there's a guy who wrote the example using php.
Here is the link:
http://www.codediesel.com/php/accessing-amazon-product-advertising-api-in-php/

Tuesday, September 15, 2009

Printing multiple pages in 1 sheet of paper (OpenOffice Writer 3)

I want to print 2 pages in 1 sheet of paper.

Firstly, go to Page Preview. Then click 'Print options page view' button and change the format to Landscape.

Next, click 'Page Preview: Multiple Pages' button, choose '2 x 1 pages'.

Finally, click 'Print page view' button.

Done.

Sharing printer connected to Windows 7

My printer is connected to the Windows 7 PC. I would like to add the printer to my XP PC. However, my XP PC couldn't see the Windows 7 PC. Well, Windows 7 has a concept called Homegroup. It seems that Homegroup is only used for Windows 7. So, what I have to do is to leave the Homegroup, then join the Workgroup.

If you go to Network section in control panel, there's an option to leave the Homegroup.

To change the Workgroup, click the start button, right click on Computer and choose Properties. Change the workgroup, then restart the computer.

Next, what I have to do is to activate the printer sharing (right click on printer name).

That's all the steps needed in Windows 7. Now my XP PC can see the printer attached to Windows 7.

Done.

Friday, September 11, 2009

Can't access Netcomm NB9W's settings page

After I changed some settings in NB9W, I couldn't access the settings page in web browser anymore. However, I still could ping it successfully.

Somebody suggested to run 'netsh winsock reset' in the command prompt, then reset the computer. I did it and I still couldn't access the router.

The next thing that I did was to reset the router. Well..that's all..I can access the router now.

Friday, September 4, 2009

Viewing NEF file in Linux Mint

NEF file is Nikon's raw image format. When I tried to open it in Eye of GNOME, I could only see the image in 160x120 pixels.

I remember that I never have this problem with Ubuntu. So, I downloaded the Ubuntu's image viewer called gThumb.

Well, gThumb can open the file perfectly. But I've got one more problem. Everytime I opened the image, it was displayed in the full size. Most of my photos are 3900 pixels wide, so I don't want to open it in its original size.

To change this behaviour, go to Edit > Preferences, go to Viewer tab. In the 'After loading an image' options, choose 'Fit to window if larger'.

Done.

Thursday, September 3, 2009

Modifying google in Opera's search bar

I want to change the default Opera's search from google.com to google.com.au.
To change it, go to Tools > Preferences, go to Search tab, select google, and click edit.
Click the Details button, then enter http://www.google.com.au/search?q=%s in the address text box.

Done.