nucliweb, to random
@nucliweb@webperf.social avatar

10 amazing Rust-based CLI tools

https://www.youtube.com/watch?v=ICU6XUzqg-U by @adib_hanna

juandesant, to MacAutomation
@juandesant@astrodon.social avatar

Even better than my previous toot, you can get the names of the running processes for a given architecture with:

osascript -e 'tell application "System Events" to return name of processes whose architecture is "x86_64”’

You can change “x86_64” to ”arm64” for native Apple Silicon processes.

And if you prefer to get process IDs, you can change name of processes to unix id of processes.

bonoky, to linux
@bonoky@fosstodon.org avatar

OK all you command line warriors, tell me this. Without using the mouse, how do I get the cursor away from the command line to copy something displayed earlier in the terminal. I know how to scroll the window but I need to be able to move the cursor to copy some text. I’ve searched high and low for a solution but so far been unable to get one. Surely command line terminals existed before mice were invented.

_newick, to linux French
@_newick@toot.aquilenet.fr avatar

I now prefer bat 🦇 over cat 🐈 .

rugk, to linux
@rugk@chaos.social avatar

Ever wanted that fancy for your tools? But you found it to annoying to (re)-record when sth. changed?

Found https://github.com/k9withabone/autocast, which automates this process and produces a nice asciinema output.

changelog, to golang
@changelog@changelog.social avatar

A simple, powerful library for building interactive forms and prompts in the terminal

🔗 https://github.com/charmbracelet/huh

video/mp4

alexelcu, to programming
@alexelcu@social.alexn.org avatar

"Update NextDNS with a Scala CLI script"

Today I was reminded how awesome Scala is for scripting, via Scala CLI. And it goes beyond having “batteries included”.

https://alexn.org/blog/2024/01/10/update-nextdns-with-a-scala-cli-script/

ebel, to random
@ebel@moytura.org avatar

TIL git checkout --merge.
It switched git branches, and if you have local modifications, it applies them after checkout. Kinda like “autostash”

https://git-scm.com/docs/git-checkout/en#Documentation/git-checkout.txt---merge

boilingsteam, to linux
@boilingsteam@mastodon.cloud avatar
pydemullenheim, to random

I was looking for functions that allow providing "beautiful" messages to the user when using package functions. I have discovered and just figured out that this package is used in all the cool packages (devtools, usethis) I am using to develop my own package ^^. If like me you did not know all the possibilities of the package, it may be well worth the read: https://github.com/r-lib/cli

jamiefdhurst, to Bash

