Category: geek

  • How to stop Netflix Auto-play

    Netflix started auto-playing TV shows on the iPad last year — if you have episodes left in the series, it would cut out about 30 seconds early from the end credits of your show, and jump to start playing the next episode (often also skipping the “previouslies” at the start of the next episode, which […]

    More
  • Copy File Path as Text in Mac OS X

    Posting this here because I keep needing to recreate it whenever I start using a new machine:

    • Open Automator.
    • Select the Service template.
    • Set options at the top to “Service receives selected files or folders in Finder.”
    • Drag over “Copy to Clipboard.”
    • Save the service with a name like “Copy Path.”

    That’s it! Now you can right-click on any selection in the Finder (even multiple selections) and select Services > Copy Path and then paste the text anywhere you like.

    You can also use the keyboard system preferences to assign a custom hot key such as Option-Command-C to the service, so you can invoke it directly.

    To do this: System Preferences > Keyboard > Shortcuts > Services > Files and Folders > Copy Path > Add Shortcut. I usually use ⌥⌘C (but only because ⇧⌘C is default for Go > Computer).

    Some details via this post on CNET.

  • Django MultiRangeField and MultiRangeFormField

    I’m building a website, and needed a way to save a list of pages and page ranges from a book or magazine. I wanted to to be a little more strict than just saving it as a string without any cleanup or validation, so I wrote a custom Django model field (and accompanying form field).

    It either just validates and cleans so that

    4-33, 43, 45, 60-65, 44, 59

    becomes the tidy

    4-33, 43-45, 59-65

    …or, if you comment out the raising of the ValidationError in the form field’s validate() method, it will actually clean up any junk characters for you, so even this horrible mess:

    ;4-33, 46a fads i44 ,p45o

    gets cleaned to

    4-33, 44-46

    Enjoy!

  • 3D Printer Re-calibration

    It’s been six months since we moved to Seattle, so I thought it was finally time to get my 3D printer out of mothballs. Well, at least that giant box full of Styrofoam peanuts.

    I hadn’t left it in a great state the last time I used it. ABS plastic had gotten stuck in the […]

    More

Mark Boszko

Film & Video Editor, Voiceover Artist, macOS IT Engineer, and Maker

Mark Boszko Avatar