fabian, to python
@fabian@floss.social avatar

🐍 aprxc — A tool to approximate the number of distinct values in a file/iterable using the (easy to understand) Chakraborty/Vinodchandran/Meel .

:codeberg: https://codeberg.org/fa81/ApproxyCount

Vs. sort | uniq -c | wc -l: needs slightly more memory, but 5x faster.

Vs. awk '!a[$0]++' | wc -l: just as fast, using much less memory (20x-150x for large inputs).

At the cost of ~1% inaccuracy (configurable).

Useful? You decide! :)

¹ https://arxiv.org/pdf/2301.10191#section.2

salcode, to random
@salcode@phpc.social avatar

I've noticed running the following from the command line on my Mac does NOT include a newline character at the end of myfile.md

pbpaste > myfile.md

My notes and ideas around this at https://github.com/salcode/salcode-zsh/issues/58

scy, to random
@scy@chaos.social avatar

Did you know that you can have a CLI config file? Pretty handy for changing the default memory limit, output format, or even print a nice banner.

Here's mine:
https://codeberg.org/scy/dotfiles/src/commit/dbe858184c07634d16065773e31bf6c1cb50b357/.sqliterc

It allows SQLite to use up to 1 GiB of page cache, uses nice Unicode box drawing characters, and tracks the runtime of queries by default. It also reminds me of how to turn these things off again.

(Pro tip: Set .timer on last, else it will print the stats for each of the start-up commands … 😬)

lukaso666, to debian Polish
@lukaso666@chaos.social avatar
quincy, to random
@quincy@chaos.social avatar

nice,

lynx -dump -listonly

extracts all the link urls from a html page.

arn_fai, to accessibility French
@arn_fai@toot.aquilenet.fr avatar

Pour cette 13ème édition de la journée mondiale de sensibilisation à l'accessibilité , ARN, @hackstub et le groupe a11y-libre, propose à toutes les personnes qui pratiquent la ligne de commande, un hackaton « asynchrone » sur le thème « ligne de commande et cécité » !

Vous avez jusqu'au 31 mai, pour envoyer vos contributions. Il y a de nombreux lots à gagner.

https://arn-fai.net/fr/blog/shell-accessible

Anachron, to linux German
@Anachron@fosstodon.org avatar

Got any blogs, especially with tooling and Automation? Please let me know.

julienbarnoin, to programming
@julienbarnoin@mastodon.gamedev.place avatar

Nowadays terminals and other text views can get rendered with GPU acceleration support, like the kitty terminal that I use.

🤔 That means we could get bloom, chromatic aberration, distortion, depth of field and other post process effects into our terminals, what are we waiting for?

martijn, to vscode
@martijn@ieji.de avatar

The Microsoft #devskim project looks great, but it could use some #dev activity.

There is a great opportunity to improve the #vscode plugin or the #cli tool or to improve it's current default ruleset. You can use this tool for #security in your code, or common best practices.

Will you help me popularize it's usage? For me it's a serious contestant for the sluggish #sonarcube if it gets a bit more love 🩷

https://github.com/microsoft/DevSkim

gnulinux, to nano German
@gnulinux@social.anoxinon.de avatar

Nano 8.0 - oder doch lieber Micro?

Nano, der Texteditor für die Kommandozeile, bietet in der neuesten Version Key-Bindings, die auch Normalsterbliche bedienen können.

https://gnulinux.ch/nano-8-0-oder-micro

davidbisset, to webdev
@davidbisset@phpc.social avatar

SuperFile is a "fancy and modern file manager".

https://github.com/MHNightCat/superfile

ehmicky, to programming
@ehmicky@fosstodon.org avatar

We just released Execa 9, which is our biggest release so far.

If you're currently using Execa, you should check out the new features! Also, if you're currently using zx or Bun shell, you might be interesting in this alternative.

https://medium.com/@ehmicky/execa-9-release-d0d5daaa097f

scy, to linux
@scy@chaos.social avatar
scy, (edited ) to linux
@scy@chaos.social avatar

Edit: Found it, it's sfdisk. Thanks @tante and @trilader!

I'm looking for a specific command-line utility for Linux to do partition and file system manipulation. It's not fdisk.

