sysbox
notes
sysbox | notes | |
---|---|---|
9 | 8 | |
206 | 120 | |
- | - | |
4.8 | 0.0 | |
8 months ago | about 1 year ago | |
Go | Shell | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sysbox
-
OpenBSD cron(8) now supports random ranges with steps
Yes, I first learned this and the name "splay" from CFengine, back in the day.
I put together a small busybox-like collection of sysadmin tools, and one of the subcommands is "splay" to sleep for a random amount of time. It's one of those things that is useful surprisingly often, even outside cron.
https://github.com/skx/sysbox
-
The Rust Implementation of GNU Coreutils Is Becoming Remarkably Robust
I remember in 1999 there was a project to reimplement a bunch of these tools in perl:
https://perlpowertools.com/
I even contributed a little, back then. I guess writing basic versions of "ls", for example, is trivial. But there's a lot of work getting all the tools done, with all the flags implemented and behaving as expected.
I guess there are tools like busybox, toybox, and similar, which also implement a lot of "stuff" to varying degrees of completion. From my side the biggest takeaway from those projects is the sheer convenience of deploying a single binary and installing symlinks to change functionality.
I replicated something similar with my sysbox project, collecting tools together in one golang binary with various subcommands:
https://github.com/skx/sysbox
I use at least one of those tools on a daily basis, though I suspect they're not so universally useful.
-
Operating Systems
If you've got perl installed you'll might have a "GET" binary present, mine is /usr/bin/GET, which comes with the WWW-module.
Although this is written in portable perl, rather than being compiled, so the static vs. dynamic choice doesn't really mean much it is a simple alternative.
Otherwise I built a simple busybox-inspired collection of tools, written in golang, which includes a simple HTTP client too:
https://github.com/skx/sysbox
Those are just a couple of examples, I'm certain there are multiple other choices out there. But I guess curl is ubiquitous enough that most people just use it directly, and add it when missing!
- sysbox: sysadmin/scripting utilities, distributed as a single binary
- Show HN: A collection of sysadmin utilities, in a single binary
-
M4 – the one true templating language
That's pretty cool.
I wrote something similar in my static collection of sysadmin tools - https://github.com/skx/sysbox - In my simple pre-processor I only allow two special things:
#include "file/goes/here"
-
Ask HN: Tools you have made for yourself?
I bundled together a small collection of sysadmin/scripting-tools here:
https://github.com/skx/sysbox
Those are probably amongst the things that I use most often which are non-standard.
-
Sd: My Script Directory
I used to have very full ~/bin, and ~/$(hostname), directories. In the end I pared them back and started bundling things together in one binary.
The end result is very similar to this approach, I run "sysbox blah", or "sysbox help", and use integrated subcommands.
Very helpful and makes deployment easy by having only a single binary:
https://github.com/skx/sysbox
Not bash/shell, but similar and useful idea to experiment with.
-
New Cli Tool (Golang) for custom commands (input during the execution) and with REPL
I support that in my sysbox utility-box, via the subcommands processor, and it is very helpful.
notes
-
My productivity app is a never-ending .txt file
I've been doing something similar for ~20 years at: https://github.com/nickjj/notes
- Running `notes` will open this month's notes for YYYY_MM.txt
-
What is your approach to quick note taking during development?
I use a very command line focused approach with https://github.com/nickjj/notes.
-
Keep a Knowledge Log
Since about 2001 I used YYYY-MM.txt plain text files and have a shell script to help create notes in the most friendly way I could think of from the command line at https://github.com/nickjj/notes.
Totally works fine for a knowledge log when you're streaming high level details. I still use it today.
But when you want to really go all-in with in-depth notes it's tricky because in 1 month's time if you're hardcore deep in the woods of learning, applying and using something you're going to end up with hundreds of concepts from an assorted set of tools and it kind of stinks to have all of that info sitting in 1 file. Think about using something like Kubernetes. That's really Kubernetes, Kustomize / Helm, EKS, various cloud hosting details (networking, etc.), Terraform and ton of super useful commands / context. Details you for sure want recorded for later.
For this type of info I've been building up a knowledge base with https://obsidian.md/. It's really nice and I highly recommend it. It's been working well for keeping things reasonably categorized without wasting a lot of time on the details around keeping links and tags up to date. It also has Vim mode that's good enough where day to day writing feels natural.
-
Show HN: Then – Understand how you spend your time and what influences your mood
Did you end up automating the entries?
For example, I have a command line note taking script at https://github.com/nickjj/notes.
It creates a YYYY-MM-DD.txt file and doesn't include time stamps but it would be a 1 line change to make each entry get timestamped. I didn't do that because personally I'm more interested in monthly notes not per minute.
But I do think removing the barrier of creating entries is an important step with jotting things down, this way you can focus on what you want to write and not the boilerplate.
-
Ask HN: Tools you have made for yourself?
A whole bunch of little things, mainly command line tools.
Most of them are open source and also have extensive documentation and a screencast video going over them.
In no specific order:
- https://github.com/nickjj/notes
- https://github.com/nickjj/invoice
- https://github.com/nickjj/wait-until
And a few recent little scripts to solve specific things:
- https://nickjanetakis.com/blog/using-ffmpeg-to-get-an-mp3s-d...
- https://nickjanetakis.com/blog/a-shell-script-to-keep-a-bunc...
- https://nickjanetakis.com/blog/bash-aliases-to-prepare-recor...
-
Show HN: Note, my simple command line note taking app
Along similar lines, nickjj also has a similar (but bash) notes script at:
https://github.com/nickjj/notes
-
Ask HN: What are you surprised isn’t being worked on more?
While I don't use it personally there's: https://obsidian.md/
It's cross platform and works offline. You write markdown and it produces a visual graph of your data. It supports interlinking notes, tags and images too.
Plain text notes[0] work best for me but I'd probably use Obsidian if I wanted to see things visually. When I tried it out briefly it was really solid.
[0]: https://github.com/nickjj/notes
What are some alternatives?
jinja2-cli - CLI for Jinja2
neatroff - Neatroff troff clone
dockly - Immersive terminal interface for managing docker containers and services
ping-heatmap - A tool for displaying subsecond offset heatmaps of ICMP ping latency
wireguird - wireguard gtk gui for linux
pdftilecut - pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.
shpotify - A command-line interface to Spotify.
m4b-tool - m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
qdoc - Convert documentation within a Lua script into a Markdown file.