This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:B1359C320A72A2907F1A7F7875DB9C85C74331F7]
| ///usr/bin/env jbang "$0" "$@" ; exit $? | |
| import java.nio.file.*; | |
| import java.io.IOException; | |
| public class PwmTraverse { | |
| public static void main(String[] args) throws IOException { | |
| Path root = Paths.get("/sys/class/pwm"); | |
| if (!Files.exists(root)) { | |
| System.err.println("Path does not exist: " + root); |
| ///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; |
| ///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; |
| ///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; |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:B1359C320A72A2907F1A7F7875DB9C85C74331F7]
| #!/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 |