Get Docker Container IP

Tags:

This is a quick way to get the IP address of a docker container (webserver, in this example). I find I use this frequently to connect to my Database CLI. docker inspect -f ‘{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}’ webserver

Don’t be Afraid to Contribute

Categories: Aside, Contributing
Tags: WordPress

I think a lot of new, and even seasoned, developers have a strange fear of contributing code or submitting bug fixes. For me, I was afraid to submit a bug fix for fear that it wasn’t actually a bug or that my code would only fix the problem for me. I spent a lot of … Continued

Quick and Simple Telephone Function

Nearly every site I build outputs a phone number somewhere. The header, the footer, the sidebar, sometimes more places. This is a just a simple function that I wrote to make it a little bit easier. The function accepts two parameters; the phone number and a boolean which determines output style. Typically, I will add … Continued