I wanted to play with the new feature and see how the syntax compares in a real-world scenario| blog.r0b.io
I found a neat technique to convert an EventTarget into an async iterable for easier use| blog.r0b.io
Trying something different, I thought I'd document learning a few phrases Für Elise on the Piano| blog.r0b.io
I wanted a single shortcut to open a new Terminal so first I had to pick one. I had been using CMD+OPT+C in VSCode for a while to bring up the terminal pane and while dabbling with Nova I set up the same shortcut to open a new local terminal too. This had worked well for a while, but it was actually overriding the macOS default keyboard shortcut to show the colour picker, so it wouldn’t work as a global shortcut.| r0b's random ramblings
I was posting on Mastodon about a documentation driven design process recently| r0b's random ramblings
I've been learning about WebC recently and I'm pretty sure I'm converted.| r0b's random ramblings
I've been playing around with Deno quite a bit recently. I'm really liking all of the integrated tooling and it's web-standards based approach.| r0b's random ramblings
You can use JSDoc to automatically generate a documentation website to fully describe the contents of your API. This works by adding special comments around your JavaScript or TypeScript code that describe the code in more detail. For JavaScript you can even describe the types to better help the people using your API.| r0b's random ramblings
A macOS status bar menu showing available OATH accounts ready to generate codes forIf you’ve got a YubiKey and you want to quickly get OATH codes from your macOS status bar it’s the app for you!| r0b's random ramblings
While wanting to make a quick change to a blog post, I wondered how hard it could be to add a simple "edit on GitHub" shortcut to my site.| r0b's random ramblings
At work we have a Coffee Club. It goes back a while but we cooperatively bought a coffee machine and have been trying to work out the best way to organise coffee buying ever since.| r0b's random ramblings
Pointer events are the web's answer to mouse vs touch interactions, so you can add one event and it will be triggered consistently whether you are touching on mobile or clicking on a computer. I recently played around with some fun cards on my personal website.| r0b's random ramblings
Generating and flashing firmware onto an ESP32 can be a bit difficult.| r0b's random ramblings
ES Modules is the future for JavaScript.| r0b's random ramblings
I recently added monitoring and alerting to my Kubernetes stack to discover and respond to failures faster.| r0b's random ramblings
Creating custom errors in JavaScript can be very useful. If you want to handle those errors in a catch block you can use the instanceof operator to check for that specific error. And with TypeScript, you can then safely use the fields and methods on your custom error.| r0b's random ramblings
I've been quite getting into Nova recently, a macOS-only IDE developed by Panic. It's a "Mac-assed" editor and I feel it fits a lot more naturally into my flow.| r0b's random ramblings
Static site generators are great...| r0b's random ramblings
Static site generators are great for generating HTML from markdown files.| r0b's random ramblings
Quick Array to Map Conversion in JavaScript| r0b's random ramblings
systemd| r0b's random ramblings
function*myFirstGenerator(){}| r0b's random ramblings
Dev agility is all about getting your code into production as fast as possible| r0b's random ramblings
alias d1='docker container run -it --rm'| r0b's random ramblings
I keep needing these commands when doing pi things,| r0b's random ramblings
It's surprisingly simple to make a raspberry pi appear as a different mac address on a network.| r0b's random ramblings
aliasbashrc='nano ~/.bashrc && source ~/.bashrc'| r0b's random ramblings
First you'll want to connect your pi either via ethernet,| r0b's random ramblings
aliasnpr='npm run -s --'| r0b's random ramblings
When I was making my Smart mirror| r0b's random ramblings
I wanted to do some lightweight javascript recently and didn't want to use a massive framework. Creating all my DOM elements manually was laborious and ugly so I setup jsx to do it for me.| blog.r0b.io
Using Eleventy, you can create a website that hosts an ical feed that people can subscribe to in their calendars of choice.| blog.r0b.io