Category Archives: Reference

Short references for personal… reference. Basically a howto for the tech-savvy.

SMPS Repair

I recently had to repair the Switched Mode Power Supply for my RockWheel (a one-wheeled electric “vehicle”). Looking around for some general guidelines, since I hadn’t touched line voltage in a while, I found this guide over here useful. Archived here for archival purposes…

Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

This error seems to pop up every now and again when I configure a new IIS server, even if I do remember to check the ASP option during the initial role selection. Here’s how to resolve it (run as admin) on a 64-bit system: %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i ..and on a 32-bit system: %windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i

Enabling read_committed_snapshot on an existing MSSQL database

In short, for the database named “internal”: SELECT is_read_committed_snapshot_on,snapshot_isolation_state FROM sys.databases WHERE name=’internal’ ALTER DATABASE [internal] SET allow_snapshot_isolation ON ALTER DATABASE [internal] SET SINGLE_USER WITH ROLLBACK IMMEDIATE ALTER DATABASE [internal] SET read_committed_snapshot ON ALTER DATABASE [internal] SET MULTI_USER SELECT is_read_committed_snapshot_on,snapshot_isolation_state FROM sys.databases WHERE name=’internal’

Removing VMware Player or workstation when the Hyper-V role is active

Blatantly stolen from Jussi Palo’s post here, and archived here. All credit to the original author. Challenge Time to go all in with Windows 8 and migrate development environments to Hyper-V. When you’re migrating from VMware to Hyper-V, and you happen to install Hyper-V before uninstalling VMware Workstation or Player, you will get warning that […]

Removing a WIFI-network in Windows 8

After having to look this up a third time, I found a post on Vonnie’s blog about it. I made a copy here. In short, Microsoft fucked up and you’re left with the command line to do this, unless the wireless network is in range. The following commands list all the WIFI networks you have […]

Shrinking a vmdk with VMware Player

It seems VMware has removed the GUI for the disk shrink feature in VMware Tools, but the good news is it’s still available from the console. The following command will shrink the disk image for drive C: “C:\Program Files\VMware\VMware Tools\VMwareToolboxCmd.exe” disk shrink c:\

Cygwin auto started sshd service as single user on Windows 8

On a single user desktop, you might want to run cygwin sshd autostarted as a specific user, without privilege separation. Here’s a short reference: Disable UAC Open a Cygwin terminal ssh-host-config Select “no” on privilege separation Enter nothing, [], as the value of CYGWIN for the daemon Select “yes” to use a different username than […]