while(motivation <= 0)

Back
the end

Linux + mac find the public ip address of the local computer:

dig +short myip.opendns.com @resolver1.opendns.com


 

I got to see what it was like at the end for my grampa today. While I like the idea of “going out on your own terms”, this was something else. Everything was filthy. Evidence of rodents was everywhere. The conditions that the strongest man I’ve ever known was living in made me sick to look at. I’m aware that he wasn’t a perfect person, but I as his grandchild, only ever knew kindness from him. It’s to late now, and the end comes to us all eventually. Everything we build will be reclaimed by nature. Grampa was a union worker, and his union pension would have allowed him and my grandma to live a healthy lifestyle right up to the end. There was more than enough money for someone to have been cleaning weekly, and yet that wasn’t happening. There was more than enough money to have someone coming to check on him daily to see if he was ok and to clean up. I’m fond of the notion of karma. Some people have a lot of bad karma coming for them.

 

adding numbers with awk

Given the results of a aws s3 ls command, lets add up the size of the files.


awk '{sum+=$2;} END{print sum;}'

Add second column to a variable called sum and then print sum.

2023 Year of the linux laptop
So a while back I decided to make the switch on my personal laptop from windows 11 which was driving me crazy to Ubuntu 22.x. Since doing so I haven't looked back and today I set up RClone to sync my dropbox, onedrive, and s3 buckets. The next order of business was to get ClamAV going. I haven't fully uninstalled windows 11, since It's a paid version, it's still sitting on a smaller hard drive on this laptop, and whenever I want to use it I have to flip some bios settings and reenter my bitlocker key which is a pain. While going full linux at work would be difficult because of how much I use native desktop Excel, for personal use I haven't had any major issues. Because Dell supports up to Ubuntu 20 I was even able to get the finder print reader working on Linux. This was the only native feature that didn't work upon install.