Enter api key address
Development
WordPress: Trailing slashes
When i downloaded a site, noticed that i was getting this when i clicked on some pages I went a head a started digging and realized that wordpress was redirecting over and over and over again. I put in a pf call at the beggining of werm.php and it stopped[…]
Install child theme
In the root of your theme, you should have a “style.css” sheet with this code inside Where it says “Template:” is most important Install a plugin called “Child Theme Configurator” Click the analyze button Set this option only if you are using a functions.php file at the root of your[…]
Check if script is sourced or not
https://superuser.com/questions/731425/bash-detect-execute-vs-source-in-a-script
docker: set and use external networking across seperate docker-compose stacks, also creating that network using a or multiple environmental vars
first I have to create the network, I can either do it through setting the “driver” option as “bridge” in my docker-compose file or by manually creating it outside of docker-compose using Now in another docker-compose file, I want to access containers attached to that same network. to do so,[…]
docker: configure network options while using the “extends” prop
as you can see I am using extend to inherit options from another docker-compose file. In dealing with networking I found that the network settings only get respected if they are configured in the root file. to show you what I mean lets rip the networks configuration from the root[…]
Things to know: bash, regex
does’nt work when you put regex pattern in string If in quotes, the string gets taken literally, if not it takes it as a regex pattern
wierd situation with nested conditions
simply because this condition block is in the end of its parent block this OR gets hit, but if I put it above the last line everything works fine; when I did this (the condition goes through), everything works fine I realized that when you want to exit within a[…]
docker.errors.NullResource: Resource ID was not provided
no Image was given in this instance FRONT_END_IMAGE was not set