Friday, 17 September 2010

How to change the default search in Chrome to use google.co.uk

  1. Open the "Options" window;
  2. Go to the "Basics" tab;
  3. Next to "Default search", click on "Manage";
  4. On the "Search Engines" window, click on "Add";
  5. In the "Edit Search Engine" pop up, enter:
    • Name: Google UK
    • Keyword: google.co.uk
    • URL: http://google.co.uk/search?{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}sourceid=chrome&ie={inputEncoding}&q=%s
  6. Then OK to save the changes, and close the pop up boxes, and it is all done.

Saturday, 3 April 2010

Boot from USB for PCs that can't

After lengthy searching the internet trying to find a way to get my PC to boot from a USB memory stick , I finally come across a useful utility called the PLoP Boot Manager.

It is useful because, although my PC can use USB devices, the BIOS does have an option to boot from them. If you search the web you can find lots of references where people have provided ways of booting specific (mainly) versions of linux from USB by copying the kernel and various other files to a hard disk partition and using them to boot the USB stick. However, using PloP allows you to boot anything from the USB stick without the need for specific files to be copied the the hard disk. It also allows you to boot from other devices such as CD/DVD drives etc.

You can find out more at its homepage: http://www.plop.at/

Wednesday, 31 March 2010

Chrome View Source Problem

There is problem with the view source option in the Chrome browser, in that if the page has been generated as a result of a form submit then view source won't pick this up if it was via a post. It seems that to get the source Chrome just resubmits the URL as it is complete with query string.

Tuesday, 5 August 2008

HTTP Server Variable Gotcha

If you need to get the URL of the referring page that has submitted a form you need to look at the server variable "HTTP-REFERER" not "HTTP-REFERRER". It appears that a spelling mistake early on in the web has stuck.

I have been programming a web page using ASP which submitted a form, processed the details and redirected to a confirmation page. However, the form could be submitted from two different sites (an intranet site and a corresponding interent site) but both sites had to submit to the same site (it was updating an MS Access database). So I was looking at the referring page to determine which site to redirect back to. Doing some research had suggested getting the value of Request.ServerVariables("HTTP-REFERRER"), however after some time trying to figure out why it wasn't working I found out that it should be Request.ServerVariables("HTTP-REFERER").

Sunday, 1 June 2008

Resetting PatientLine Terminals

When visiting my wife in hospital, we had been use of the internet facility available via the PatientLine service. However, after a while the browser (actually Internet Explorer 6) was becoming very slow, and so we exitted it. Even going back to the TV resulted in a message about low memory to keep appearing, and the phone didn't appear to be working very well.

So I thought, if it is using Internet Explorer then it is probably running a version of MSWindows (Embedded XP), and sure enough pressing ctl+alt+del on the attached miniature keyboard brought up the usual reset dialog. From there it is possible to select Reset and therefore reboot the terminal. I wouldn't recommend using the shutdown option as the is no obvious way to restart the system, and you would have to get someone to come out and restart it for you.

Anyway after a few minutes watching the system shutdown, restart, boot from the network, start up xp, and waiting for all the applications to start up, the terminal was again working at full speed.