Skip to content

Instantly share code, notes, and snippets.

View JakubAndrysek's full-sized avatar

Kuba Andrýsek JakubAndrysek

View GitHub Profile

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).
@JakubAndrysek
JakubAndrysek / Google takeout MacOS.md
Last active December 14, 2024 17:38
Google takeout MacOS
@JakubAndrysek
JakubAndrysek / FlaskServer.py
Last active January 26, 2025 20:33
ChatGPT - plugin actions + Python Flask backend
from flask import Flask, request, jsonify
import random
app = Flask(__name__)
data = {}
@app.route('/')
def home():

Nextbike API

List citie

https://maps.nextbike.net/maps/nextbike-official.json?list_cities=1