X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/4b678bee90d50050745332a42a375883bf2ec00d..947ae817b8c3a2c0060d1457d7ff19d3e725a924:/learning.txt?ds=inline diff --git a/learning.txt b/learning.txt index ea937d7..28b6eca 100644 --- a/learning.txt +++ b/learning.txt @@ -1,3 +1,13 @@ +2024-04-03: DDP doesn't work through Wi-Fi because of issues on how packets are transformed between Ethernet and Wi-fi, which messes up the Datagram :'(. Not all routers do, DD-WRT might! +2024-03-31: You can run a security audit of your systemd units, and limit a lot how they're able to operate. This is very handy so even if I write some code that could be exploited, if I prevent the process from being able to do certain things, it reduces the exposure. +2024-03-30: There's a VNC client for 68k macs called miniVNC. +2024-03-26: AWS DMS migrates the data but not indexes, sequences and relations. +2024-03-25: Pulumi doesn't deal well with renaming target groups, as the listener rules they use are still there so it can't edit them. +2024-03-24: Lynis is a tool that lets you audit hardening status in linux systems. It has good recommendations to improve security. +2024-03-22: There are account settings in AWS you can only enable for a role, but you need to use the root account to do this. This is helpful to control ENI trunking in only some instances. +2024-03-15: Most popular Linux media players implement “MPRIS”, a dbus based protocol that lets you control or get information from players. +2024-03-13: Man pages are stored gzipped. I should probably update my packaging to make sure the manpages are gzipped first. +2024-03-11: You can iterate over several architectures in make by setting a variable to space separated values, then using the variable name as the target (eg. $(architectures):). Then you can access the value with $@ 2024-03-09: I misunderstood how expect() works in rust. In a Result it won't return Err, it'll panic. .map_err() and ok_or_else() are a closer way to offer the same result. 2024-03-06: The definition of the first week in the ISO standard is the one that contains january 4th. 2024-03-06: In lua os.time() if you pass month 13 or month -1, it correctly calculates the next or previous year, so you don't have to manually do that math.