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

Category: JavaScript

Posted on August 4, 2020August 4, 2020

Gatsby window scroll position

Gatsby will fail to build if you refer to window, so we need a work around.

Continue reading “Gatsby window scroll position”
Posted on July 24, 2020July 24, 2020

Gatsby ‘window.location’ not available during SSR

The location parameter works via ‘gatsby develop’, but fails to compile via ‘gatsby build’.

Continue reading “Gatsby ‘window.location’ not available during SSR”
Posted on July 20, 2020September 2, 2020

Install NodeJS and NPM on a shared web server

NodeJS can be installed on you CPanel shared hosting plans, keep reading to see how.

Continue reading “Install NodeJS and NPM on a shared web server”
Posted on July 5, 2020July 5, 2020

Global JSON data service in Angular

A simple method for loading and sharing JSON data across an Angular app using a shared service.

Continue reading “Global JSON data service in Angular”
Posted on July 4, 2020July 4, 2020

Load JSON data in Angular

Error: “Cannot find module ‘./path/to/data.json’. Consider using ‘–resolveJsonModule’ to import module with ‘.json’ extension”

Continue reading “Load JSON data in Angular”
Posted on March 10, 2020March 10, 2020

Redirect URL With GatsbyJS and Netlify

Bulk URL redirecting that resembles the .htaccess method used for Apache.

Continue reading “Redirect URL With GatsbyJS and Netlify”
Posted on May 13, 2019October 18, 2019

Dynamic routing, navigation and page title with Vue

How to create a reusable header component, containing a dynamic page title and sub-menu.

Continue reading “Dynamic routing, navigation and page title with Vue”
Posted on April 5, 2019April 5, 2019

CORS: Cross Origin Resource Sharing in Node.js

When attempting to access an API backend you will receive a CORS error if the appropriate headers aren’t configured on the http responses.

Continue reading “CORS: Cross Origin Resource Sharing in Node.js”
Posted on March 17, 2019April 27, 2019

Using Axios in Vue to consume a JSON API from a URL

This article provides a quick and easy approach for consuming API data in Vue using Axios.

Continue reading “Using Axios in Vue to consume a JSON API from a URL”
Posted on January 27, 2019April 14, 2019

Connect to MongoDB using Mongoose with Node.JS

I’ll show the method I use to connect to a mongo database, served local or from the cloud.

Continue reading “Connect to MongoDB using Mongoose with Node.JS”

Posts navigation

Page 1 Page 2 Next page

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