Skip to content

Instantly share code, notes, and snippets.

View kldzj's full-sized avatar

Nikolai Kolodziej kldzj

  • Berlin, Germany
  • 21:00 (UTC +01:00)
View GitHub Profile
@kldzj
kldzj / README.md
Last active November 23, 2025 14:32
Bambu Lab P1 Webcam Upgrade - Automated Setup Script

Bambu P1 Series Webcam Upgrade - Automated Setup Script

This guide contains the command to automatically set up the mediamtx streaming server on your Raspberry Pi for the webcam upgrade project.

Prerequisites

Before you run this command, please ensure:

  1. You have successfully flashed your SD card with Raspberry Pi OS.
  2. You are currently connected to your Raspberry Pi via an SSH terminal.
@kldzj
kldzj / README.md
Last active December 29, 2021 19:54
Automatically watch the next best EFT stream with drops enabled and claim said drops

EFT Drop Stream Guide

Once you've got the Guide script running, you'll see a white button on the bottom left on twitch.tv. Clicking it enables the Drop Guide, which automatically navigates to the next best stream that has drops enabled. The extension will only guide you within tabs you enabled it in.

Twitch Drop Taker

The drop taker is enabled on the Twitch Drop Inventory Page and automatically claims every available drop.

Installation

@kldzj
kldzj / useKonami.ts
Last active May 12, 2024 18:36
React Konami-Code Hook
import { useState, useEffect } from "react";
const code = "38384040373937396665";
export default function useKonami(func: () => void) {
const [pattern, setPattern] = useState("");
useEffect(() => {
const handler = (e: KeyboardEvent) => {
if (!e.keyCode) return;