My thoughts as an enterprise Java developer.

Tuesday, July 23, 2013

Registry Hacks

These are some of my favorite Windows registry additions:

Add Notepad as a right click menu option to open any file:
CLASSES_ROOT\*\shell\notepad\command\:REG_EXPAND_SZ: %SystemRoot%\system32\notepad.exe %1

Add DosHere as a right click menu option to all folders to start a command prompt in that directory:
CLASSES_ROOT\Directory\shell\DosHere\command\:REG_EXPAND_SZ: %SystemRoot%\system32\cmd.exe /k cd "%1" && title %1

Wednesday, July 17, 2013

PayPal makes man $92 quadrillion richer (temporarily) | Technically Incorrect - CNET News

PayPal makes man $92 quadrillion richer (temporarily) | Technically Incorrect - CNET News: "Please imagine, for example, how giddy Pennsylvania PR executive Chris Reynolds must have felt when PayPal made him $92 quadrillion richer -- $92,233,720,368,547,800 richer to be precise."

That is $41.92 more than the max amount of money (in pennies) that can fit in a signed 64-bit number.