NNaomiinnaomiaro.hashnode.dev·Sep 9, 2024 · 4 min readHow to create custom continuous and discrete colorscales with Plotly.jsRecently I've been looking at bathymetric survey maps at work and creating different types of charts using Plotly.js. One requirement I had was to use a previously defined colour scale for all of the Plotly outputs. This article will step through cre...00
NNaomiinnaomiaro.hashnode.dev·May 4, 2022 · 2 min readUsing Minio with django-storagesTL;DR Here's the example code on github: https://github.com/naomiaro/django-minio-storage This post assumes that you've added a host entry for minio to /etc/hosts 127.0.0.1 minio Recently while working on an application for the BC Public Service, I...00
NNaomiinnaomiaro.hashnode.dev·Feb 2, 2022 · 1 min readReplacing Docker Desktop with Lima on Mac OSAs Docker Desktop is no longer free to use, I spent my workday trying alternatives and setup Lima on Big Sur. Here are my notes that I will probably end up googling myself at some point :D brew install docker brew install docker-compose brew install ...02C
NNaomiinnaomiaro.hashnode.dev·Aug 28, 2021 · 4 min readUsing IoC to simplify testing express routesRecently I was writing a small express application where I was needing to be able to quickly stub a service I was using when I was writing tests, to avoid creating any database connections. I was using jest, sinon and supertest for my test setup....00
NNaomiinnaomiaro.hashnode.dev·Aug 24, 2021 · 2 min readNode.js CI Github ActionFor anyone building an app where your javascript's package.json was not at the root level of your project, you might have encountered build errors when using Github's suggested Node.js CI action. For this action to be able to successfully find the pa...00