Blog

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?

Make an NPM Package Executable with npx Janne Kemppainen |

You may have used the create-react-app package and thought that you’d like to make your own NPM package work in the same way with npx. It’s actually quite easy.

Add Videos to a GitHub Repo Readme Janne Kemppainen |

When you create something cool and interactive what better way is there to demonstrate it than through video?

Configure Nextcloud Behind a Cloudflare Tunnel Janne Kemppainen |

When you set up a private Nextcloud installation on your home server and want to have it accessible from the outside network you traditionally need to poke a hole in your NAT and set up dynamic DNS to be able to find the correct IP every time. With Cloudflare Tunnel you can connect to your server without ever exposing your IP address to the world.

Run GitHub Actions on Issue Comments Janne Kemppainen |

GItHub Actions lets you do all sorts of fun things with your CI pipelines. Issue comments are one of the many events that can trigger an action run, and they can be used to create some useful interactions.

Use Make on Windows Janne Kemppainen |

Make is an incredibly powerful tool for managing application compilation, testing and installation, or even setting up the development environment. It comes standard on Linux and macOS, and it is therefore widely adopted. But how can you get started with Make on Windows?

Stop Ctrl+Shift from Switching Keyboard Layout in Windows 10 Janne Kemppainen |

Since I’m using two languages and two different keyboard layouts on Windows I’ve been experiencing weird issues with unexpected layout switches. Turns out that Windows has a handy little shortcut Ctrl + Shift that toggles between keyboard layouts. This is incredibly easy to do accidentally when you’re switching between tabs on a web browser. Luckily this feature can be disabled!

Use StatsD to Measure Your Python App Metrics Janne Kemppainen |

If you’re a fan of DevOps, then you should also be enthusiastic about collecting telemetry from your production applications. StatsD is one solution that you could use to collect metrics in Python.