Skip to content

Instantly share code, notes, and snippets.

View RBEGamer's full-sized avatar
🏝️
Working from home

Marcel Ochsendorf RBEGamer

🏝️
Working from home
View GitHub Profile
/**
******************************************************************************
* @file Final_18_vl53l7cx_clean_both_I2C_with_STMlibrary_PCF8575.ino
* @brief Arduino application for multiple VL53L7CX proximity sensors.
*
* **Key Features & Changes:**
* - **Local and Expander Support:** Automatically detects and uses
* onboard GPIO XSHUT lines (pins 15,14,8,12,11,10,9) and, if present,
* all 16 ports on an MCP23017 I2C expander for additional sensors.
* - **Dynamic Sensor Array:** Constructs `sensors[]` at runtime based
SUPER SLICER - START GCODE
print_start HOTEND={first_layer_temperature[initial_extruder] + extruder_temperature_offset[initial_extruder]} BED=[first_layer_bed_temperature] CHAMBER=[chamber_temperature]
PRINTER CFG
@RBEGamer
RBEGamer / KiCAD_CopperSpiral_v2.py
Created November 8, 2021 11:50 — forked from JoanTheSpark/KiCAD_CopperSpiral_v2.py
v2 with spin direction and increasing amount of segments per turn for smoother result in outer circles
import sys, os
import shutil
import math
import itertools
from copy import deepcopy
# 0 1 2 3 4 5 6
LIST_elmt = [" ("," (start ",") (end ",") "," (layer ",") ","))"]
#LIST_elmt = [" (gr_line (start 131.571908 182.314571) (end 112.874456 120.68499) (angle 90) (layer Dwgs.User) (width 0.1))"]
#LIST_elmt = [" (segment (start 118.7 106.7) (end 119.4 106.7) (width 0.25) (layer B.Cu) (net 0))"]
# AUSZU AUS https://docs.ros.org/en/crystal/Installation/Linux-Development-Setup.html#add-the-ros-2-apt-repository
sudo apt update && sudo apt install -y \
build-essential \
cmake \
git \
python3-colcon-common-extensions \
python3-lark-parser \
python3-pip \
python-rosdep \
// Arduino YM2149 MIDI Synth
// by yukimizake
// video: https://youtu.be/hUPs2pv5d_g
// schematics: http://electronicfields.wordpress.com/?attachment_id=128 (Vcc/GND not shown)
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
@RBEGamer
RBEGamer / git_bulk.sh
Created January 9, 2018 22:44
A github auto bulk clone for backup purposes
#!/bin/bash
mkdir ./tmp
cd ./tmp
GITHUB_USER=$1
GIT_CLONE="git clone "
REPOLIST=`curl --silent https://api.github.com/users/${GITHUB_USER}/repos?per_page=200 -q | grep "\"clone_url\"" | awk -F': "' '{print $2}' | sed -e 's/",//g'`
for REPO in $REPOLIST; do
${GIT_CLONE}${REPO}