Unload: everything about nothing (maybe).
Welcome to Unload!
This site will contain many things that I discover throughout the free time I have and feel like I should share or unload.
Please note that all the things I post here are from my experience, and are purely based on my individual research and investigation into related topics and are all posted with the intent of documenting and informing others about my obscure experiences.
Posts
-
SwiftUI: Prevent Re-draw/Updates to Views in ForEach/similar
Sometimes duplicates of a view may be re-rendered, for me, this was where a ForEach loop redrew and SwiftUI didn’t know how to distinguish between updated and non-updated views so…
-
BambuStudio Slicer only using 1 color despite painting model correctly
Fix by turning off “Flush into this object” while your prime tower is enabled again, turn prime tower off after if desired.
-
GitHub Actions – No .git folder fix for Docker builds
Add `context: .` to `docker/build-push-action` to fix the no `.git` folder issue.
-
Spring Security – Fixing Non-Thymeleaf _csrf Variable to make CSRF work again 😀
In non-Thymeleaf projects (in my case pug4j), _csrf is not automatically implemented and included in the template variables. I had some trouble finding how to do it but the solution…
-
Spring – @ConfigurationProperties classes returning null
If you’re working with some Spring projects, you probably tried to make a @ConfigurationProperties annotated class already and it’s giving nulls, your configuration also looks something like this: @ConfigurationProperties(prefix =…
-
Swapping on Ubuntu 20.04 Summary (via DigitalOcean)
Thought this was useful to note, but these are just the commands from this article from DigitalOcean about enabling swap without reading everything (basically a tl;dr): https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04 Checking swap: Enabling…