Skip to content

Instantly share code, notes, and snippets.

View firsttris's full-sized avatar
🛠️
Building

Tristan Teufel firsttris

🛠️
Building
View GitHub Profile
@firsttris
firsttris / Ubuntu-Node-Playwright-Distrobox.md
Last active February 13, 2026 06:03
Guide for setting up an Ubuntu 24.04 Distrobox container tailored for Node.js development and Playwright E2E testing with full dependency support.

Setting up an Ubuntu Distrobox for Node.js & Playwright

This guide covers the creation of a specialized Ubuntu container for web development, including Node Version Manager (NVM), Node.js 24, and Playwright with all necessary system dependencies.


1. Create the Distrobox

First, create the container using the Ubuntu 24.04 image and include essential terminal tools.

README

After the 1948278201th time of having to apply this patch manually after a CSGO update I decided it's time for a script. In essense this script will:

  1. Detect the distribution
  2. Install the respective libtcmalloc via the disto's package manager.
  3. Search the lib paths to find the location of libtcmalloc_minimal.so.4
  4. Copy it into the GAMEROOT/bin/linux64 path.