Blog

Upgrade Ubuntu on WSL2 Janne Kemppainen |

If you search for Ubuntu distributions on the Microsoft Store you’ll notice that only the long term support LTS releases are included. In this post I’ll show you how you can upgrade to the latest release, if you need to.

Copy SSH Keys from WSL2 to Windows Janne Kemppainen |

You may have generated an SSH key pair that you use with git on Windows Subsystem for Linux. But if you also want to use Git for Windows then you might want to reuse the same key on the Windows side so that you don’t need to maintain more keys on the remote, such as GitHub.

Fix NPM No Such File Error on WSL2 Janne Kemppainen |

I was working on a Node.js project and decided to run it on top of Windows Subsystem for Linux but it just wouldn’t work. The npm command would fail with a “no such file or directory error” like this:

Get docker-compose Working on Raspberry Pi Janne Kemppainen |

I was setting up Docker on my Raspberry Pi since I wanted to run Home Assistant on top of it. I wanted to use docker-compose to manage the container, but the installation was not successful.

Cancel a Git Commit Janne Kemppainen |

Did you commit and push something that you didn’t intend to? Don’t worry, it’s quite simple to fix!

Edit Kubernetes Secrets Janne Kemppainen |

Has your API key changed? Maybe you need to update a TLS certificate? There are many reasons why you’d want to edit secrets in Kubernetes. Luckily, this is relatively simple.

What ChatOps Solutions Should You Use Today? Janne Kemppainen |

Over the years we have seen many tools that enable communication with computer systems using a chat interface. Many of them are now obsolete as their development has ceased, though they still seem to be recommended everywhere. What are the tools that you should use today?

Use Inquirer.js to Create a Conversational CLI User Interface Janne Kemppainen |

Your CLI apps don’t have to be boring. Especially when there are plenty of possible configuration options, and the program is not going to be executed from a script, it might be better to provide a conversational user experience.

Should You Switch to Colemak? Janne Kemppainen |

You may have been pondering with the idea of switching away from QWERTY to a superior keyboard layout such as Colemak or Dvorak. But is it worth the trouble, especially if you’re a programmer?

Create GitHub Actions Workflows with a CLI App Janne Kemppainen |

GitHub Actions workflows are defined as YAML files that can contain various configurations. Sometimes it can be difficult to remember all the available options. That’s why I created a handy little tool called Actions Workflow!

Write a Bash Command That Fails Randomly Janne Kemppainen |

Usually you want the commands that you run to succeed. Though sometimes it might be useful to make them fail randomly for test purposes.

Run Selected Python Unit Tests from the Command Line Janne Kemppainen |

It doesn’t always make sense to run the full suite of tests when you’re developing a part of a program. So how can you run only a portion of your Python unit tests on the command line?