Bugs happen all the time, Many times bugs are presented in a production environment where the same code seemed to work flawlessly in a test or staging environment. Over the years of writing code that blows up in a production environment, I’ve come to realize the increasing need of a blue-green deployment strategy. The benefit of doing a Blue-Green deployment is that you can cycle servers between any environment ( swapping based on our url schema ) with the same code but build for different environments.
Disable Mac SIP
Boot into recovery mode, After the noise boot into recovery mode ( restart and press Command-R-S ). This will boot in terminal recovery mode.
Occasionally you will need to run an application on boot. This could be a script or a full blown application. Root access or not, it does not matter.
If you would like to launch a script, or a collection of scripts from a desktop icon on ubuntu.
from ~/Desktop create a file with the extension of .desktop in my case I made start.desktop
Get a list of the current drives that are mounted. It will be something like “/dev/disk2″. Notice the number at the end, this is the most important part. The current format of the usb drive does not matter as the dd command will erase any files on the disk.
If you are having issues with running a script because a process already has the port open, in this error example, it’s port 3000
Error: listen EADDRINUSE :::3000
We can create a bash script and execute it passing in the first parameter as the port.
Setting up for a lambda environment can take a few steps, I’ve throw together a quick start guide for my personal reference to get up and running
When working on a project on a new machine, you can often times pull down a library and start working without setting a global config value for git.