272 karma · joined September 3, 2021
Or maybe Termux is pulling some additional tricks to avoid this issue?
I have some quickstart notes here: https://ocv.me/termux/
What secureboot is designed to prevent is malicious changes to the OS bootloader (a conventional rootkit), which is usually shimx64.efi or grubx64.efi on linux/dualboot machines, or bootmgfw.efi on windows. Secureboot checks the signature of .efi files before they're allowed to run during boot, ensuring they were signed by one of the trusted keys. And unless you've made changes to your secureboot config, that means microsoft and/or the hardware vendor.
Ah yes, the load-bearing magic words that somehow made my programs work... I kinda miss vb6 :-)
Someone wanted to use FFmpeg to (losslessly) convert video files from one container to another and then delete the original. ChatGPT made a script which created a list of filenames and passed them into a loop which executed ffmpeg on each file. Thus it ran headfirst into several edgecases, for example how FFmpeg by default (unless you -nostdin) consumes stdin byte-by-byte, which messed up the list of filenames. Of course it appeared to work fine, as it clearly was processing a bunch of files.
Secondly, it forgot to map the input streams correctly, so several files came out with subtly missing tracks.
But more crucially, it failed to check the returncode for each file, assuming everything went fine... And deleting the lone copy of several files which failed to convert. Of course there were no backups.
So if you must rely on GPT's, then do so with extreme caution. Don't get fooled by their "self-confidence".
Graduating specific oneliners into functions/scripts is also a good chance to clean them up a bit, but it's a balance that's hard to strike - too many aliases and scripts, and you quickly forget they exist :-)
quite literally; https://danbooru.donmai.us/posts/947012?q=parent%3A947012
For reference, I kept notes on the exact commands I used: https://github.com/9001/copyparty/blob/hovudstraum/docs/nuit...
XZ offers slightly better compression on average, but decompression is far slower than Zstd.
I have had zero issues with Norwegian banking apps on my Pixel running GrapheneOS, so I'm inclined to believe OP would be fine with such a setup, if that is sufficiently de-googled in their opinion.
A question to OP: Does Sweden not give the option to use BankID-based services with a separate OTP device, instead of having it provided by your SIM? This was the default in Norway until recently, and is still an option over here.
EDIT: Oh I see the neighboring comment from OP mostly answered this already.
related news article (in Norwegian): https://www.nrk.no/trondelag/forskning-viser-at-hjernetrim-o...
Lines 11-21 can be ignored, they detect if the folder you were in got moved/deleted from another shell, to avoid the confusing behavior you get in that case.
For the serverside, there are several python projects on github which provide everything you need in one package, for example pybootd.
the image was built using this repo [2] and this command: ./build.sh -i dl/alpine-standard-3.19.0-x86_64.iso -p min -s 0.3
[1] https://ocv.me/asm.usb.xz [2] https://github.com/9001/asm
Which is scary, because you will be taking the performance hit from generating the warning regardless, which can easily amount to 30% of your total CPU time if you use utcnow/utcfromtimestamp a lot.
r() { read -n1 -r c; [ "$c" = "$1" ]; }; b=2; stty -echo -icanon; printf '\033[H\033[0m\033[J\033[?1003h'; while true; do r $'\033' || { printf '%s\n' "$c" | grep -qE '[0-7]' && b=$c; continue; }; r \[ || continue; r "M" || continue; r "@" && d=y || d=; read z x y z < <(head -c 2 | hexdump -C); [ $d ] || continue; printf '\033[%d;%dH\033[1;4%dm \033[0m\033[D' $((0x${y}-32)) $((0x${x}-32)) $b; done
(you can change colour with digits 1..7 btw!)