Development

How to iterate over lines in a variable in Bash?

For some reason the methods above echo out a empty line. the method below does’nt IFS Variable and Its Default Values The special shell variable IFS determines how Bash recognizes word boundaries while splitting a sequence of character strings. The default value of IFS is a three-character string comprising a space, tab, and newline: Here we[…]

Read More »

Port 587 blocked on gitpod.io

Gitpod was not allowing me to send emails through the my app. https://www.gitpod.io/contact discord server https://discord.com/channels/816244985187008514/839379835662368768 found another way to test out emails through a docker container using mailpit https://mailpit.axllent.org/ docker-compose file https://github.com/bigbeartechworld/big-bear-video-assets/blob/main/how-to-install-mailpit-on-dockge/docker-compose.yml used his script to send test email through bash https://github.com/bigbeartechworld/big-bear-scripts/blob/master/test-smtp-connection/run.sh you need the ip address of the[…]

Read More »

Git: Resolving a detached HEAD

https://stackoverflow.com/questions/5772192/how-can-i-reconcile-detached-head-with-master-origin First, let’s clarify what HEAD is and what it means when it is detached. HEAD is the symbolic name for the currently checked out commit. When HEAD is not detached (the “normal”1 situation: you have a branch checked out), HEAD actually points to a branch’s “ref” and the branch points to the[…]

Read More »

Auto select default options for attributes

When you would select a color on the “color” drop down, the image wouldn’t change to that color unless the Size attribute was set. By default both dropdowns had the option “Choose option” as Default. So I needed the default to be anything so when the user selects a color[…]

Read More »

Git: Resolving a detached HEAD after making changes

I was in a situation where the branch I was working on was reading as a detached HEAD I had never seen this before. I checked out “cherryfans-prototype” and then saw that my detached head was no longer showing when executing “git branch” I had done alot of work on[…]

Read More »

Upgrading npm package, Major version upgrades:

When you have a package installed that has a new version available and that new version is a Major version, you can’t just simply install the latest using if you execute the above command, it will only install the latest of the current version you have installed. So if you[…]

Read More »