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 I out the bash script at 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 »