Tag: system-management

  • Capturing MacOS Settings Changes

    Capturing MacOS Settings Changes

    Let me get this right out. I upgraded to MacOS 15 beta and it totally borked my machine. I had to do a full, fresh reinstall. Totally my fault, and I should have prepared better. So now, I’m trying to remember to capture my personal settings so I can use a shell script to restore…

  • Garbage Sysadmin: Easily Make CIFS Mounts

    Garbage Sysadmin: Easily Make CIFS Mounts

    Automating your CIFS mounts: the perfect mix of efficiency and potential chaos.

  • More Garbage Sysadmin: Reboot Linux Server on Kernel Panic

    More Garbage Sysadmin: Reboot Linux Server on Kernel Panic

    Facing kernel panics on your Raspberry Pi? Dive into a less-than-ideal but efficient fix involving an automatic reboot using a startup script, ensuring your server recovers swiftly on kernel panics.

  • Bad Hack: Restart Linux Server when memory is low 😬

    Bad Hack: Restart Linux Server when memory is low 😬

    A hack on a Raspberry Pi server uses a script to monitor and restart the server if memory is too low. Checking swap and physical memory, it reboots if levels drop below specific thresholds. Scheduled to run every five minutes, the script logs instances when it prevents system freezes by rebooting.

  • Quick Tip: Looping a command in bash

    Quick Tip: Looping a command in bash

    Discover how to monitor disk space usage efficiently while running slow programs to prevent sudden command failures. Use `watch -n10 bash -c “df -h | ack disk1s5″` for real-time updates, where `disk1s5` represents the desired partition. Run `df` to find the correct device file.

  • Quick Tip: HyperDock as a Service

    Quick Tip: HyperDock as a Service

    A macOS tool called HyperDock has been causing issues on macOS Catalina, with random stops requiring manual re-enabling. A script has been created to restart the HyperDock Helper automatically using a Login Item. This script monitors and restarts the Helper when it crashes, providing a workaround for the problem.

  • Disabling WordPress Faux Cron

    Disabling WordPress Faux Cron

    Learn about the WordPress WP-Cron system, its flaws, and how to fix them. Disable the default cron behavior and switch to a system cron for better performance. Improve site speed by managing cron events efficiently to avoid slowdowns on frontend requests. Let a system cron handle periodic tasks effectively for optimal site maintenance.