Fix-it Scripts

By Samuel Molinski, 17 April, 2024

I have to use a VPN to access a private website regularly. Periodically I would join my VPN and still not have access to the site in my browser. The only that seemed to fix this was restarting my computer, but restarting your PC is inconvenient during the work day.

I finally found some Windows commands that work in correcting this issue.

ipconfig /release && ipconfig /flushdns && ipconfig /renew

It may not be elegant but it works.

By Samuel Molinski, 17 April, 2024

I have been working with DDEV and enjoying myself. One annoying issue is the mounted drive becoming read-only associated with my WSL Ubuntu installation. I believe it's related to my company laptop going into sleep/hibernation and causing havoc with Docker that is running inside of Ubuntu and inside of WSL— I know, there are too many layers of virtualization. Unfortunately, it's a necessary evil at this moment.

I threw together a Powershell script that does most of my work. I created a new script named reset-ubuntu.ps1 and added this code.