Daily Shaarli

All links of one day in a single page.

February 19, 2018

Everything you never wanted to know about file locking by apenwarr

I feel like I end up reading this once a year, usually when I'm trying to write a [python] script that needs to run from a cron script without clobbering its own files if one instance is started before the previous one is finished.

See also my shelfcache Python3 package which provides a thread- and multiprocess-safe key-value caching store on top of the standard library's shelve module: https://github.com/cristoper/shelfcache

How to achieve neat, even ribbing in knitting – Suzie Sparkles Knitting
thumbnail

A tip for tightening up knit ribbing: on the transition from knit to purl, purl the first stitch through the back loop and wrap the yarn clockwise.

(Nona gives the same tip in 2004: http://nonaknits.typepad.com/nonaknits/2004/12/a_bit_of_braggi.html)

FZF & RipGrep - Navigate with bash faster than ever before

Tips for using fzf, ripgrep, and bfs for quickly finding files based on their names/contents.

One Thing Well
thumbnail

A weblog about simple, useful software.

Hasn't been updated since 27 July 2016. I hope Jack returns at some point.