scripting

Code

Bootstrap your Dotfiles with dotbot

A customized set of dotfiles can vastly increase your command-line productivity and happiness. In this tutorial, we'll be setting up a dotfiles repository and bootstrapping it using dotbot.

Code

Easily Rerun EC2 UserData

EC2 UserData code blocks only run when an EC2 starts up for the first time. Rerunning this code can be useful for troubleshooting purposes. I go through how to view, verify, and execute your EC2's UserData.

Code

Polyglot Version Management with asdf

Managing and remembering the commands for multiple version managers can be cumbersome. Asdf is a polyglot version manager that supports a large number of languages. This means remembering only one set of commands for all of your version management needs.

Code

Backup and Restore Visual Studio Code Extensions from the Command Line

The backup and restore of your Visual Studio Code extensions are simple tasks from the command line. I go through the commands and also create a script to easily make use of them.

Code

C# Scripting using dotnet-script

C# is an extremely powerful language but for small, simple tasks it tends to be a bit overkill. dotnet-script aims to alleviate the friction. It allows C# code to be run script files - no compile step, no csproj file, and no Main method.