Using mkcert for testing The following package.json script will automatically generate cert and key for the domains that you want - set your server to load the same names and cert setup is now a one-liner.
Unexpected Lists in Elixir Well - unexpected to me at the time, though part of the language. I've been putting something together in Phoenix [https://www.phoenixframework.org/], and one of the pages kept throwing an error that it couldn't find item_path/3. This was odd, as the generating code
Using QEMU in 32-bit mode Lately I’ve been following this series on dev.to [https://www.solarwinter.net/using-qemu-in-32-bit-mode/(https://dev.to/frosnerd/writing-my-own-boot-loader-3mld] on writing your own OS from the ground up - it makes a nice change of pace from the web stuff
Too Many Headers Also known as "things I've learned today"... I've been using Insomnia [https://insomnia.rest/] the last couple of days to test a web API. Insomnia's a great client - it's got lots of features to make life easier. You can set
Vue and PWA = awesome I just had to take a minute to say - Vue’s [https://vuejs.org] automatic PWA [https://en.m.wikipedia.org/wiki/Progressive_web_application] support is amazing. Enable it with the Vue CLI and it Just Works. Okay, you have to supply your own icons and stuff, but that&
X doesn't exist When Linux keeps reporting that a binary doesn't exist, when it clearly does? That's annoying. One possible reason is below - this is the one that bit me a few days ago. If you don't know what bits and bytes are, skip straight to the
GraphQL - first steps I was following Flavio Copes' tutorial [https://flaviocopes.com/graphql-node-express/] on creating a basic GraphQL server in Express the other day. The tutorial was good, but I realised at the end that it didn't give you an example of a query to actually see the
Microphone not working in Windows Just sharing this for anyone else who Googled/DuckDuckGo [https://www.duckduckgo.com/]'ed and didn't have any luck. Short version tl;dr - if you've already done the "sound settings", "set default", update drivers etc. dance, check the "privacy"
Parameter handling for Node.js logging with Winston Making Winston log statements act like console.log()
Easy certificates for Localstack I found myself having to generate certificates for a Localstack instance, several times (because I forgot the syntax and they got overwritten); eventually I gave up and wrote this shell script to do it. The script uses the excellent mkcert [https://mkcert.dev/], by Filippo Valsorda [https://github.com/FiloSottile]