Go: Storing Database Credentials in Environment Variables

A sensible default is not to hard code Database credentials in your source code. One alternative is to use Environment Variables which provide a low-friction method for managing sensitive data. In this post I will walk through the process of creating Environment Variables to store Postgres Database connection details and accessing them from Go. Version […]

Microsoft PowerToys Text Extractor

Text Extractor is one of the utilities included with Microsoft Powertoys and provides the ability to copy text from images and video to the Windows Clipboard. Using Text Extractor There is no UI for Text Extractor, instead it is enabled via the activation shortcut of which allows the selection of the text from an image […]

Windows Terminal: Setting a background picture

In this post I will show you how you can add a background picture to Windows Terminal. Settings Open Settings either by the keyboard shortcut of CTRL + , or click the down arrow on the Windows Terminal tab bar. The settings, which is a JSON file will be displayed using the editor configured for […]

Naming Windows .bat files

Whilst setting up a Elixir development environment I ran into a interesting problem. I created a new .bat file in Windows 10 to start up Elixir’s Interactive Shell. The command I wanted to run was: iex –werl So I created a new Windows .bat file called iex.bat which contained this single command. Unfortunately when I double […]