Tuesday, December 13, 2016

New Desktop Setup

I have certain tweaks that I like on all of my Windows setups.  I'm blogging these down now that I've got my Amazon Workspace (Windows 10 Experience powered by Windows Server 2016):

  • Create a folder for my favourite utilities
    • create a d:\bin folder
    • add d:\bin to PATH
      • Run | sysdm.cpl
      • Environment variables
    • download utilities to d:\bin
      • putty
        • Select Default Settings
        • Category | Window | Lines of scrollback 9999
        • Category | Window | Appearance | Font settings | Change | Consolas, 12-point
  • Bypass password prompt in Putty for common servers
    • Download pageant.exe to your path.  
      • Available from https://the.earth.li/~sgtatham/putty/latest/x86/pageant.exe
      • This allows plink.exe to log in via without typing in your password every time.
    • Follow the instructions in Section 9.1 at http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter9.html. to generate and add a private key.
    • Follow the instructions in Section 8.3 at http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter8.html#pubkey, but use the private key instead of the public key.
    • Set the auto login username to your cedev1 username to prevent being prompted each time you log in. (Putty -> Connection -> Data).
  • Set the background to a dull black or grey
  • Set Dvorak as the default keyboard
  • Chrome as the default browser
  • Notepad++ as the default text editor

Wednesday, November 2, 2016

Useful Linux Performance Tools



To help diagnose Linux performance, try these colourful tools:
dstat
htop

For some other useful tools:
http://www.dedoimedo.com/computers/linux-cool-hacks.html

Wednesday, October 17, 2012

Remove Hidden NICs

I was always annoyed when creating new VMs that the NIC would enumerate to #2. To reset the NIC numbering:


Remove Hidden Nics
You will probably run into issue where windows complains about the IP already being assigned to a network card yet no other network card shows up. Sometimes you end up with a hidden NIC that you have to manually remove:
1.     Click Start, click Run, type cmd.exe, and then press ENTER.
2.     Type set devmgr_show_nonpresent_devices=1, and then press ENTER.
3.     Type Start DEVMGMT.MSC, and then press ENTER.
4.     Click View, and then click Show Hidden Devices.
5.     Expand the Network adapters tree.
6.     Right-click the dimmed network adapter, and then click Uninstall.

Follow Your Bliss

http://broughtonadvisory.com/2012/04/follow-your-bliss/

Programmer Joke #1



Q: Why do programmers always confuse Halloween with Christmas?
A: Because 31 OCT = 25 DEC.

Monday, July 16, 2012

Recover Lost Photos

http://www.cgsecurity.org/wiki/TestDisk_Download