Skip to content

Instantly share code, notes, and snippets.

View yvesf's full-sized avatar
🚒

Yves Fischer yvesf

🚒
  • Switzerland
  • 03:02 (UTC +02:00)
View GitHub Profile
@yvesf
yvesf / Makefile
Created June 22, 2022 20:26
very simple way to create a working debian package
PACKAGE_NAME=git-repo
PACKAGE_VERSION=0.1+git-$(shell git describe --always HEAD)
PREFIX=/usr/local/bin
include Makefile.package
work/data: work work/data/$(PREFIX)
work/data/$(PREFIX):
mkdir -p "$@"
cp git-repo "$@"
@yvesf
yvesf / sample.md
Created December 10, 2022 18:42
Remote access with i2p (experimental)

Remote access with i2p

I2P allows accessing the raspberrypi no matter where it's located as long as it's connected to the internet.

After first setup, on the RaspberryPi lookup and note down the i2p-address in the device (on RaspberryPi):

for f in /var/lib/i2pd/*keys; do echo "$f: $(head -c 391 $f | sha256sum | cut -f1 -d\  | xxd -r -p | base32 | tr '[:upper:]' '[:lower:]' | sed -r 's/=//g').b32.i2p"; done

On local computer start i2pd (and wait a bit):