Tuesday, February 20, 2007

Visual Studios 6.0 shortcut keys that matter to me

At work I end up living within Visual Studios 6.0 for long durations. These below are probably my most used short-cuts.

Failed compile?

F4 - Move to next Error (and highlight in the IDE)


Structure members

View function parameters


Auto-indent current selection


Brace Matching

Or if you want do 'know it all'

To display keyboard shortcuts

  1. From the Help menu, choose Keyboard Map and perform one or more of the following actions:
    • Click Category, Editor, Command, Keys, or Description to sort the keyboard shortcut list alphabetically in different ways.

    • Click the Printer button to print a copy of the list.

    • Click the Copy button to copy the list to the Clipboard so you can paste it into a word processor or other text editor.

    • Click the drop-down menu to filter the list to view either All Commands, Bound Commands, or by menu.

Tuesday, February 06, 2007

HOWTO turn off sticky keys in windows

I am normally not one to get riled up, but I have to admit that the number of times I've seen the above dialog makes me ready to use words I shouldn't.

We are blessed with every Windows installation having Sticky Keys ready to respond to either a rapid press of the shift key or a long pause on the shift key. If you are anything like me, I often pause in thought with a finger on the shift key. Right now I pause with my finger on the shift and wonder whose decision it was to leave this on by default in Windows? ... On a lighter note, on the name "sticky keys." Isn't that something you would get if you use your keyboard immediately after peeling an especially juicy orange?

To the get dialog above:
Hit shift 5 times
Hold shift down for 5 seconds.

To turn it of from the dialog above:

  1. Click Settings
  2. On Keyboard Tab, as seen the dialog below un-select use StickyKeys

  3. Careful you aren't done yet. Click the settings button in the StickyKeys area.
  4. In that dialog un-select all the items.
  5. Click OK.
  6. Click OK once more.
You are now not going to be interrupted while you are paused thinking any more.

Keywords: Windows, StickyKeys off, Turn off StickyKeys, how to Turn off StickyKeys, Stop StickyKeys dialog.

Saturday, February 03, 2007

HOWTO turn off the UPS alarm on Tripp Lite OMNI1000LCD UPS (USB)

All UPS units tend to have an alarm (also known as the beeper) that sounds when the power is removed from the unit. This alarm maybe valuable to some people, but I would say for my computer room closet it would be more annoying in the middle of the night than necessary. I'll deal with a power outage when I wake up.

I am running NUT on Gentoo Linux to manage my Tripp Lite OMNI1000LCD UPS (USB) and to turn off the alarm one simply needs to run the following command, remember the username is what you defined in /etc/nut/upsd.users:

#upsrw -s ups.beeper.status=disabled -u nutusername
-p nutpassword theUPS@localhost:3493

immediately following that the command
upsc verified the change was live:

# upsc theUPS@localhost
battery.charge: 53
battery.type: PbAc
battery.voltage: 12.3
battery.voltage.nominal: 12.0
driver.name: newhidups
driver.parameter.port: auto
driver.version: 2.1.0
driver.version.data: TrippLite HID 0.1
driver.version.internal: 0.30
input.frequency: 59.8
input.voltage: 116.7
input.voltage.nominal: 120
output.frequency.nominal: 60
output.voltage.nominal: 120
ups.beeper.status: disabled
ups.delay.reboot: 65535
ups.delay.shutdown: 65535
ups.mfr: Tripp Lite
ups.model: TRIPP LITE UPS
ups.power.nominal: 1000
ups.serial: 692195 B
ups.status: OL CHRG

Now when there is a power loss to the unit it is silent and will shut down the computer when the low battery signal occurs.

keywords: UPS, NUT, alarm off, beeper off, disable alarm, disable beeper, linux, Gentoo, Tripp Lite OMNI1000LCD UPS USB.