Welcome to the lab.

Markdown Lipsum v2

I know it’s been less than a week since v1, but I made some major changes to md-lipsum that warrant a version 2.

Basically, I incorporated all of the API options from Loripsum.net, meaning you can now specify how many paragraphs and what elements are included. You can still get a full Markdown document with all elements using https://brettterpstra.com/md-lipsum/api/2/all. You can include /short, /medium, /long, or /verylong in the path to determine paragraph length (can be shortened to s, m, l, vl), and/or a number to determine the number of paragraphs. More paragraphs means more header levels, too. Example:

curl 'https://brettterpstra.com/md-lipsum/api/2/all/10/m'

If no parameters are given, e.g. the path is just /api/2, then all elements will be output with 5 paragraphs of medium length.

You can also control exactly what elements are included using additional path parameters. These are detailed on the project page.

Have fun!

Screens giveaway!

I’m excited to offer the next giveaway, 3 1-year subscriptions ($24.99 value each) for Screens. If you need a remote desktop, whether to control your own servers and remote Macs (or Linux, Windows, or even Raspberry Pis) or to do remote support for customers, friends, and family, Screens has you covered. It’s the most elegant remote desktop software I’ve used, and it’s a Universal app, on Mac, iPhone, and iPad. Seamless clipboard sharing, file drag and drop, and a great interface for accessing all of your machines.

From the developer:

Screens 5 VNC provides unparalleled remote desktop access with a seamless interface, allowing users to easily connect to their Mac or PC from an iPhone, iPad, Mac, or Vision Pro. It features Curtain Mode for privacy, multi-display support, and robust security for smooth, secure connections. Integration with iCloud and Tailscale enhances its versatility and ease of use. Whether for work or personal use, Screens 5 VNC is the ultimate tool for effortless and reliable remote desktop management.

Check out the Screens site for more info.

Sign up below to enter. Winners will be randomly drawn on Friday, June 21, at 12pm Central. The drawing is for 3 1-year subscriptions ($24.99 value each) for Screens, one per winner. Note that if you’re reading this via RSS, you’ll need to visit this post on brettterpstra.com to enter!

New rule: All signups must have a first and last name in order to be eligible. Entries with only a first name will be skipped by the giveaway robot. A lot of the vendors in this series require first and last names for generating license codes, and your cooperation is appreciated!

Giveaway ends in...

One entry per person, a full name and valid email required to win. Giveaway ends on 06/21/24 at 12:00 PM. I will never sell or misuse your email address.

Stay tuned for more giveaways every week through September, 2024 (and maybe beyond).

If you have an app you’d love to see featured in this series of giveaways, let me know. Also be sure to sign up for the mailing list or follow me on Mastodon so you can be (among) the first to know about these!

Text Blaze shareable folders

When I first tried it out, Text Blaze didn’t make it easy to publicly share folders of snippets. They’ve solved that, apparently, so now you can make folders publicly available from the Mac app. So I present…

Apparently folder sharing is still an “MVP” feature, so I can share with you, but…

Lipsum, a collection of random text generators for Text Blaze. These almost all make use of the {urlload} command, which currently doesn’t show up in the command palette and I’m unclear as to whether they’re available to lower-level accounts (I have a Business subscription). If you try them out and run into issues, let me know.

This set includes a couple of snippets for inserting placeholder images into HTML/Markdown documents, which I use pretty frequently when designing. You’ll also find snippets for Bacon Ipsum (I’m pescatarian, but…) and Hipster Ipsum, for those who prefer a little change from the typical Lorem Ipsum.

If you’re trying out Text Blaze, check out the Lipsum folder. If nothing else, it offers some good examples for using {urlload} in your own snippets.

Standard (for now) PSA: You have to scroll all the way to the bottom of the Text Blaze page to find the Mac app. I don’t know why they don’t make their native apps more obvious…

The Audio Hijack giveaway winners!

The Audio Hijack giveaway has ended, and I have winners to announce!

The winners!

Congratulations to:

  • Brandon Eleff
  • Andrew Northern
  • Adam Ellery

You should have received an email with details, please let me know if you didn’t hear anything!

But I didn’t win!

