Showing items from Posts

Powershell: Custom prompt using oh-my-zsh

Install a nerd font from https://www.nerdfonts.com/font-downloads Install oh-my-posh using winget winget install oh-my-posh // Close & reopen powershell window // Check oh-my-posh version oh-my-posh version // Upgrade oh-my-posh using winget winget upgrade oh-my-posh Install Terminal-Icons and import them for displaying. // Open the current user profile: code $PROFILE // Add the following lines to the profile file: Install-Module -Name Terminal-Icons -Repository PSGallery -Scope CurrentUser Import-Module -Name Terminal-Icons This will install Terminal-Icons and import them for displaying common icons with the PowerShell terminal.

Continue Reading

Share WSL rootless Podman instance with Windows

Share WSL rootless Podman instance with Windows Background Podman Desktop is the easiest way to start using Podman with windows. However currently Podman Desktop creates a new WSL instance with podman and connects windows to it. While it is pretty convenient for most of the users, this still requires another WSL instance and maybe not so convenient when you already have a preconfigured WSL dev environment.

Continue Reading

Git: Move files from one repo to another with history

Background A lot of times as developers and code maintainers we need to move files/folders between code repos and most of the time we avoid exporting history because of the complexity and issues often faced during the export. However fret not anymore, I will share in this post how to easily export files with history using git command line and filter-repo command.

Continue Reading

Azure Bicep: Pump up your azure deployments

Azure Bicep: Pump up your azure deployments Even though Azure Bicep was announced at Ignite 2020 I was not so keen to try it out because of the preview nature of the cli and my personal preference and past experience with beta phase tools and technology. However keeping my preference aside I decided to start learning and using bicep for managing azure resource deployments.

Continue Reading

Setup a kubernetes cluster on raspberry pi/s using k3s

This blog post will detail the steps for setting up a kubernetes cluster on your raspberry pi/s using k3s. k3s: A brief introduction While it is completely possible to install, manage and run a complete kubernetes distribution (pronounced k8s) on your raspberry pi cluster (or on similar devices), for better performance and resource utilization in a resource constrained device like raspberry pi its advisable to install a lightweight kubernetes distribution like k3s by rancher.

Continue Reading