Brendan Sluke

Solution: Cloudflare DNS Subdomain Issue - DNS_PROBE_FINISHED_NXDOMAIN

Quick Solution Check to make sure that you have added A records for your subdomain in the DNS management section for your site on Cloudflare. Backstory After adding my site to Cloudflare and updating my Domain Registrar’s name servers to point to Cloudflare’s name servers, I was having issues navigating to my subdomains such as www.brendansluke.com and blog.brendansluke.com. I was met with this error in Google Chrome:

List of Unique APIs for Developers

TL;DR - Don’t want to read the whole blog post? Decide your Use Case for a test API and select the API from the table below! Use Case Recommended Test API Single Page Application ReqRes Variety and Quantity of Response Objects JSONPlaceholder Authentication Simulation/Testing ReqRes Interesting Real Data and Images NASA API List of Unique Test APIs Whether you are building a Single Page Application with a framework like Angular, or you just want to use a test API for demonstrative purposes in Postman, this list has a variety of unique test APIs.

Solution: You Haven't Configured Ublogger Version param correctly yet

UBlogger Error Message in Hugo When I first started out using Hugo, I was attempting to use the UBlogger theme. When I tried to perform the hugo serve command, I was prompted with this error: 1 You haven't configured the uBlogger version param correctly yet. See #basic-configuration uBlogger #basic-configuration Solution Update your config file at the root of your Hugo project to have the correct version parameters.

Solution: Failed to Unmarshal Yaml Did Not Find Expected Key

TL;DR Make sure to escape any double quotes that you have in a field in the front matter of your hugo content files. You can escape double quotes with a backslash. Backstory I was trying to add a new “description” field to the front matter of one of my blog posts in Hugo and I was met with this error: failed to unmarshal YAML: yaml: line 1: did not find expected key

How to Add a Static sitemap.xml to Angular App with Firebase Hosting

In this blog post we will go over how to add a simple sitemap.xml to your Angular App. For this tutorial I will be using Angular v11.0.4. Create a sitemap.xml File The first step to adding a sitemap.xml to your angular app is to create a sitemap.xml file. If you already have a sitemap file created, move onto the next step. To create a sitemap, open up your favorite text editor and create an XML file using this format:

How to Include robots.txt in Angular App using Firebase Hosting

It can be a little bit tricky to figure out how to get your robots.txt file to be included in the deployment of your Angular app to Firebase hosting, but it is actually quite simple in the end. I originally added my robots.txt file to my src folder, but it still wasn’t being deployed. If you are running into this issue the steps listed below will help you out. Add your robots.