Author: Peter Whyte

  • Setup SSH Keys in WSL

    Setting up SSH keys on Windows is generally done via OpenSSL or Putty. We can set this up and have quick authentication to places like GitHub or Bitbucket. But, we are also able to rely on a Linux distro in WSL for our SSH. If you are developing…

    Read More


  • “Config Lock Failed Operation not Permitted” – Git

    When attempting to clone a git repository on a linked folder within Windows Subsystem for Linux (WSL), I encountered the following error message: This error occurs when cloning repos to a mounted Windows drive in WSL. I am not sure of the fix for this issue, but if…

    Read More


  • Install Git on Windows

    This is a post on how to install Git (version control system) on a Windows computer. For more information have a look at the git-scm page, which is where we can download the client. There are a lot of configuration options throughout this wizard install, but there is…

    Read More


  • Create a Link Between Local Windows Files and WSL

    Creating a link between local Windows files and WSL (Windows Subsystem for Linux) is a useful way to share files between the two environments. In this guide, I’ll show how to link a folder in Windows to your WSL instance using the ln command, and also explain how…

    Read More


  • Access Local Files from Windows Subsystem for Linux (WSL)

    Accessing local Windows files from a WSL distribution allows integration between workflows, our local Windows environment and (WSL) Linux environments. This is done by navigating to the /mnt/c/ directory within your WSL Linux terminal. Alternatively, you can enter WSL directly from any Windows directory using a terminal. Both…

    Read More


  • Reinstalling a WSL Disto

    This post is a guide on how to reinstall WSL (Windows Subsystem for Linux) via command. This may be useful if you are looking to clear down and start a up fresh WSL instance, treating it as a throw-away environment. You should have any WIP code backed up…

    Read More


  • Enable Windows Subsystem for Linux (with Ubuntu 18.04)

    WSL allows Windows users to develop and run applications within a GNU/Linux environment. Previous to this feature release we needed VM’s or a dual boot setup. For more information, as always have a look at the Microsoft Docs. There’s a huge amount of tutorials and documentation on this…

    Read More


  • Remove Quotes from a CSV File with PowerShell

    This is a post on how to remove quotes from a CSV file using PowerShell. If your dealing with a large CSV file, running the Import-CSV cmdlet below will consume a lot of system resources (RAM mostly). Also, if there’s a set of double quotation marks within the…

    Read More


  • “.ps1 cannot be loaded because running scripts is disabled on this system” PowerShell Error

    When attempting to run a PowerShell script you may receive the following error: cdk.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170 This post is here to help you resolve this issue. The reason this is happening is…

    Read More


  • Creating a Linked Server with a MySQL Database

    This is my 3rd Linked Server demo post, and this time it’s to a MySQL database. Noteworthy weblinks: # My Linked Server Blog Posts.# Microsoft Docs – Linked Servers. Here is a simple diagram of the setup in this post. The above was setup similar to what’s included…

    Read More