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

  • Create SSL certificate for localhost HTTPS using mkcert as trusted certificate authority July 18, 2022
  • Using Testify suite setup/teardown to run operations before/after groups of tests in Go March 10, 2022
  • Enum type in Go January 31, 2022
  • Define a 404 fallback image in an Angular component January 28, 2022
  • How to create a responsive square image with CSS January 27, 2022

Archives

  • 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 (13)
    • Drupal (4)
    • Wordpress (7)
  • Data (3)
    • API (1)
    • MongoDB (2)
  • Go (5)
  • Google (2)
    • G Suite (1)
  • JavaScript (12)
    • Gatsby.js (3)
    • Node.js (4)
      • Express.js (2)
    • Pug.js (2)
    • 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