Whenever I need to create a quick script (and I can't easily do it in or ) without tests and for ease, I'll typically use . I've spotted others doing the same in , , etc. Does everyone go back to the language they're most familiar with in these scenarios?

donwatkins, to linux
@donwatkins@fosstodon.org avatar

Conquering the Command Line for Linux Beginners |

https://www.both.org/?p=3081

kkarhan, to android German
@kkarhan@mstdn.social avatar

:
A or rather [ - ] that natively integrates @torproject ( & ) as well as @fdroidorg and is -focussed like @tails in that it stores all & personal files on a -encrypted card.

Basically a "" or "" because it provides -alike functionality for and -.
https://www.youtube.com/watch?v=qYcErJc9N3o

kkarhan, (edited )
@kkarhan@mstdn.social avatar

@torproject @fdroidorg @tails @Raspberry_Pi
But I guess a or port of that boots on and compatible would be a good start.

I'd even forego a fancy in exchange for a / like I do work towards in ...
https://www.youtube.com/watch?v=joJWOE2mn7Y

nucliweb, to linux
@nucliweb@webperf.social avatar
ai6yr, to linux

Listening to music using a text console, LOL (you can get some fancy GUI players for Linux... but this is a lot funnier...)

ari, to random
@ari@wetdry.world avatar

holy hell windows 11 is aggressive with making you use a microsoft account

actually considering scrapping this whole VM (it was really just a test bench anyways) and just replacing it with pop!_OS or something

kkarhan,
@kkarhan@mstdn.social avatar

@ari in general and espechally is irredeemable and !

But if you want to circumvent that shit without doing some voodoo on it's horribly bad , just use this login and it'll skip it:

https://github.com/greyhat-academy/lists.d/blob/d05d38e773d2961268c4c07db8a2f5a6472de7b4/default.logins.list.tsv#L10

You're welcome!

itsjoshbruce, (edited ) to php
@itsjoshbruce@phpc.social avatar

Is Symfony Console the way to go for creating custom CLI tools using PHP?

I think someone pulled something together from Laravel components.

I'd like to find something excessively lightweight - like CLI is all it does with few or no dependencies.

Curious about what folks are using.

I'll probably start with Symfony as I've built what I'm planning once before.

#PHP #Laravel #Symfony #CLI

linuxgal, to random
@linuxgal@techhub.social avatar
Wild_Rose, to gamedev

Got my raycaster to build to ncurses as well! That's 4 platforms I can build for, Linux desktop, Linux terminal, Android, and Web.

This didn't take much work. Software renderers are the way to go!

zadjii, to showerthoughts
@zadjii@mastodon.social avatar

should there be for ? What would that even look like?

I suppose apps could register some windows.manpages extension in their manifest. That's not too hard.

But what would it look like for like, windows APIs? Could we like, bundle up docs.microsoft.com somehow?

I feel like there's gotta be a better way to get help in the terminal on windows. Linux has this figured out

synlogic, to random
@synlogic@toot.io avatar

proposal for a new style tool:

dont

usage syntax:

dont <cmd> <args-for-cmd>

when dont runs it will definitely NOT run the requested command (well: definitely NOT with the given arguments anyway!)

it MAY or MAY NOT execute something else, however. this behavior is undefined and left as an implementation choice -- so do NOT rely on whatever you observe it to do at runtime, or what the source code suggests

nobodyinperson, to taskwarrior
@nobodyinperson@fosstodon.org avatar

Before I go out and make it myself, I'll ask here if someone knows of an existing solution. I am looking for a cli time tracking solution with the following hard requirements:

  • conflict-resistant git-syncable plain text storage
  • tracking multiple simultaneous events
  • tags, notes
  • simple checkin/-out commands with some intelligence
  • data analysis tools built-in, at least data export

I'm using #timewarrior but it's lacking in most above regards.

#boostswelcome #cli #git #timetracking

softlandinglinuxsystem, to linux

I use TMUX, which is a great terminal multiplexer, but struggle a bit with reviewing the screen history - the bindings in my case VI-like but I think I will alias this command as it suits me better:

tmux capture-pane -pS - | vim +':$' -

That just dumps the screen history into VIM and takes the cursor right to the end of the file. Then it's actually VIM, so I'm fine :-)

rory, to FreeBSD

I've been re-reconverting a lot of my "stuff" to the BSDs (Free, Open, Net). It's refreshing. The Linux every-tool-has-to-be-a-swiss-army-knife ethos is exhausting after a while. The relative simplicity and clean organization of *BSD (especially OpenBSD) re-affirms my fondness for UNIX-y things.

You might think there's not that much difference but, in many cases, I'd rather admin a BSD box. Try it, you'll see.

Also, NetBSD is soo lean, it has made my old Pentium III almost useful again. Even with 333Mhz and 128 MB of RAM 🙃

#bsd #openbsd #freebsd #vintagecomputing

kkarhan,
@kkarhan@mstdn.social avatar

@rory Yeah, I get what you mean, with THICC Distros like @ubuntu having dropped support half a decade ago...

I do however think that and isn't just possible (see ) but also could be made to work from a single 1440kB 3,5" FDD...

And I do work on that - see @OS1337 ...

And yes, I do want it to be a -principled & () that works on anything from an -SX and up with 16MB RAM...

esm, to random
@esm@wetdry.world avatar

I THINK THE MATRIX CHAT PROTOCOL SUCKS

kkarhan,
@kkarhan@mstdn.social avatar

@hexaheximal @esm @hexaheximal
You may call me a evangelist but

everytime something that could've been barely Megabytes as an , , or Kilobytes as a tool instead shoves yet another entire half gig copy of the - that is onto the Desktop despite using not even 0,1% of it's featureset

I call this a systemic failure in Software Architecture.

Browsers are the most attacked applications on beyond CMSes and Webservers...

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