Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Today's #FreeSoftwareAdvent entry: ledger(1) & hledger(1)

Uncategorized
1 1 12

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    10 Views
    Today in #FreeSoftwareAdvent it's pandoc(1).I author most of my prose in raw HTML (something I've done since the 90s, stemming from my appreciation of WordPerfect's "Reveal Codes" functionality), or occasionally I'll use Markdown. It's nice to just hand the file off to pandoc and get some other format (PDF, Word, RTF, plaintext, whatever).Is the output flashy? Not really. Is it what I would get if I hand-crafted the desired output document? No. But does it let me lazily do conversions with basically zero effort? Yep!
  • 0 Votes
    1 Posts
    6 Views
    Today in #FreeSoftwareAdvent, I realized how much my daily setup changed over the years.I removed my external monitor and keyboard.Not to be minimalist, but to reduce context switching.I kept the mouse because speed still matters.Working sometimes from my parents house made it clear that relying on an external monitor was fragile, so I forced myself to work only with the laptop.The same thing happened with software.Vim slowly became nvi.Alacritty became xterm, then st.I didn’t look for lighter tools, but for ones I could trust and reason about. Less abstraction, fewer surprises.Today I use two identical laptops -- one for work, one personal -- same setup, side by side, one mouse for each.The environment disappears, and the work stays.#suckless #st #nvi #xterm
  • 0 Votes
    1 Posts
    11 Views
    Today's #FreeSoftwareAdvent entry is my podcatcher, castget(1). I've used several CLI podcatchers over the years, changing mostly because hpodder (my then-favorite) became deprecated and dropped out of repos, so I had to find a replacement.Configuration is a simple INI-style file, it allows me to post-process files (certain ones I cut off the 7-minutes of advertising at the beginning, customize ID3/ID3v2 tags), and give them a naming-convention that works for how I listen.It runs nightly from cron(8) downloading to my queue directory-tree, emailing me the resulting output, and saves its state in files that can be fairly easily tracked in version-control (annoyingly it doesn't sort them, so every run mangles them, but a little processing with vim makes quick work of them, meaning the resulting diff output is just the new podcasts and a top-level timestamp change, not a complete remunging of the file). About every 3–4GB of queued-up files, I've usually reached the ones on my player/phone, delete those, and replace them with the fresh queue. It does mean that news podcasts are largely worthless because there could be a 3–4wk lag between when the episode releases and I eventually catch it in my player.It's simple, it works, and it plays well with the rest of my ecosystem. I like it.
  • 0 Votes
    1 Posts
    16 Views
    Today in #FreeSoftwareAdvent it's the venerable ssh(1)/sshd(8)While I grew up in an age where telnet(1) was my only option, the ssh folks made it a pretty drop-in replacement for the sorts of things I did with telnet, so switching was easy.With the exception of when I'm rebooting or our ISP is having issues, I almost always have at least one SSH connection open and likely more than one connection to other hosts. Even in the "security" of our LAN in the house, I still SSH between machines rather than use unencrypted connections for transfer.I love being able to run things remotely and use them locally, such as$ ssh me@remote dmesg | xsel -ibto put the remote machine's dmesg output on my system clipboard or$ tar czvf - /path/to/data | ssh me@remote 'cd /destination/path ; tar xzf -'to transfer a directory tree to a remote machine.It generally has sensible defaults, allows me to force key-based authentication rather than username+password auth.It allows me to limit $DAYJOB customers to SFTP-only access within their designated chroot directories, insulating them from each other.I use it to tunnel into work and forward my RDP VM's screen so I can access it locally with rdesktop(1)So many delightful little uses.Definitely worth reading @mwl's SSH book to learn more: https://mwl.io/archives/3126