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[…]
Development
context requires credentials to be passed as environment variables
cat ~/.docker/config.json
/dev/fd/63: line 1: export: `=’: not a valid identifier
.env cant be empty in order for this to work, so i added this -s
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[…]
network was found but has incorrect label com.docker.compose.network set to “”
https://sitecore.stackexchange.com/questions/35438/docker-containers-do-not-start-network-was-found-but-has-incorrect-label-com-d I simply ran this and we were good
Way to exit bash script outside of a function, but not quitting the terminal
I was in a situation where I wanted to stop executing lines but not exit the terminal So I put a return command but got an error saying that “return: can only return’ from a function or sourced script” https://stackoverflow.com/questions/9640660/any-way-to-exit-bash-script-but-not-quitting-the-terminal
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[…]
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[…]
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[…]
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[…]