Skip to content

Instantly share code, notes, and snippets.

@mrled
mrled / cryptdec.sh
Created October 10, 2017 17:37
Encrypt / decrypt a tarball in git
#!/bin/bash
# {En,De}crypt the private/ directory
# WARNING: I haven't used this script in a long time
# I'm putting it here because I found it on my hard drive from ages ago
# yolo I guess
# The private/ directory should not be stored in version control
# Instead, this scripts creates a private.tar.encrypted.asc file
# out of the private/ directory,
@mrled
mrled / Extract-Alpine-Rpi-initrd.md
Last active December 5, 2020 23:55
Makefile which extracts an alpine initrd from the arm64 rpi tarball

Extract Alpine Linux ARM64 Raspberry Pi initrd

Want to see what's in the initrd without installing it?

This will extract it for you.

It also reminds me how to deal with cpio archives, which I can never remember.

Raspberry Pi 4 Alpine chroot scripts

🚨🚨🚨 I don't recommend this 🚨🚨🚨

I'm keeping it here so I can remember what I did, but I think a Docker container is a better way to go about it. I wrote a Dockerfile for this over here: https://github.com/mrled/alpine-rpi4-aports-docker

Scripts for building an Alpine chroot for building Alpine packages.

Who/what is this for?

@mrled
mrled / about.md
Last active March 23, 2024 01:29
Ploopy Nano control by LED-Key BitMask shell script

A quick script to control lkbm firmware on the Ploopy Nano.

See this post for more features and more explanation.