Computers
How to remove a file in unix with a leading dash in it's name?
Submitted by pwnell on Sun, 01/17/2010 - 10:33That was the question I asked myself recently when I had a file called --exclude in the root of my filesystem. These commands all failed:
rm --exclude
rm "--exclude"
rm \-\-exclude
rm ??exclude
So I found the solution - so simple it embarrassed me. Just add the full path:
rm /--exclude
or tell the command line parser to stop interpreting options:
rm -- --exclude
Easy!
I hate computers
Submitted by pwnell on Tue, 12/01/2009 - 21:09Why can people not write stable software? IntelliJ Idea 8.1.4 is supposed to be awesome. Look at what it does to my CPU once every 5 minutes, for 1 minute long - for no reason (I have not worked in it since yesterday):

The new magic mouse is awesome, BUT
Submitted by pwnell on Wed, 11/25/2009 - 21:34after only 3 weeks of use this is what I am greeted by:
Parallel Tools 5 Fails on Windows 7 and Parallels 5
Submitted by pwnell on Thu, 11/05/2009 - 15:07I tried to upgrade my existing Windows 7 RTM VM to the new Parallels 5 version by upgrading. Unfortunately Parallels Tools failed with an Error 2738, Could not access VBScript run time for custom action.
The solution was to remove the stale HKCU registry key for the VBScript.dll registration:
http://blogs.msdn.com/astebner/archive/2007/06/07/3151752.aspx
All Operating Systems suck, only some suck less than other.
Submitted by pwnell on Sat, 10/10/2009 - 20:14How retarded is this?
Submitted by pwnell on Wed, 09/09/2009 - 17:02A new installation of Microsoft Server 2003 SP1. I try to install a Microsoft component - .NET 2.0. I am greeted with this:

Java on Snow Leopard
Submitted by pwnell on Thu, 09/03/2009 - 22:24So if you are like me and eager to get the latest and greatest from Cupertino on your Mac Pro, you will be severely disappointed if you do any Java development that requires an older JVM than 1.6.
See, Apple symlinked all older folders to 1.6:
drwxr-xr-x 11 root wheel 374 28 Aug 21:09 .
drwxr-xr-x 12 root wheel 408 28 Aug 21:36 ..
lrwxr-xr-x 1 root wheel 5 28 Aug 21:09 1.3 -> 1.3.1
drwxr-xr-x 3 root wheel 102 20 Jul 16:35 1.3.1
lrwxr-xr-x 1 root wheel 10 28 Aug 21:09 1.5 -> CurrentJDK



