Tips

Edge Adjustments

I do like to use Microsoft Edge as my main browser. I use one profile for work and one for personal things. I’ve changed a couple of settings to better fit my way of working

Initial startup directory in PowerShell

Up until now I had a Set-Location statement in my Microsoft.PowerShell_profile.ps1 startup file that set my in the directory above all my work related folders. However, that did not work well with Visual Studio Codes build step as it runs with the standard terminal. Asking CoPilot I got the following (working) solution

if (-not $env:TERM_PROGRAM -eq "vscode") {
    Set-Location (Get-CanonicalCasePath c:\myprojectsfolder)
}

I’m considering turning more of my customizations off to improve on the startup time.

Deleting hidden Subversion files before zipping

Subversion holds various information in .svn directories placed in all directories and sub-directories under version control. Sometimes it is desireable to clean out these files, for example, prior to emailing a zip of the files. I use the awesome tool Total Commander for the job.

A Native Win32 TaskSwitcher

My previous task switcher application had a serious performance problem as it was programmed in .NET. In order to start the small utility you had to load up the CLR and a bunch of assemblies (dlls). If you are a .NET developer it might not be that big a problem as most of the code was already loaded up. However, for general use it was not the best option.

Two Monitors and AutoHotKey

I prefer to use the keyboard whenever possible. I have a two monitor setup and found myself moving windows from one monitor to the other using the mouse. However, using AutoHotKey I was able to do this by keyboard. Also I wanted to swithc easily to a particular window using the keaboard.

Update: The functionality has now been integrated into Windows 7.