coleman

joined 3 years ago
[–] [email protected] 1 points 2 years ago

I do this but with xx because I'm too scared

[–] [email protected] 2 points 2 years ago

My variant (u mean "up" in my head)

alias u  ='cd ..'
alias uu ='cd ../..'
alias uuu='cd ../../..'
[–] [email protected] 2 points 2 years ago

👎👎👎👎👎👎👎

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

After some research, fzy does a good portion of what I want. https://github.com/jhawthorn/fzy

I'm already an avid user of rlwrap, which can handle other kinds of completion.


UPDATE: After looking around, I've concluded the tool I want doesn't exist, yet.

 

I'd like to include some interactive menus and prompts in my shell scripts.

dialog is fine, but it takes over the entire screen (maybe there's a way to not do that?) with its ncurses UI. Ideally, I'd like output similar to this Go library.

Anyone know of any standalone tools I could install to avoid writing my own?

[–] [email protected] 0 points 2 years ago (1 children)

A cool command you can run is the following

who

It shows the open sessions for each user on the server.

Since who is part of GNU coreutils, you can get more info about it using the weird GNU info command.

info who
[–] [email protected] 0 points 2 years ago* (last edited 2 years ago)

Whoa, cool site. Thanks for sharing.

There's an RSS feed to subscribe to here:

https://cheapskatesguide.org/rss
[–] [email protected] 1 points 3 years ago

The other answers are great. But consider the following, as well.

All the mainstream package managers rely on POSIX-ish shell interpreters. Arch Linux PKGBUILD files require bash syntax, specifically.

RPM and .deb package formats literally embed shell scripts to perform pre- and post-installation tasks. They treat these scripts like hooks.

For instance, a common task would be to create requires users and directories for a program. Quite literally something like mkdir -p /var/lib/myprogram.

[–] [email protected] 3 points 3 years ago (1 children)

I'm an experienced dev who programs for a living, but I am kind of into this YouTube channel that (seems to) have a focus on beginners and career-switchers

https://www.youtube.com/c/keepittechie

I just like the vibe from this guy.

[–] [email protected] 2 points 3 years ago

After the Revolution, the only game is Farming Simulator 2095

[–] [email protected] 1 points 3 years ago

Facebook, if you see this, I'll write code for 150 million dollars a year, thx.

[–] [email protected] 2 points 3 years ago

I read Democracy At Work by Richard Wolff a decade ago. It's way more lightweight than what you're asking for, but it's not a rah rah all-positive book. It lays out the problem of capitalist organization, and how employee ownership can solve problems for workers.

https://www.democracyatwork.info/

Also look into resources from https://www.usworker.coop/home/

If you reach out to people in those organizations, they may have access to some more hardcore economic papers that you're looking for.

[–] [email protected] 2 points 3 years ago (1 children)

Post some links!

view more: next ›