https://www.gravatar.com/avatar/f9978147c3b3a17f6efa34c7d23df270?s=240&d=mp

Welcome to cup of dev

All post publised as Morné Wolfaardt

Create a user snippit in Visual Studio for Go Hugo

When I create my markdown files in Visual Studio Code for Hugo, I always get confused on the header properties, --- title: "Create a user snippit in Visual Studio for Go Hugo" description: "Create a user snippit in Visual Studio Code to fast track your Go Hugo file creation " date: 2020-06-22T00:01:01+02:00 draft: true --- so I created a simple user snippit for Visual Studio. This allows me to create a header and set the title, description and other properties by just typing Ctrl+Space.

Build a custom channel for Dynamics 365 for marketing

I recently had a requirement from a customer to track additional activities with their customers, but beyond the normal marketing activities. The customer have a mobile application and would like to track if they email a contact a mobile market place link, if they installed the mobile application or not. I played around with marketing’s customer journey capabilities and there’s some really awesome functionality included. I decided to create a custom channel for two reasons.

My journey migrating from Wordpress to Azure static webapps

After many many years of hosmy blog on Wordpress I finally decided to move. Wordpress is a great platform to use to blog with, but I got hacked a few times, and I wanted to move away from the a database backend and massive amount of plugins running. My hosting provider also started charging me a lot more to host my blog, and I kept on receiving emails about the server running out of resources.

Use NGINX reverse proxy to resove docker hosts

NGINX reverse proxy request I use Docker to host my containers, and I love it, one thing I strugle with to remember the port number I’ve deployed the container on. It makes a lot more sence to make a hostname rather than an IP address, this is where NGINX comes it, there is a lot of other awesome reverse proxies out there but the quickest and easiest for me was NGINX.

Home Assistant Tip Split Automation Yaml Into Multiple Files

Home Assistant automation file I recently started adding more and more automation into my Home Assistant *automation.yaml config file. One thing I’ve realized is that the file grows quickly and it get difficult to track your automation. A quick and easy solution is to have multiple files, each containing a different automation YAML. I have a YAML file for my door automation, and another for my reminders.

Backup Your Home Assistant Config to Git

I run my Home Assistant of a raspberry pi using Docker. I found this to be a great way to run multiple different containers as well as Home Assistant. If you are like me, and like to tinker with the YAML files, you can very quickly end up overwriting working config with something that’s not working at all. I’ve learned my lesson by not having a backup of the files.