I recently learned the proper way to debug shell scripts. It seems shell scripting has built-in features that can help developers find problems in their script. In this post I will be sharing how I debug scripts before and what is wrong with it while also showing the proper way to do it.Feb 4, 2019
MacOS has OpenJDK installed by default however I prefer to use Oracle’s version of JDK because its the official version. I don’t want to install it the same way Oracle instructs it on their docs as I find it very tedious. I’m a guy who loves automating stuff so I prefer to install it via Homebrew. I frequently do a clean install on my Mac every time there is a new version of OSX so I have to install JDK again and again. I’d rather just run a single installation script instead of heading over to Oracle’s website and following their instructions.Jan 28, 2019
This is the best way I can come up with to install Docker on my Mac. I never liked manually downloading the “.dmg” file and then moving it to the Applications directory. I will be sharing in this post how I installed it via Homebrew while also configuring bash completion for Docker.Jan 14, 2019
I recently decided to change the domain name of my personal website from emmanuelcorrales.com to emcorrales.com because it is shorter and easier to remember. I don’t want visitors of emmanuelcorrales.com to receive a 404 Not Found or any other error so I redirected all the traffic to emcorrales.com. In this article I’ll be sharing the steps I took to accomplish this.Jan 8, 2019
This guide is about setting up a virtual host on Ubuntu 18.04 LTS with Apache as the web server. We’ll assume that we want to host a simple site where the domain name will be example.com.