SourceCodeSyntaxHighlight is a great drop-in plugin to enable syntax highlighting in the MaxOS finder’s quick view. Just what I needed to improve the experience of scanning json files in the finder!
Today’s experiment with my last.fm data is this clock-like display of my peak listening hours across time. All of these would be really fun to integrate into more Shiny-based toys – maybe that will be next on my list.
Okay, one final (probably) revision of tuneR for today, adding a bit of color and sizing to the plot of tags by artist, to show variation in tag rank within each artist.
What I’d give for a fish shell-style approach to command history in the R console.
A lot. I’d give a lot.
whispering VSCode plus a couple of extensions is a really nice environment for writing markdown.
Adding Todoist items with an Alfred workflow
I've long had a workflow in Alfred for adding things to my grocery list in Wunderlist. With Wunderlist being retired, I've switched a couple of shared-with-family lists to Todoist, and it's mostly okay; Todoist is much less of a good tool for just making lists, as it's oriented to projects and lifestyle methodologies, but is good enough for what we need right now.
So I re-built my workflow in Alfred! All you need is a workflow that runs a bash script, and use the following for the code:
curl https://api.todoist.com/sync/v8/sync \
-d token=YOUR_TOKEN \
-d commands="[{\"type\": \"item_add\", \"temp_id\": \"$(uuidgen)\",
\"uuid\": \"$(uuidgen)\", \"args\": {\"content\": \"{query}\", \"project_id\": OPTIONAL}}]"
YOUR_TOKEN
is found on the settings -> integrations page of your Todoist account. Specify a project ID if desired (I use the ID of my 'groceries' list as a default here). Otherwise omit the project argument. You can find the project ID by viewing the project in your browser; it will have a URL like https://todoist.com/app/#project%2F123456789%2Ffull
, where the 123456789 is your project's ID.