Test Bed

Test Bed

  • About
  • Blog
  • FAQ
  • Resources
  • Weather forecasts for SearchLink

    December 25, 2023
    Code

    It’s unseasonably warm for Christmas here in Minnesota. It’s 50° out. To mark the weird occasion, I created a quick plugin for SearchLink that lets you run a search like: !current 55987 And get: Weather for Winona, Minnesota on 2023-12-25 at 12:53 PM: 51.8 and Light rain The plugin only outputs ‘embed’ style, it won’t…

  • A few Ruby snippets for scripters

    December 23, 2023
    Code

    I do most of my automation and string manipulation scripting using Ruby. I know it’s not the most popular language these days, but it’s the one I know the best (thanks to my days of hacking on TextMate bundles) and it’s usually the fastest way for me to solve a problem. I have reams of…

  • The Kaleidoscope giveaway winner!

    December 22, 2023
    Blog, Giveaways

    The Kaleidoscope giveaway has ended, and I have a winner to announce! The winners! Congratulations to Ken Bavier! 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 Kaleidoscope is still worth checking out. You can still save…

  • Multi-keystroke keybindings

    December 22, 2023
    Code

    Ok, this one will probably wrap up this little run of key binding tricks. It’s been fun, though, and I’d love to answer any questions I can in the forum. If you’ve ever examined my master DefaultKeyBinding.dict (or even looked at the readme), you’ll see that I make use of a lot of multi-stroke key…

  • More keybindings: Text editing shortcuts

    December 21, 2023
    Uncategorized

    I guess it’s keybinding week this week. I’ve talked about the kill ring and repeat binding, but I’ve been digging in and revamping my own DefaultKeyBinding.dict file, so I keep wanting to share some of the cooler things it can do because I know the file in the project is pretty massive and hard to…

  • HoudahSpot: Powerful file search — skip filing, start finding [Sponsor]

    December 21, 2023
    Sponsors

    Thanks to HoudahSpot for sponsoring BrettTerpstra.com this week! I’ve been using it for years and swear by it as a way to find files that Spotlight can’t, quickly and easily. HoudahSpot is a powerful tool for finding and managing files on your Mac, with features beyond Spotlight. Have you shifted — by choice or by…

  • macOS keybinding tricks: the repeat count binding

    December 19, 2023
    Code

    Another trick for readers interested in honing their keyboard-fu on macOS. In Vim, most operations have can have a count specified in the keystrokes for the command, e.g. 3dd to delete 3 lines. You can do similar in any Cocoa text field (all Apple apps, plus most native apps). You just need to specify a…

  • macOS keybinding tricks: The kill ring

    December 18, 2023
    Code

    So you may have seen my KeyBindings project before. It’s an insanely large collection of keybinding tricks that work in any macOS text field. Well, any native cocoa field. You won’t have much luck in Electron or other non-native text editors. But for most uses, including in Safari, Mail, Notes, nvUltra, and most of the…

  • Kaleidoscope giveaway!

    December 18, 2023
    Blog, Giveaways

    I’m excited to offer the next giveaway, a 1-year subscription ($96 value) for Kaleidoscope. There is no better program for diffing on macOS. From code to prose to images, see what changed with fine granularity. Plus great new Git integration! From the developer: Spot the differences in text and image files, or even folders full…

  • Ruby Regexp::scan with MatchData

    December 17, 2023
    Code

    This post will only be of interest to people writing scripts in Ruby. Seriously, zero utility if you’re not using Ruby. Though I would be curious how you accomplish the same thing in other languages like Rust and Python, because I’ve never gotten too deep with string manipulation in anything other than Ruby, Swift, and…

Previous Page
1 … 32 33 34 35
Next Page
Test Bed

Test Bed

  • Instagram
  • Facebook
  • X