Category Archives: Geeky Stuff

Using End/Home key for SUSE Linux with PuTTY

Using the default PuTTY session configuration the [Home] and [End] keys don’t work under SUSE.  Not sure why the keys work differently on SUSE linux with PuTTY then other distributions, but it does.  Anyway the solution is a simple setting. … Continue reading

Posted in Linux General | Tagged , , | Leave a comment

WD My Book Live Duo – Readonly Public Share

The Western Digital MyBook Live Duo is a nice cheap NAS for home use.  Can be set to RAID1 for redundancy.  The first nuisance I ran into was for making public shares read-only to the world and write-able to specific … Continue reading

Posted in Linux General | Leave a comment

Secure Remote Backups on the Cheap

Like many “technically minded” families we have started to accumulate a startling amount of data at home.  A couple hundred gigs of storage on the file server used to be more than adequate.  I did a pretty good job of making sure … Continue reading

Posted in Linux General | Leave a comment

Batch gpg Decrypt and Unzip

In Linux: To batch decrypt with gpg: echo {yourpassphrase} | gpg –passphrase-fd 0 –decrypt-files *.pgp To batch unzip: unzip “*.zip”

Posted in Linux General | Leave a comment

Common SQL Server Troubleshooting Queries

Last Query for All Open Connections (source): SELECT    * FROM    sys.dm_exec_requests er     CROSS APPLY    sys.dm_exec_sql_text(er.sql_handle) AS t Number of Open Connections (source): SELECT      DB_NAME(dbid) as DBName,      COUNT(dbid) as NumberOfConnections,     … Continue reading

Posted in SQL Server | Leave a comment

PayPal Link Generator

PayPal used to let you create a payment link in addition to the current payment button.  The link was nice for a quick and dirty method when the button wasn’t needed, but PayPal seems to have done away with it. … Continue reading

Posted in Geeky Stuff | 1 Comment

Quick DVD Backup to ISO on Linux

I often want an easy command line way to easily backup a standard definition (non-BlueRay) DVD to and ISO image.  The command line is nice because I can do it remotely on an idle MythTV Frontend machine and can copy the … Continue reading

Posted in Linux General, MythTV | Leave a comment

Remove Unsed Linux Kernels

I hate manually cleaning out all of the old kernels here is a script to do it for you: dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge … Continue reading

Posted in Linux General | Leave a comment

Spam-me-not E-mail Link Obfuscator

http://www.ianr.unl.edu/email/encode/

Posted in Geeky Stuff | Leave a comment

Setting default Runlevel

  This was written for Fedora, not sure how many other other distros it applies to. There are three ways to change your runlevel:  * While the Computer is Running:  1. Open a Terminal.  2. Become root.  3. Type:  init … Continue reading

Posted in Linux General | Leave a comment