Skip to content

Instantly share code, notes, and snippets.

View frdmn's full-sized avatar
🦀

Jonas Friedmann frdmn

🦀
View GitHub Profile
@frdmn
frdmn / keys.pub
Created August 18, 2020 12:53
frdmn@github - keys.pub
BEGIN MESSAGE.
EEGErlKyZxOo4VB kevDbZUEJAKrBDB R20P7l03WuMQcBL YELNpEd6pHSK0Ng
rELQG5zby40L7QO FwKs4uB8e83TCKq 6Xr2MZHgg6oYWic lco69PQeA8YqJel
dc4vyMPo8DNbKMT IfoxAFXppc4Frfl 8OE60qwf1IcLNGn gAHSdzQRYfjwayL
bgm5HNUb0f7EJJV DvyzY9wmIdIvIMx mGPQj.
END MESSAGE.
@frdmn
frdmn / index.md
Last active March 16, 2023 15:43
Raspberry Pi 4B with Prusa MK3s / Einsy RAMBo headers

Raspberry Pi 4B with Prusa MK3s / Einsy RAMBo headers

The guide below describes how to connect a Raspberry Pi 4B to the Prusa i3 MK3s main board (Einsy RAMBo) board with its builtin RPi headers and an additional step-down / buck converter. The buck converter is necessary, since the Einsy headers do not provide enough amps to power anything bigger than a Raspberry Pi Zero W.

Parts needed

Wiring

@frdmn
frdmn / mysqldump-progress-single-db.sh
Last active October 27, 2021 11:32 — forked from o5/dump.sh
MySQL / MariaDB Dump Helper
#!/usr/bin/env bash
# MySQL / MariaDB Dump Helper
# ===========================
# FEATURES: Progress bar with ETA, support multiple databases (dump into separated files) and password as argument
# REQUIREMENTS:
# =============
# GNU Core Utilities, mysql, mysqldump, pv (https://github.com/icetee/pv)
@frdmn
frdmn / reminder_to_close_window.yaml
Created November 21, 2021 16:20
Improved version of @home-IoT/hass-blueprints:reminder_to_close_window.yaml
#
# Home Assistant Automation Blueprint
#
# Sends two notifications to close a window or door after opening it,
# if the temperature outside is below a certain degree.
#
# Revision 3
# Roozbeh Farahbod, Jan. 2021
# Jonas Friedmann, Nov. 2021
#
@frdmn
frdmn / index.md
Created March 8, 2023 14:13
Disable power save mode for wireless interfaces on Raspbian 10/Buster
vi /usr/lib/systemd/system/wifi_disable_powersave.service
[Unit]
Description=Disable WiFi power save mode
After=sys-subsystem-net-devices-wlan0.device

[Service]
@frdmn
frdmn / manual_bed_tramming_gcode.md
Created April 3, 2023 06:53
Gcode commands for manual bed leveling / tramming

Gcode commands for manual bed leveling / tramming (Ender 3)

The commands below assume a build plate of 235 x 235 mm.

Preparation

Disable endstops (Z-Limit)

M211 S0 
@frdmn
frdmn / .env
Created November 26, 2025 02:15
Docker compose setup for Homestead Minecraft Modpack (1.2.8)
CF_API_KEY: '$2a$10$XXX'