Skip to content

Instantly share code, notes, and snippets.

View JakubAndrysek's full-sized avatar

Kuba Andrýsek JakubAndrysek

View GitHub Profile
@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 November 10, 2025 14:55
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 December 4, 2025 19:04
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