Skip to content

Instantly share code, notes, and snippets.

View JakubAndrysek's full-sized avatar

Kuba Andrýsek JakubAndrysek

View GitHub Profile
@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 August 12, 2025 13:19
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

build-run Tool

A command-line utility for building and running ESP32 Arduino-based tests using GitHub CI-compatible scripts.

Overview

This script simplifies managing builds and tests across multiple ESP32 platforms. It supports chunked testing, cleaning, QEMU emulation, and optional shell completions.


@JakubAndrysek
JakubAndrysek / idf-multiple-versions.md
Last active May 17, 2025 11:34
ESP-IDF Multi-Version Setup on macOS / Linux

ESP-IDF Multi-Version Setup on macOS / Linux

This guide describes how to install and manage multiple versions of ESP-IDF on macOS / Linux. It shows a clean and isolated installation for version v5.2.2, along with shell aliasing to easily switch between installed versions.

📦 Installing ESP-IDF v5.2.2

@JakubAndrysek
JakubAndrysek / web-nfc.d.md
Created February 22, 2025 09:13
web-nfc for NextJS

web-nfc for NextJS

Creating a custom module to support Web NFC in NextJS projects (TypeScript). Add the following code to your project to be able to compile and run the Web NFC API in NextJS.

Declare module

Declare the module in a .d.ts file in the root of your project or in the types directory.

#!/bin/sh
echo -e "\
╔════════════════════════════════════════════╗
║ BASH KEYBOARD SHORTCUTS ║
╚════════════════════════════════════════════╝
\033[1mCursor Movement:\033[0m
\033[1mCtrl + A\033[0m |← Move cursor to the \033[3mbeginning\033[0m of the line
\033[1mCtrl + E\033[0m →| Move cursor to the \033[3mend\033[0m of the line
@JakubAndrysek
JakubAndrysek / ImageConversion.md
Last active January 26, 2025 20:32
Converting one colour line image for laser engraving

Converting one colour line image for laser engraving

  • Download image
  • Remove background and keep only one colour line
  • Run script that will replace all non transparent colours with black

Example

@JakubAndrysek
JakubAndrysek / PyPI user statistics - all downloads.md
Last active February 17, 2025 22:09
PyPI user statistics - all downloads

PyPI user statistics - all downloads

This API tool allows users to retrieve the total downloads for specific PyPI projects, with options for caching and formatted outputs.

Features

  • Fetches download statistics for PyPI projects (mkdoxy and pyspacemouse by default).