X-Git-Url: https://git.r.bdr.sh/rbdr/txt/blobdiff_plain/c57b0f384d921b6e365d429289b06bcd5180b5ad..33d875015eb722e31c8998c5a6367b7fece8d6ad:/learning.md?ds=inline diff --git a/learning.md b/learning.md index e9e6074..c4c951f 100644 --- a/learning.md +++ b/learning.md @@ -1,3 +1,13 @@ +2024-02-09: Some disk images will be wrecked even if you restore their attributes (apparently DiskCopy 6.3 images). +2024-02-01: The TCF API is good to deal with individual vendors, but a big pain to use it for more blanket categories. Check __tcfapi('addEventListener', 2, function (tcdata, success) { debugger; }); to explore the object. +2024-01-29: You can't have CNAME and TXT records on the same subdomain! +2024-01-27: If you accidentally rewind a whole 35mm film, you can get it back by wetting the end of a new film and putting it inside the cartridge. It's a pain to do but it's better than losing a whole cartridge. +2024-01-24: When AppleTalk is enabled you can't use the printer port for a modem in a Macintosh SE/30. You need to disable it in Chooser first. +2024-01-23: AWS Glue has some very inefficient ways of composing queries, so it's sometimes easier to embed the query itself. In postgres it doesn't let you but you can add sources for each table and then run the query. This seems to work a lot faster. +2024-01-22: ssl_early_data on; can mess up your responses in safari if you set it in more than one place. What's worse, because of the caching it uses it can be annoying to revert. +2024-01-21: You can inject HTML and CSS to gitweb without modifying the default files by using $home_text and pointing it to a variable, and push @stylesheets. +2024-01-20: App groups can let you share application data, but they will create a new container, so unless you have a remote data source it will erase your data. It's better to start new mac or ios projects with a group +2024-01-19: You can rename the classes in xcdatamodel in order to avoid collisions, in case you named an entity something too generic. 2024-01-18: MacPPP with modem initialization options works much better than ZTerm + FreePPP, and allows 115200 baud. You just have to set the modem to initialize with AT, and then dial PPP. 2024-01-17: Mastodon will NOT auto-clean the media directory, which can quickly bubble in size, and you can't ask sidekiq to deal with this so you need to set a cron job. A systemd.timer can handle both cases. 2024-01-16: With dnsmasq + tailscale you can easily combine your home lab with a remote server and make management a lot easier without exposing some services to the web. A local dnsmasq running on raspberry pi can make sure all local services have a nice name, and then can point an internal url to the vps. In firewalld you need to block connections unless they come from your 100.0.0.0/8 block.