If you didn’t win, sorry, but Audio Hijack is still worth checking out. You can’t beat Audio Hijack for audio recording on the Mac. Whether you’re podcasting or just recording audio from your web browser, it does it all. You can still save 15% on a purchase with the code TERPSTRA15.

Next up is Screens. Check back every Monday through September, 2024 for more giveaways. The next giveaways include:

See the full list of upcoming giveaways!

If you want to suggest an app you’d like to see in this series, let me know on Twitter or Mastodon, and join the email list for notifications!

A Markdown Lorem Ipsum API

I built a new little API for you. It generates Markdown Lorem Ipsum. First, a little background.

Why?

As I’ve mentioned elsewhere, I’ve been playing with Text Blaze, a cool new app that might eventually replace TextExpander for me. One of the major things missing from Text Blaze, though, is script snippets, which I make use of a lot in TextExpander. What it does offer, though, is a command for fetching a REST API and processing the result. A lot of my script snippets are doing just that, so those are actually more convenient to build in Text Blaze. For the ones that need extra handling, I’ve just been creating web endpoints that run my scripts for me.

When you go to the Text Blaze home page it looks like it’s just a Chrome extension. You have to go all the way to the bottom of the page to find the Mac app (beta).

One such snippet I wanted back was my random Markdown generator, which I use frequently to test out styles for things like Marked, nvUltra, or MultiMarkdown Composer. There’s an existing API called Lorem Markdownum, but it doesn’t generate enough of the syntax consistently to be good for testing themes. So I built my own.

MD-Lipsum

“MD-Lipsum” uses Loripsum.net to generate a full set of HTML markup with random text, and then converts that HTML to basic Markdown. No tables, unfortunately, but it outputs a complete set of standard Markdown elements, including bold/italics, ordered and unordered lists, headers, block quotes, code blocks (fenced), and definition lists (MultiMarkdown syntax).

Usage

To use the API, just point to https://brettterpstra.com/md-lipsum/api/1. You can add /long or /short but it has minimal effect (a shortcoming of the loripsum.net API, I think). It just returns plain text, much like the TitleCase API I made a while back.

You can use it from the command line like:

curl 'https://brettterpstra.com/md-lipsum/api/1'

To use it in Text Blaze, you’d want a snippet like:

