Skip to content

Instantly share code, notes, and snippets.

View oz's full-sized avatar
coffee?

Arnaud Berthomier oz

coffee?
View GitHub Profile
onchange () {
while inotifywait --exclude .swp -e modify -r .
do
$@
done
}
#!/bin/sh
SESSIONNAME="pim"
tmux has-session -t $SESSIONNAME > /dev/null
if [ $? != 0 ]; then
tmux new-session -s $SESSIONNAME -n mail -d
# Start mutt
tmux send-keys -t $SESSIONNAME "sleep 1" C-m
tmux send-keys -t $SESSIONNAME "TERM=screen-256color-bce neomutt" C-m
Setting up linux-firmware (1.187.8) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-62-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgkubuntu-swap_1)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.4.0-62-generic with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
@oz
oz / log.md
Created December 12, 2022 19:37

Let's encrypt stuff with openssl

$ uname -a
Linux polaris 6.0.10-arch2-1 #1 SMP PREEMPT_DYNAMIC Sat, 26 Nov 2022 16:51:18 +0000 x86_64 GNU/Linux
$ echo hello ssl > file.txt
$ openssl enc -aes-256-cbc \
  -pass pass:1234567890abcdefgijklmnopqrstuvwxyz \
  -in file.txt -out file.enc
*** WARNING : deprecated key derivation used.