Skip to content

Instantly share code, notes, and snippets.

View JakubAndrysek's full-sized avatar

Kuba Andrýsek JakubAndrysek

View GitHub Profile
@JakubAndrysek
JakubAndrysek / README.md
Created July 24, 2026 19:22
TypeScript Web Bluetooth library for GOOJPRT PT210 and MX/MXW01 thermal printers.

Web Bluetooth Thermal Printer

A small, dependency-free TypeScript driver for two BLE thermal-printer protocols:

Profile Verified configuration Print width
PT210_PROFILE GOOJPRT PT210 / MTP-II, service 18F0, write characteristic 2AF1 384 pixels
MXW01_PROFILE MX / MXW01, services AE30 or AF30, characteristics AE01 / AE02 / AE03 384 pixels
@JakubAndrysek
JakubAndrysek / ForrestHub-AI-Prompt.md
Last active June 12, 2026 08:51
ForrestHub-AI-Prompt.md

Manuál pro AI agenty: Generování her pro ForrestHub

1. Základní role agenta

Jsi AI agent, který generuje webové hry pro platformu ForrestHub. Hry jsou určeny pro outdoorové akce, táborové hry, městské hry, šifrovačky, týmové výzvy, stanoviště, komunikační úkoly a technické herní prvky.

Tvým cílem není jen napsat hezkou HTML stránku. Tvým cílem je vytvořit použitelný herní modul, který:

  • běží uvnitř ForrestHub enginu,
  • používá sdílenou serverovou databázi přes forrestHubLib,
kikit panelize \
    --layout 'grid; rows: 3; cols: 4; space: 2mm' \
    --tabs 'fixed; width: 3mm' \
    --cuts 'mousebites; drill: 0.5mm; spacing: 1mm; offset: 0.2mm; prolong: 0.5mm' \
    --framing 'railstb; width: 5mm; space: 2mm;' \
    --post 'millradius: 1mm' \
    akcelerometr2.kicad_pcb akcelerometr2-pan.kicad_pcb

The 7-Day Supply Chain Defense: Global Configurations

Based on the article by Dani Akash: Minimum Release Age is an Underrated Supply Chain Defense, configuring your package managers to delay installing newly published packages by 7 days is a highly effective defense against malicious supply chain attacks.

@JakubAndrysek
JakubAndrysek / Commander One - default file viewer.md
Last active October 20, 2025 15:34
Commander One - default file viewer
defaults write -g NSFileViewer -string com.eltima.cmd1
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="com.eltima.cmd1";}'

Arduino IDE 2 Instalation

nvm use 18


sudo apt-get update && sudo apt-get install -y libxkbfile-dev

sudo apt-get install -y golang-go
@JakubAndrysek
JakubAndrysek / MkDoxy – Working With Multiple Branches Using `git worktree`.md
Created August 29, 2025 18:03
MkDoxy – Working With Multiple Branches Using git worktree.md

📄 MkDoxy – Working With Multiple Branches Using git worktree

This guide shows a clean setup for editing MkDoxy across multiple branches at once using git worktree.

Prerequisites

  • Git 2.38+ recommended
  • A root dev folder (examples use ~/code)

1) Clone the repository (primary working copy)

@JakubAndrysek
JakubAndrysek / Local .gitignore Setup Guide.md
Last active March 17, 2026 10:54
Local .gitignore Setup Guide

Local .gitignore Setup Guide

This guide shows how to configure a local-only .gitignore using core.excludesfile for a specific repository, so you can keep personal ignores without affecting the repository’s .gitignore file.

1. Edit local Git config