Drupal how-to: list menu items, outputting a thumbnail image assigned to each item
This is a write-up of how I used menus and the
.themefile in Drupal to create image galleries on landing pages. The post covers accessing the URL and alt text for each image, which is stored in a custom field.
Interview with ChatGPT
I sat down with ChatGPT to caw the crack about its revolutionary functionality and AI in general. Will it put us out of work? Could it ever become sentient? Find out in this exclusive interview.
Finding the perfect domain name
.com. The new frontier of TLDs is where it’s at.
Using the GitHub REST API to fetch and display gists
Authenticating with the GitHub API, enabling cross-domain Ajax fetching with CORS, implementing a basic caching system, installing a custom npm dependency, and more.
Keeping audio and visuals in sync with the Web Audio API
Audio and visuals out of sync when using the Web Audio API? There’s a property for that.
A calendar and weather forecast in the terminal
A couple of cool terminal tricks to get calendars and the weather, plus how to assign aliases and pass arguments to bash functions.
How I built a simple on-screen keyboard for my jazz piano tutorial website JazzKeys.fyi.
All* my macOS keyboard shortcuts
*Not literally all, but certainly those which I find most useful, and which also might not be all that widely known.
Tripods: an HTML5 puzzle game
I spent part of lockdown finishing a game I began building in 2013.
Preventing zooming on mobile
How to stop users pinching or double-tapping to zoom.