Monday, February 22, 2010

Wikipedia https Google Chrome Omnibar Keyword Search

I am a small-time Wikipedia contributor, who tries to make edits whenever possible, in areas I'm capable of contributing, to do my small part in "giving back" to community.

I use browser-based address-bar searches often, bypassing web-site front pages, saving 30-90 secs in the process. I am also somewhat security conscious, therefore I prefer searching from the secure Wikipedia site by default, so that should I spot an edit that I can make, I am already logged in (using https) and can make my edits immediately.

Google Chrome and Opera are my default browsers, but one thing that has irked me was that while it is very easy to configure Opera to search Wikipedia using the secure site, Chrome has steadfastly refused to automatically add Wikipedia search from it's https site to the Chrome Omnibar (address bar) Search. In contrast, Chrome has no such problems adding the non-https search to Omnibar Search

Today, I finally decided to figure out the search string and configure it manually to the search in Google Chrome. Hope this helps someone else!

https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special:Search&search=%s

Sunday, February 21, 2010

set Critical Battery Level in Windows 7

Having recently installed Windows 7 (64-bit), I faced the irritation of Windows 7 not allowing me to drop the Critical Battery Level below 11%. The dialog box allowed me to change the value, but whether I click OK or Apply, my changes did not take effect. The next time I opened power options, the value went back to the default (in my case) of 11%.


Having Google'd extensively, I found quite a few guides on how to use powercfg, as well as others facing the problem, but no exact configuration command line.

I list the command here, with a "quick-and-dirty" explanation of the various portions of this command. You will have to use a Administrator Command Prompt for this command to work.

"powercfg -setdcvalueindex scheme_current sub_battery batlevelcrit 3"

Explanations:

  • "-setdcvalueindex": running on DC power (ie. "On battery")
  • "scheme_current": applies to currently selected power scheme
  • "sub_battery": the battery related sub-group within the power options
  • "batlevelcrit": the critical battery level property
  • "3": 3 %, which is my desired setting. Pls use whatever battery level you prefer to activate your Critical Battery Alarms at.


The following are the other guides I cobbled together the above information from.

  1. Setting Critical Battery Action To “Do Nothing” In Windows 7
  2. Powercfg on Battery Power

Sunday, February 14, 2010














How many times have you updated Firefox to see this. Whoops, your favorite extension hasn't caught up yet, and if it's an essential one like "Tab Mix Plus" or "DownThemAll", your online life is going to royally suck for a while at least.

Anyway, a friend recommended this small innoculous addon called "Is It Compatible". Before you update, you can always do a cursory check that your Add-ons are compatible with the version you're updating to. (Note that now, your Add-ons show the Firefox version numbers they're compatible with.)