Mocking OAuth2 and OpenID Connect Login in Next.js

Node.js logo

I’m currently developing a small application in Next.js that will be protected with a rather typical OAuth 2 login flow. The login part will most likely be delivered last-minute by an external team, and will most likely be based on Azure Entra Id. Therefore, I decided to mock the login flow to help me develop … Read more

VS Code: give GitHub Copilot access to the internet

GitHub Copilot logo

The problem: Copilot cannot browse the web One of the limitations of the default GitHub Copilot installations in Visual Studio Code I was kind-of aware of, but never really focused on, is in its inability to access internet websites, or search the web. It turns out to be inconvenient, especially when working with niche libraries … Read more

VS Code: display custom warnings in the Problems tab

Visual Studio Code logo

How do you display custom issues in the Problems view during build? Visual Studio Code offers a Problems tab that displays errors and warnings from your code. While it works well with built-in linters and compilers, sometimes you need to integrate custom validation tools into your workflow. In this post, I’ll show you how to … Read more

Tools to improve sound quality of audiobooks or podcasts

When I search for an audiobook, my usual choice is Amazon’s Audible (or our Polish Audioteka). This usually ensures good recording quality, and I have no concerns about copyright issues. However, occasionally, I discover that the best available recording is found on LibriVox, YouTube, or a similar service with a mix of amateur and professional … Read more

Storybook 8: remove padding around iframe

Storybook logo

Here’s a short recipe for removing padding added around elements in Storybook iframes. The problem Storybook adds the .sb-main-padded class to the previews. In my opinion, this padding is unnecessary because it is not part of the designed component but a part of the Storybook viewport. It might wrongly suggest that we must deal with … Read more

My top learnings of 2024: the best tools I discovered this year

This post continues my series, presenting the most significant technology insights I discovered in 2024. I’ve already posted about my recent learnings about the world of hardware. Here, I’ll list a few discoveries related to software tools and online services that I discovered and now find indispensable. #1: GitHub Copilot: if you don’t use it … Read more

My top learnings of 2024: PC hardware

Hey! As 2024 ends, I’ll publish a short series of blog posts about what I have learned and discovered in the technology world over the last 12 months. 2024 is a super exciting year, with the fast rise of Generative AI. GenAI applications are hitting the market almost daily, but I’ll write about it in … Read more