Kagunda JM

/ Software Developer /

Powershell History Remove Duplicate Commands

When running commands within PowerShell, the history of commands may contain duplicated commands. To run a command contained within the commands history, you use the up arrow key to scroll up to the required command. If the commands are many and duplicated, it may require a bit of effort to get to the required command. In Windows PowerShell 5.0, you can prevent duplication of commands within the history by running the following command in PowerShell:

Hosting Google Fonts Locally

When a website using google fonts is hosted locally without internet access, the need arises to host fonts used on the site available locally. This post uses a simple demo to illustrate the steps required for self hosting google fonts locally. Create an index.html file and styles.css. You can use different names for the files. <!-- index.html --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link href='styles.

Install Go on Windows 10

Download MSI installer After the download is complete, open the downloaded msi file and follow the prompts to install Go. By default, the installer places the files in the c:\Go folder and also adds the c:\go\bin directory to your PATH environment variable. Create a working directory for your Go projects and change to this newly created folder. This will be your Go workspace and should be separate from your Go installation folder.

Recovering Folders converted to shortcuts by virus

There is nothing more annoying and frustrating than trying to copy files to a client’s computer using a usb drive and realizing that the clients computer has a virus and it has turned all your files into a shortcut. If you had important files and allow an antivirus to clean the usb drive, you may end up losing the files. This has happened to me on several ocassions and there are times I end up losing files.

Installing Jekyll on windows 8.1

Jekyll is an static site generator designed for static websites and blogs. In this post, I enumerate the process of installing Jekyll on Windows 8.1. On previous ocassions, my posts (though rare) have been dynamic and created using blogging platforms which make writing blog posts a very easy process. Unfortunately I never kept pace with the updates on these platforms and one day I woke up to find my site had been hacked.