Monday, December 30, 2013

Hack is the new Magic

It's pretty likely that you will be a subject of scorn and ridicule if you explain things you don't understand as "magical", "mystical", or acts of God. So in the technology realm it seems that popular media uses "hack" in place of "magic". I've started using the following word replacements when reading online "news':

  • hack = magic
  • nerd = witch
  • geek = wizard
  • cyber = medieval
  • code = incantation
  • jailbreak = dark magic
  • DRM = white magic
  • enhance = magnify
It really makes reading the online "news" more magical!


Wednesday, October 9, 2013

Quick PuTTY registry backup from the command line

Here is some strung together windows commands to backup PuTTY registry keys:

@echo off
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b) For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a%%b)

echo Backing up PuTTY registry to .\PuTTY-sessions-%mydate%_%mytime%.reg regedit /e .\PuTTY-sessions-%mydate%_%mytime%.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

Hope that works for you.