RSSAmplifier

Blog

PäksTech

Recent content on PäksTech

pakstech.comRSS feed ↗30 posts

Latest posts

Increase LXC Disk Size in Proxmox

I noticed that I had only allocated 8G of storage for my Paperless-ngx LXC container running on Proxmox. Thankfully, increasing the amount is super easy!

Automatic Release and Build Workflow using GitHub Actions

Recently, I’ve been toying with a small personal side project where I wanted to implement automated release management with a press of a button, including version numbering and uploading build artifacts. In this blog post I’ll outline how this approach could be used in other projects, too.

Referencing Azure Key Vault secrets in Azure Functions

In the previous posts we’ve covered how to create an Azure Key Vault using Bicep and how to create an Azure Function App using Bicep . Now, let’s see how we can combine them together and reference secrets from a Key Vault in an Azure Function.

Using GitHub Copilot for writing documentation

Over the past few months, I’ve had the chance to dive into GitHub Copilot , and I must say, my experience with it from a programming perspective has been alright. However, what really caught my attention is how it can come in handy when it comes to writing documentation.

Manage Azure Key Vaults using Bicep

In a previous post, we explored the power of Bicep in defining and managing Azure Functions . Now, let’s dive into the world of Azure Key Vault and see how we can manage one using Bicep.

Deploy Azure Function Apps with Bicep

I’ve been recently working with some twenty plus Azure Function Apps that I need to manage. Previously, those functions had been handcrafted and managed manually from the Azure portal. In this post I will share how I switched to using Bicep templates instead and what I learned in the process.

Implement v-model in Vue.js

In Vue, the v-model directive is used to create a binding between an input or a component, and a data reference. This makes it possible to update the state of a value that is passed to a component. But how can you implement it yourself, especially if the value needs to be passed through a nested component?

Combine Multiple Filter Conditions in Python

This problem occurred when I was trying to think of an alternative way for returning the first item from a list that matches given constraints. Using if statements inside a for loop is the obvious way to comb through the items but the built-in filter() function provides an interesting alternative.

Create a Web App with Vue 3, Tailwind CSS and Storybook

I’ve been doing some small scale frontend development for a while now, and I have to say that I’ve really grown to love the Vue.js framework. Combined with Tailwind CSS and Storybook it makes for a strong starting point for your next web app!

Optional Arguments in Azure DevOps

Sometimes your Azure DevOps pipelines need to adapt to different situations with sane default values. On the other hand, optional arguments become especially handy when you want to create flexible and reusable templates.

Loops in Azure DevOps Pipelines

If you need to do the same thing over and over again, why repeat yourself? In this post we’ll discover how looping works in Azure DevOps pipelines.

Replace Docker with Podman and Buildah

Since Docker announced that the licensing terms for Docker Desktop have changed so that large companies need to start paying there has been growing interest towards alternatives. How can you switch to a free and open source solution, or should you?

Send Teams Notifications from Azure DevOps

An important part of a CI pipeline is to keep you updated on what’s happening. When a build or a test suite fails you might want to be notified about it. In this post we’ll learn how to send messages to a Teams channel from an Azure DevOps pipeline.

Configure a TLS Secret in Kubernetes

Quite often, when you’re working with a Kubernetes cluster, you also need to handle TLS secrets. Projects like cert-manager can take much of that load off your shoulders but sometimes you still need to configure a certificate manually.

Upgrade Ubuntu on WSL2

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

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

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

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

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

Edit Kubernetes Secrets

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?

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

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?

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

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

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

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

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

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

Configure Nextcloud Behind a Cloudflare Tunnel

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

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.