Did you know that you can set an initialization file for the #Python#REPL (aka "interactive mode")?
I use this to auto-import "os" and "sys" in every interactive Python, as well as the rich library (if installed) to provide pretty-printed and syntax-highlighted output for expression results.
Basically, just set the environment variable PYTHONSTARTUP to the path to your initialization file.
For every clumsy-fingered #Linux or #BSD user, I wholeheartedly recommend installing sl.
SL(6) Games Manual SL(6)
NAME
sl - display animations aimed to correct users who
accidentally enter sl instead of ls.
SYNOPSIS
sl [ -alFe ]
DESCRIPTION
sl Displays animations aimed to correct users who
accidentally enter sl instead of ls. SL stands for
Steam Locomotive.
OPTIONS
-a An accident seems to happen. You'll feel pity
for people who cry for help.
-l shows little one.
-F It flies.
-e Allow interrupt by Ctrl+C.
SEE ALSO
ls(1)
BUGS
It rarely shows contents of current directory.
AUTHOR
sl was written by Toyoda Masashi <toy‐
oda@is.titech.ac.jp>. This manual page was written
by Brian Ristuccia <brianr@debian.org> and Kenshi
Muto <kmuto@debian.org> for the Debian GNU/Linux
system but may be used by others under the same li‐
cense as sl itself.
4.2 Berkeley DistributioJan 18, 2001 SL(6)
I've just pushed A/V call commands to the #CLI frontend of #Libervia. I believe that it's the only #XMPP CLI to date with calling capabilities (make and receive calls).
#CsvDiff has finally reached v0.1.0, it's first ever non-alpha/-beta release! 🎉
New features like getting at the headers from the diffresult have been needed for the following PR in qsv (which is in final review): https://github.com/jqnatividad/qsv/pull/1395
When merged, you'll be able to decide, whether the diffresult should output headers or not (see examples in the PR). :awesome:
I’m pleased to announce shelltestrunner 1.10 !
This is a cross-platform, GPLv3+ command line tester.
It tests one or more commands, with optional input, and their expected output, stderr, and exit status. It can run tests in parallel, selectively, with a timeout, in color, etc. 1.10 brings --print mode (useful for upgrading old format 1 tests to to modern format 3), and precise line number reporting.
Il parait que j'aurais dû faire une #introduction depuis 6 ans, alors voilà. Ici, je pouet :
– science (recherche appliqué en algorithmique de l'#IA, en ce moment assez saoulé par son dévoiement corporate),
– design & illustration (souvent vectorielle sous #inkscape),
– code libre (auteur de #CLI : #liquidprompt, #colout, …),
– politique (anar gauchiste, centriste repenti, radicalisé par le macronisme),
– sondages bizarres (neuroatypique tentant de comprendre comment ça marche dans votre tête).
#TIL in @hrbrmstr daily drop (https://mastodon.social/@hrbrmstr/111063804154333546), about several #CLI#workflow control tools.
A very interesting one is the #rustlang "pueue" tool, which allows also controlling processes on remote servers, selectively pause each process, etc.
Would be useful to orchestrate those cli workflows that require multiple programs, scripts, etc. working on a pipeline, in particular if they are written in diff prog. langs.
This is the project I’ve been working on for a while: 🔮scry, a magical stat(1) clone that offers recursive directory scanning, pipe support, and two printing settings https://git.sr.ht/~trouble/scry
Example usage, caveats, etc. in the README.
I’ve pegged the release at version 0.5 because:
I still need to decide on a license, provide installation details, etc.
Some things, like error handling, should probably be improved
There are features I know I'd like to introduce before I declare a 1.0
But if you’re on a Unix system and are comfortable building from source, I’d appreciate any feedback. 😁
And that is the basic cli done for abysstrap! It is entirely non-destructive for now, so you can test it out without worrying about breaking anything. Now on to the backend code! (and separating the cli from the rest of the program because it is a mess right now.)
Execute commands for multiple files using fish (danielrotter.at)
Quite often I want to execute the same command for multiple files. It is quite easy to achieve that using the fish shell, once you get the hang of it.