Skip to content

Clint Vidler

Website Developer & Software Engineering Student

  • About Me
  • CMS
    • Drupal
    • SharePoint
    • WordPress
  • Data
    • API
    • MongoDB
    • NAS
      • Synology
  • JavaScript
    • Angular
    • Gatsby.js
    • Node.js
      • Express.js
    • Pug.js
    • Vue.js
  • Microsoft
    • Outlook
    • SharePoint
    • Windows
  • More Topics
    • Apple
      • OSX
    • Go
    • Google
      • G Suite
    • PHP
    • Python
    • Security
      • Backup & Recovery
    • Website Design
    • Uncategorized
  • Contact

Month: January 2022

Posted on January 31, 2022January 31, 2022

Enum type in Go

This ‘Season’ type can be used like any other type in go, but with limited allowed values.

Continue reading “Enum type in Go”
Posted on January 28, 2022January 27, 2022

Define a 404 fallback image in an Angular component

Try to load an image, but if it doesn’t exist instead load another image.

Continue reading “Define a 404 fallback image in an Angular component”
Posted on January 27, 2022January 27, 2022

How to create a responsive square image with CSS

Create a responsive square element containing an image using ::after pseudo class.

Continue reading “How to create a responsive square image with CSS”
Posted on January 18, 2022January 31, 2022

Populate Golang relationship field using MongoDB Aggregate and $lookup

Replace the relationship ID with the data object that it references.

Continue reading “Populate Golang relationship field using MongoDB Aggregate and $lookup”
Posted on January 12, 2022

Check if Golang interface is a slice

This function returns true if the given interface is a slice, otherwise it returns false.

Continue reading “Check if Golang interface is a slice”

Recent Posts

  • Add an option to hide the label for fields in WordPress Advanced Custom Fields March 13, 2023
  • Display copyright ‘current year’ in the footer using WordPress full site editing blocks March 3, 2023
  • Responsive masonry in React with a straight bottom line February 11, 2023
  • Create a custom location rule ‘Post Has Parent’ for WordPress Advanced Custom Fields February 1, 2023
  • Add a universal page load bar and/or spinner to NextJS January 11, 2023

Archives

  • March 2023 (2)
  • February 2023 (2)
  • January 2023 (2)
  • September 2022 (2)
  • July 2022 (1)
  • March 2022 (1)
  • January 2022 (5)
  • November 2021 (1)
  • August 2021 (2)
  • May 2021 (1)
  • November 2020 (1)
  • September 2020 (1)
  • August 2020 (3)
  • July 2020 (6)
  • June 2020 (1)
  • May 2020 (1)
  • March 2020 (1)
  • January 2020 (1)
  • August 2019 (1)
  • June 2019 (1)
  • May 2019 (4)
  • April 2019 (4)
  • March 2019 (3)
  • January 2019 (1)
  • December 2018 (3)
  • November 2018 (9)

Categories

  • Angular (4)
  • Apple (3)
    • OSX (3)
  • CMS (18)
    • Drupal (4)
    • Wordpress (12)
  • Data (3)
    • API (1)
    • MongoDB (2)
  • Go (5)
  • Google (2)
    • G Suite (1)
  • JavaScript (15)
    • Gatsby.js (3)
    • Next.js (2)
    • Node.js (4)
      • Express.js (2)
    • Pug.js (2)
    • React (3)
    • Vue.js (2)
  • Microsoft (5)
    • Outlook (1)
    • SharePoint (2)
    • Windows (2)
  • NAS (3)
    • Synology (3)
  • PHP (1)
  • Python (1)
  • Security (7)
    • Backup & Recovery (2)
  • TypeScript (2)
  • Uncategorized (1)
  • Website Design (5)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • GitHub
  • Linkedin
Privacy Policy Log in