{urlload: https://brettterpstra.com/md-lipsum/api/1; done=(res) -> ["response": res]; headers=; body=; method=GET}{=response}

There’s a little page here but it just tells you what’s in this post!

Web Excursions for June 12, 2024

jordanbaird/Ice: Powerful menu bar manager for macOS
There’s some question about the future of Bartender after a recent acquisition (and some concerns about new telemetry). This project looks like a solid up-and-coming replacement (and free).
darrenburns/dunk: Prettier git diffs in the terminal 🎨

Prettier git diffs in the terminal

An end to the climate emergency is in our grasp
Climate anxiety keeping you awake? Here’s some hopeful news.
Obsidian — PopClip Extensions
In the vein of cool Obsidian integrations, here’s one for PopClip that can save selected text to a specified file or to the Daily Note page. There’s a similar one for nvUltra in my PopClip Extensions.

Audio Hijack giveaway!

I’m excited to offer the next giveaway, 3 licenses ($64 value each) for Audio Hijack. When you need to route and record multiple audio sources, whether it’s getting separate tracks out of a Skype call for a podcast or recording audio from your music apps, Audio Hijack has all the power you need. Drag and drop a configuration together, linking sources, effects, and outputs, then just hit record.

From the developer:

Professional-Grade Recording and More. Save audio from any website, as well as any application running on your Mac. You can even record all the system audio at once! Whether you’re recording in-studio with mics and mixers or remote VoIP conversations from services like Skype, Audio Hijack can power your podcast. Audio Hijack’s abilities aren’t limited to recording. Discover live streaming and internet broadcasting, audio adjustments for both mics and apps, and so much more.

Check out the Audio Hijack site for more info.

Sign up below to enter. Winners will be randomly drawn on Friday, June 14, at 12pm Central. The drawing is for 3 licenses ($64 value each) for Audio Hijack, one per winner. Note that if you’re reading this via RSS, you’ll need to visit this post on brettterpstra.com to enter!

New rule: All signups must have a first and last name in order to be eligible. Entries with only a first name will be skipped by the giveaway robot. A lot of the vendors in this series require first and last names for generating license codes, and your cooperation is appreciated!

Sorry, this giveaway has ended.

Stay tuned for more giveaways every week through September, 2024 (and maybe beyond).

If you have an app you’d love to see featured in this series of giveaways, let me know. Also be sure to sign up for the mailing list or follow me on Mastodon so you can be (among) the first to know about these!

The RetroBatch Pro giveaway winners!

The RetroBatch Pro giveaway has ended, and I have winners to announce!

The winners!

Congratulations to:

  • Andrew Hanson-Dvoracek
  • Stephen Lowry

You should have received an email with details, please let me know if you didn’t hear anything!

But I didn’t win!

If you didn’t win, sorry, but RetroBatch Pro is still worth checking out. Right now Retrobatch Pro is discounted and you can pick up a copy for just $39.99, and you can save an additional $5 by clicking here. Go get your image processing automated!

Next up is Audio Hijack. Check back every Monday through September, 2024 for more giveaways. The next giveaways include:

See the full list of upcoming giveaways!

If you want to suggest an app you’d like to see in this series, let me know on Twitter or Mastodon, and join the email list for notifications!

The Developer Nation Survey 27th Edition

The 27th Developer Nation Survey is open until July 9th. Take the survey and get entered in a drawing for prizes, including a GoPro Hero12 Black, Laptop Screen Extender 14”, Samsung T7 Shield SSD 1TB, Raspberry Pi 5, AeroPress Coffee Maker, Udemy & Amazon gift cards, Developer Nation Swag and much more! Developer Nation community members are also eligible for an iPad Mini, Amazon gift cards and more.

This is a global developer survey covering 13 areas, including: Web, Mobile, Desktop, Cloud, Industrial IoT, Consumer Electronics, Embedded software, AR & VR, Apps/extensions for 3rd-party ecosystems, Games, Machine Learning & AI, and Data science. It’s open to all developers and no-code software creators. Share what you like and dislike about popular tools and platforms and make an impact on the ecosystem.

As a thank you you’ll get a “goody bag” with free coding resources, vouchers and learning material to support your career growth. Also, the more questions you answer the more chances you get to win the cool prizes listed above.

Take the survey before July 9th!

Retrobatch Pro giveaway!

I’m excited to offer the next giveaway, 2 Pro licenses ($49.99 value each) for Retrobatch Pro. Retrobatch is the ultimate in image processing automation. Need to resize, crop, watermark, convert, or do anything else to a bunch of images? Or even one image at a time, but repeatedly? Retrobatch lets you define image processing workflows using a visual node-based editor that you can drag images onto and process in bulk. I use it all the time for turning templated blog post headers into web formats (JPG and WEBP) as well as creating cropped versions for social sharing. It saves me easily 10 minutes of time every time I create an image for a post.

From the developer:

A node based batch image processor means you can mix, match, and combine different operations together to make the perfect workflow. A node for every operation, from changing DPI to rotation to Machine Learning to custom behaviors with AppleScript. Optimize your images for fast delivery over the Internet. Process one image or thousands of images, with support for reading and writing common file formats, creating multiple inputs and multiple outputs.

Check out the Retrobatch Pro site for more info.

Sign up below to enter. Winners will be randomly drawn on Friday, June 07, at 12pm Central. The drawing is for 2 Pro licenses ($49.99 value each) for Retrobatch Pro, one per winner. Note that if you’re reading this via RSS, you’ll need to visit this post on brettterpstra.com to enter!

New rule: All signups must have a first and last name in order to be eligible. Entries with only a first name will be skipped by the giveaway robot. A lot of the vendors in this series require first and last names for generating license codes, and your cooperation is appreciated!

Sorry, this giveaway has ended.

Stay tuned for more giveaways every week through September, 2024 (and maybe beyond).

If you have an app you’d love to see featured in this series of giveaways, let me know. Also be sure to sign up for the mailing list or follow me on Mastodon so you can be (among) the first to know about these!