Backing Stuff Up

Jeff Atwood's post on backup strategies made me reflect on what I was doing myself to keep my data safe. I don't really have a "backup strategy", though I do try to keep a good backup around (and I'm always careful to, for example, backup my laptop when I'm traveling...

PowerShell's Resolve-Path

One of the commands I've found more useful in PowerShell is the resolve-path command, which "interprets the wildcard characters in a path and displays the items and containers at the location specified by the path, such as the files and folders or registry keys and subkeys. The names appear just...

Console

<img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="232" alt="Console" src="/weblog/content/binary/WindowsLiveWriter/Console_C7C1/Console_thumb_1.png" width="300" align="right" border="0" /> I'm a heavy user of the command line on Windows, and for a number of years I've used the open source Console application instead of running plain cmd.exe as my console of choice. I...

Modifying the home in PowerShell

After a long time of procrastinating about it, I finally sat down and started putting together a simple profile script for PowerShell to make it a usable alternative for everyday tasks. It's an excellent shell, but without tweaking it a bit, it can be a bit painful to use at...

PS: Executing string as a command

Recently I was writing a small script for Powershell and I needed to call an external program from my script. However, I wanted to be able to put keep the directory the executable was located in in a variable; you know, like one usually does in regular batch files. After...

Vimperator for Firefox

I just ran into Vimperator today. It's a Firefox add-on that enables VIM-like functionality directly info Firefox! I installed it to see what it's like and it seems pretty interesting (though not sure whether I'll get used to it or no). By default, Vimperator hides the Firefox menu and toolbar,...

KDE4 on Kubuntu 7.10

Yesterday I decided to go a bit on the bleeding edge and went ahead and installed KDE 4.0 on my machine running Kubuntu Gutsy Gibbon. I started installing kde4-core first, then went for the whole kde4 package. For the most part, the installation went OK. There are many UI changes,...

Marshaling Delegates as __cdecl

I spent some time the last couple of days working on some C# code that used P/Invoke to interact with an unmanaged library consisting of several function calls and some callback procedures. One of the issues I ran into was that I needed to pass to one of the library's...

User Home Folders

Jeff Atwood has an interesting piece about applications polluting the user space, forcing their own folder and file structures and other crap into the user's home folder. He's right, but I think he stops too early. Jeff's right that the classical Unix practice is a bit better than what Windows...

ViEmu

A few months back I commented that I had gone back to using Vim as my text editor when not using Visual Studio, and to be honest, I haven't regretted that at all. I'm not a Vim power user by any measure, but I do get around and I'm constantly...