Last weekend, I read a post on Reddit where /u/TeckFire claimed that his iPhone 6s became much faster again after replacing the battery. A new iPhone 6s should get a score of ~2300 on the Single-Core benchmark and ~3900 on the Multi-Core benchmark of Geekbench 4. The poster saw scores of 1466 and 2512 respectively. After getting the battery replaced, the phone was restored to full speed again. The explanation was that as the battery degrades, the iPhone reduces the clock speed to extend the battery lifetime. I decided to figure out if my phone was affected by that as well.
I never was a fan of Apple products. Sure, they looked slick, but in my opinion, they were toys, for designers, not for hackers. And they were expensive. A good friend of mine had bought a MacBook Pro and after the initial excitement faded, he became more and more disappointed until he finally switched back to his Linux desktop and sold his Mac with a big loss. My prejudice against Macs seemed to be confirmed. Little did I know that I would join the cult of the Mac soon. Continue reading
I wanted to have
/usr/local/bin to be listed before
/usr/bin in my
PATH environment variable.
One way to achieve this would be to add a
~/.profile file with a line like this:
This would result in
/usr/local/bin being listed twice. It wouldn’t hurt but it’s not pretty either.
If you look at
/etc/profile, you will see that the initial value of
PATH is set by
The right way to change the order of default paths is to edit
/etc/paths. It contains one path per line, in descending order. Mine looks like this: