There are 141 tips in the FreeBSD tips file that is displayed by fortune every time you log into a FreeBSD system. root@geonosis:~ # grep -E '^%' /usr/share/games/fortune/freebsd-tips wc -l 141 Most of the time, I know the tips very well. Sometime, however, I do learn a new thing. Today I Learned that To [ ]
I can t sleep. Let me rephrase that — I am so tired, that I can t even sleep. I have spent the last two weeks upgrading and reconfiguring the infrastructure at ABI, while at the rest of my time, trying to answer the question “what do I need to be independent on the internet?”. I still [ ]
There’s a lot of work that needs to be done on Jailer. To start with, I have finally decided on the release model. The main development branch will be main, similar to FreeBSD, and then the releases will be tagged. I’m not sure how I feel about branches, as I don’t want to have any [ ]
Sometimes all I need to do is sudo tmutil listlocalsnapshots / \ grep TimeMachine \ cut -d . -f 4 \ xargs -I% sudo tmutil deletelocalsnapshots % And suddenly I have like 70GB of more storage on my Mac. I wish macOS was less… black magic-y.
Sometimes, when I have a long running process on my computer, like scp, rsync or curl I need to know when it s done, so I don t check the terminal every minute. That s when I realized that this is a perfect fit for Apple Script and pwait. Basically, it looks something like this: pwait `pgrep xargs` [ ]
One of the things that makes FreeBSD an amazing operating system is its package manager, pkg(8). Many people will keep arguing with me saying that apt or pacman is better, but pkg has some of the best features out there. Don t even get me started on number of packages. A friend was telling me “but [ ]
Couple of months ago I got my sister a MacBook Air with the new M4 chip, and she was happier than ever. However, I was the happiest, as she gave me her old MacBook Pro 2015. As always, I installed FreeBSD on it, it was FreeBSD 14.2-RELEASE at the time, installed the required drivers, attached [ ]
A while back I needed to get the input voltage from one of our UPSes, so I used bsnmpwalk(1) to get the information needed and ran it in a script with a loop and sleep. Running it in tmux(1), of course. #!/bin/sh lastoff='maybe' while true; do inpvol=$(bsnmpwalk -o quiet -s public@172.20.42.101 1.3.6.1.2.1.33.1.3.3.1.3) [ $? != [ ]