Skip to content

Instantly share code, notes, and snippets.

View eitch's full-sized avatar
💭
Hacking away at Strolch, and Strolch based projects...

Robert von Burg eitch

💭
Hacking away at Strolch, and Strolch based projects...
View GitHub Profile
@eitch
eitch / mergeGitRepositories.sh
Created July 17, 2019 07:07
mergeGitRepositories.sh
#!/bin/bash
#
################################################################################
## Script to merge multiple git repositories into a new repository
## - The new repository will contain a folder for every merged repository
## - The script adds remotes for every project and then merges in every branch
##  and tag. These are renamed to have the origin project name as a prefix
##
## Usage: mergeGitRepositories.sh <new_project> <my_repo_urls.lst>
## - where <new_project> is the name of the new project to create
@eitch
eitch / openpgp.md
Created June 13, 2022 19:12
Keyoxide Claim
@eitch
eitch / LedStrip.java
Created November 11, 2022 07:51
Led strip communication over I2C with Pi4j
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS org.slf4j:slf4j-api:2.0.3
//DEPS org.slf4j:slf4j-simple:2.0.3
//DEPS com.github.lalyos:jfiglet:0.0.8
//DEPS com.pi4j:pi4j-core:2.2.1
//DEPS com.pi4j:pi4j-plugin-raspberrypi:2.2.1
//DEPS com.pi4j:pi4j-plugin-pigpio:2.2.1
//DEPS com.pi4j:pi4j-plugin-linuxfs:2.2.1
import com.github.lalyos.jfiglet.FigletFont;
@eitch
eitch / LedStripSimple.java
Created November 24, 2022 13:08
LED Strip using pi4j
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS org.slf4j:slf4j-api:2.0.3
//DEPS org.slf4j:slf4j-simple:2.0.3
//DEPS com.github.lalyos:jfiglet:0.0.8
//DEPS com.pi4j:pi4j-core:2.2.1
//DEPS com.pi4j:pi4j-plugin-raspberrypi:2.2.1
//DEPS com.pi4j:pi4j-plugin-pigpio:2.2.1
//DEPS com.pi4j:pi4j-plugin-linuxfs:2.2.1
import java.io.BufferedReader;
@eitch
eitch / PboeLedMatrix.java
Last active October 1, 2023 19:48
PboeLedMatrix
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS com.fazecast:jSerialComm:2.10.2
//SOURCES helper/PixelBlazeOutputExpanderHelper.java
import helper.PixelBlazeOutputExpanderHelper;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;