Clean System Data storage using macOS Terminal

The other day a client contacted me panicking about one his new macOS running out of disk space. He told me his System Data storage shows over 300GB of space. I quickly remembered a related issue on older macs on how to clean system data storage using the terminal. I quickly put my moka pot …

Update macOS from Terminal

After another snow day in NYC a customer contacted me about not being able to push macOS updates using his MDM provider. Why is the MDM provider not working? Their support was not that helpful and they blamed Apple for the updates not working. Then I said to myself “update macos from terminal?” Yes, I …

Find macOS version using the Terminal

I like to use the Terminal for most of my work and to find macOS version is quite simple. I help most of my clients remotely and using the Terminal is usually fast and simple in my opinion. As usual, I need to brew a great cup of coffee at home before taking on any …

4 ways to run Linux Commands in the Background

This is also another Linux command I tend to forget. I usually need to re-search how to run Linux commands in the background. This happens when I stop using the command line for a while. This time I’m going to write a brief Linux tutorial about this. First I need have brew a good cup …

Use the tar command to create/extract files in Linux

Sometimes I struggle to remember basic Linux commands. For example, how to create a tar.gz file in the command line is one of them. Also, how to extract the contents of a tar.gz file or view the contents or how to use my camera for street photography in Brooklyn. We need to use our friendly …

3 Ways to Check if a Port is in use Linux

After a delayed flight from Montevideo in Uruguay I decided to improve my networking Linux skills and teach myself a bit more about how to check if a port is in use on Linux. I must admit, I am not a networking person. To be honest, I don’t really like that branch in the tech …

Postman Cannot Reach localhost macOS Sonoma

This was very frustrating I have to say! After coming to Punta del Diablo in Uruguay to have some time away from big cities like NYC. At the same time I wanted to do some self skills improvement while away. I started learning more about APIs, but I kept getting issues with postman not seeing …

Python3.9: bad interpreter: No such file or directory macOS Sonoma

Last week I decided to finally upgrade my macOS BigSur to Sonoma. As usual I get issues after the upgrade. For example, security settings, apps permissions, custom backup script I put together to backup my files to a NAS drive stop working. This time I got error “Python3.9: bad interpreter: No such file or directory“. …

No Matching Key Exchange Method Found when SSH Older Linux Server from macOS Sonoma

The other day I decided to upgrade to macOS Sonoma. As usual, when you do an OS upgrade something breaks. I was not able to SSH to an old Linux server. Before, when on macOS BigSur I was able to SSH to any Linux box from my Terminal. My guess is OpenSSH improved security. Anyways, …

RuntimeError: working outside of application context in Python Error

I have been working on a personal Flask app using SQLAlchemy for learning purposes and to improve my coding skills. As usual, I put it away for some months and then have to ‘re-learn’ what I did. Don’t do this! 🙂 I kept getting a new (at least for me!) error “RuntimeError: working outside of …