I remember that it had an option to remove existing filesystem signatures, and you could pass it a desired partition layout as command line arguments, which it would then create.

But I can't remember the name, and it's 2024 so search engines suck.

What's the name of the tool I'm looking for?

ebel, to Bash
@ebel@moytura.org avatar

Any good cli/terminal spell checking programmes? Pass in a file, get an terminal interactive “replace this with that / ignore / add to dict.” workflow.

I remember using aspell(1) back in Ye Olden Days. Is that still the best?

:boost_ok:

aral, to random
@aral@mastodon.ar.al avatar

Just updated my WezTerm¹ configuration file. (In case you’re the kind of person that gets excited by such things.) 👋🤓

https://codeberg.org/aral/.config/src/branch/main/wezterm.lua

¹ https://wezfurlong.org/wezterm/

dedsyn4ps3, to windows
@dedsyn4ps3@fosstodon.org avatar

The newest project is finally ready for its public debut! Inspired by a tool on for XFCE desktops, Nix-Incognito was developed to provide a similar mechanism for masking a user's GNOME desktop to better blend in with surrounding PC's during engagements!

Although it's meant for use on systems, it can easily be compiled and ran on any device running . Support for other DE's is in the works! 🙌 🤘 😎

https://github.com/dedSyn4ps3/nix-incognito

wervice, to linux
@wervice@fosstodon.org avatar

What do you think about the Warp

Warp terminal homepage: https://www.warp.dev/

mahryekuh, to til
@mahryekuh@fosstodon.org avatar

Today, I learned that the output of the beloved "tree" command-line tool is unusable for screen readers.

#TIL #accessibility #a11y #cli

chris_spackman, to linux
@chris_spackman@twit.social avatar

I spent a lot of time today trying to figure out / to encrypt and sign backups. I've used it occasionally for literally decades, but still struggle with it. I know if I used it more, I would get used to it and feel more comfortable, but I don't have the time or the need to use it more.

Is there another good open source program to symmetrically encrypt a file? But, for signing, you would still need to use key pairs, right?

Any good how-tos out there?

hongminhee, to fediverse
@hongminhee@todon.eu avatar

I'm working on adding a CLI toolchain to to help with debugging. The first feature I implemented is the ActivityPub object lookup.

Here's a demo.

The demo video on my terminal

hongminhee,
@hongminhee@todon.eu avatar

The second feature of the that I'm working on is ephemeral inboxes.

qmacro, to linux
@qmacro@hachyderm.io avatar

I like to run curl on all my devices

jspath55,
@jspath55@chaos.social avatar

@qmacro Why not lynx, too?

stevegrunwell, to php
@stevegrunwell@phpc.social avatar

Hey #phptek, less than two hours until we talk about #PHP on the #CLI. Be there or be…in another session more aligned with your interests and/or learning goals.

Or taking time for yourself (remember: we’re only halfway through the conference and it’s important to pace yourself).

Or building lifelong friendships with fellow attendees.

I hope you spend the 3pm hour with me, but however you choose to spend it I hope you enjoy!

scy, to webdev
@scy@chaos.social avatar

I need to convert to and I'm looking for a tool to do that.

The output should

• preserve line breaks in paragraphs
• not contain additional, unnecessary linebreaks (e.g. 4 empty lines between paragraphs)
• be configurable (e.g. whether to use * or _ for emphasis, or * vs - for unordered lists)
• if possible, allow me to hook into details (e.g. to convert <pre class="shell"> to ```sh)

or . Alternatively, what's a really configurable prettifier?

:BoostOK:

tripplehelix, (edited ) to Twitch
@tripplehelix@fosstodon.org avatar

Made some major improvements to my #terminal #cli #twitch following list and stream launcher, Twinge!

Should now work in smaller terminal windows and exits cleanly if crtl+c is used. I have also changed the colours to make what’s going on easier to see.

https://gitlab.com/tripplehelix/twinge

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Durango
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • khanakhh
  • osvaldo12
  • tacticalgear
  • JUstTest
  • cubers
  • everett
  • Leos
  • tester
  • mdbf
  • ngwrru68w68
  • ethstaker
  • modclub
  • megavids
  • provamag3
  • cisconetworking
  • normalnudes
  • lostlight
  • All magazines