I’m putting this here since I haven’t seen it mentioned elsewhere and it took me forever to figure out: I was getting timeouts on two different NVME drives, 2 different motherboards and two different CPUs, until I extended the timeout and after that I was just getting stalls. The fix was to disable ASPM: echo […]
This is an Apache config sanitizer, it checks to make sure there are no orphaned files in the Debian style sites-available/sites-enabled type setup and checks to make sure each virtual host has a valid DNS.
Something I’ve been wondering but have yet to see a good explanation for is if there is a difference between the way GCC handles const and static const. Now in theory the compiler should handle them the same way but does it? My web search didn’t really come up with much so I decided to […]
If you are like me you get tired of constant email bounces from your web apps so I sat down and wrote this simple validator to save the mail server the extra load of having to deal with obvious typos. // email Validator // returns 1 on success // return -1 if the email is […]
Weak passwords are still by far the most effective way to break into a system and even though many people think they have clever ways to obfuscate their passwords, they often fail badly either by inadvertently making something guessable or by coming up with something so hard you have to write it down somewhere or […]
onbattery.tar.gz I’ve been doing some work on my Debian Linux laptop lately and I have some nightly maintenance (disk check, btrfs tree balance) I want to do that will simply suck my battery dry if I’m not plugged into the wall. I did a quick web search to see how to check from a script […]