and zet

Fri, May 26, 2023 One-minute read and zet

I like to capture snippets but have found that incorporating well formatted, context aware and runnable examples in this zet challenging.

Today I found and its really awesome. I’m going to try it out as a way to enrich my zets.

Here is an example:

This is a real file from a project I have which uses NATS as its message service.

To create that snippet all I needed to do was cat <file>.go | ssh snips.

This then saved my snippet to my instance.

Because takes input from stdin I think it’ll make a great partner to this type of notes capture.


#snippets #go #ssh