Notes
Here's some of my notes, with the ones I modified recently on the top. Some of them are drafts, but in any case, I'm not sure about anything so don't take them seriously.
- TIL/Improve pacman.md (Draft) — Updated on 2025-10-14Edit /etc/pacman.conf and uncomment or add the following lines: - Color enables colored output. - ILoveCandy is an Easter egg without functional impact. - VerbosePkgLists makes the package list more detailed. - ParallelDownloads allows pacman to…
- TIL/Restart a Beelink Mini S12 Pro after a power cut.md (Draft) — Updated on 2025-10-14To set up the mini PC to turn on automatically after, for example, a power outage. 1. Access the BIOS (press DEL or F7 on boot). 2. Go to the "Chipset" tab and then "PCH-IO Configuration". 3. In "State after G3", select "S0 State". 4. Save and reboot.…
- Rails/Controllers.md (Draft) — Updated on 2024-11-29The controller is smart enough to know who to ask for information (to the models) and who to pass it to display it correctly (to the views), without doing the heavy lifting in any case. After an HTTP request is received, it goes through the router, who…
- OPS/VPS security basics.md (Draft) — Updated on 2024-11-29This is a short list of things to take into account to have some basic security in a VPS. Regular system updates - Use sudo apt update && sudo apt upgrade regularly to fetch and apply updates. - For kernel updates, use sudo apt full-upgrade to ensure…
- Rails/Routing.md (Draft) — Updated on 2024-11-29When an HTTP request arrives from the browser it needs to be matched to a controller action, depending on the HTTP verb (GET, POST, PUT, DELETE). If there's no match it will throw an error. It grabs the parameters and makes them available as params. The…
- Rails/Jobs.md (Draft) — Updated on 2024-11-29Jobs refers to a unit of work that is executed asynchronously, typically outside the scope of the main web request-response cycle. Jobs are essential for handling tasks that are time-consuming or not critical to be performed immediately, thereby improving…