12 2024
$ sudo shred -v -n 2 /dev/sda
update: 2024/12/14 20:05 | path: /pub/pc_disposal
$ zip --encrypt --password PASSWORD -r zipfile-name.zip target-files
$ pdftk INPUT-PDF-file.pdf output OUTPUT-PDF-file.pdf user_pw PASSWORD
update: 2024/12/13 09:04 | path: /pub/software/misc
#!/bin/sh BT=80 PLATFORM=sony-laptop echo $BT | tee /sys/devices/platform/$PLATFORM/battery_care_limiter && \ ( echo "Set battery charge threshold to $BT..." ; exit 0 ) || \ ( echo "Failed to configure battery charge threshold!" ; exit 1 )
[Unit] Description=battery charge limit when boot [Service] Type=oneshot ExecStart=/usr/local/sbin/sony-laptop-battery-charge80.sh [Install] WantedBy=multi-user.target
$ sudo systemctrl enable battery-charge-limit.service
update: 2024/12/12 10:06 | path: /pub/software/linux
Kernel panic - not syncing: System is deadlocked on memory
MODULES=dep
$ sudo virsh edit vmXX
update: 2024/12/10 10:03 | path: /pub/software/linux/qemu