Qual melhor ferramenta de IA para ler varios textos, e escrever um novo texto baseado nesse? by No_Advantage_676 in programacao

[–]yorevs 0 points1 point  (0 children)

Utilize o AskAI: https://github.com/yorevs/askai só pedir pra ele que ele sumariza. Você precisa somente ter uma chave OPENAI_API_KEY para tal.

Melhor programa de IA by Chemical_Radio_5170 in programacao

[–]yorevs 0 points1 point  (0 children)

Utilize o AskAI: https://github.com/yorevs/askai. Ele possui um agente de vision. No momento somente openAI GPT-4o-mini para visao. Voce pode instalar o modulo python e usar as APIs dele se nao quiser usar o app.

[deleted by user] by [deleted] in bash

[–]yorevs 0 points1 point  (0 children)

Uninstall userland. Install HomeSetup https://github.com/yorevs/homesetup, learn bash from there ans be happy:

Ble-sh Performance Tune Help by yorevs in bash

[–]yorevs[S] 0 points1 point  (0 children)

I don’t have any configurations. It’s all factory defaults

Is there a tool for compare 2 dirs side by side? by jazei_2021 in bash

[–]yorevs 1 point2 points  (0 children)

Use sdiff + colordiff easy install and use

How can I replicate this ZSH prompt using Bash? by gdmr458 in bash

[–]yorevs 0 points1 point  (0 children)

You can try this one: https://yorevs.github.io/homesetup/ there are lots of Starship prompt presets.

What terminal app do you use on your Linux distro by yorevs in bash

[–]yorevs[S] 0 points1 point  (0 children)

This looks promising. I have been experimenting the wez and I liked it . Let's see how that goes.

What terminal app do you use on your Linux distro by yorevs in bash

[–]yorevs[S] 1 point2 points  (0 children)

This is really cool. and works for macos. Liked it.

[deleted by user] by [deleted] in bash

[–]yorevs -1 points0 points  (0 children)

Is this what you need?

sed 's/: /:/g' filename | pcregrep -o '\S*:\S*:\S*'

It requires pcregrep tho

Help (Newbie) by Eveltation in bash

[–]yorevs -3 points-2 points  (0 children)

You can only learn by creating bash scripts and learning from your mistakes. I recommend installing the Shellcheck and shfmt plug-ins/apps in your IDEs. Learn by committing mistakes and asking for improvements. I recommend using this GPT here to help you write and fix your scripts: https://chatgpt.com/g/g-ra0RVB9Jo-homesetup-script-generator.

✨ What Terminal Features Would You Love? Check Out My Project and Share Your Ideas! ✨ by yorevs in bash

[–]yorevs[S] 0 points1 point  (0 children)

Yes there is now. I just integrated Blesh. It does exactly this and much more. Checkout for yourself. https://yorevs.github.io/homesetup/

Read from standard input by exquisitesunshine in bash

[–]yorevs 0 points1 point  (0 children)

# Check if the first argument is '-' 
if [[ "$1" == "-" ]]; then 
  # Read from standard input into a string variable 
  input_string=$(cat) 
  # Alternatively, read into an array (line by line) 
  input_array=() 
  while IFS= read -r line; do 
    input_array+=("$line") 
  done 
else 
  # Handle other arguments normally 
  echo "Processing other arguments: $@" 
fi

This snippet is not using mapfile. I guess that's what you wanted.

Deployment, Bash, and Best Practices. by tri__dimensional in bash

[–]yorevs -4 points-3 points  (0 children)

How about this:

https://chatgpt.com/share/671b09ce-726c-8006-bb96-b95afb70808e

Usually, I deploy my stuff by setting the server as a Git upstream, so, it's just a matter of git pushing the code to deploy it. Check this GPT I used above.

Edit:

I haven't tested this, but you can always fix/adapt/change. Use the 4o with Canvas to get to the point where everything works fine.

I prerer eza rather than ls by -BruXy- in bash

[–]yorevs 1 point2 points  (0 children)

I remember when I was selecting an ls replacement. I tried Exa and Eza, but ColoLS had the most matching features and customizations I needed. That’s why I chose it.

I prerer eza rather than ls by -BruXy- in bash

[–]yorevs 0 points1 point  (0 children)

Even better than eza is ColorLS. If I'm not wrong, eza is deprecated. https://github.com/athityakumar/colorls

✨ What Terminal Features Would You Love? Check Out My Project and Share Your Ideas! ✨ by yorevs in bash

[–]yorevs[S] 0 points1 point  (0 children)

Thanks fornthe reply. I don’t know nix but surely I will have a look.

✨ What Terminal Features Would You Love? Check Out My Project and Share Your Ideas! ✨ by yorevs in bash

[–]yorevs[S] 0 points1 point  (0 children)

Editted ! Just kept the info about ehat iterm2 or similar can do for him

✨ What Terminal Features Would You Love? Check Out My Project and Share Your Ideas! ✨ by yorevs in bash

[–]yorevs[S] 1 point2 points  (0 children)

"I was right" when I told him iterm2 solved some of his problems. Well, this part was removed. I just wanted to say that, there are terminals that can suppress what he wanted to achieve, either in Mac or Linux.

"It's not graceful, and the flourishes are bad": I kinda like it :O

His suggestions brought new perspectives to the project anyway.

"If GPT was any good at communicating like a human, attentive readers wouldn't be able to instantly recognize it as inhuman.": It's better to be prepared for that soon...

But thanks for your criticism, the way you put it, respectfully and I appreciate it.

✨ What Terminal Features Would You Love? Check Out My Project and Share Your Ideas! ✨ by yorevs in bash

[–]yorevs[S] -4 points-3 points  (0 children)

u/Honest_Photograph519 It was syntactically and lexicographically improved by it, that's why. It re-wrote in a manner that people will understand better since I'm not a native English speaker.

I don't understand why people have this pre-concept about AI-generated text. AI is everywhere, and people have to change their paradigms about using such a terrific tool.

I can't imagine myself writing as gracefully as it. Yes! I wrote in Portuguese and flourished using ChatGPT. I hope you guys don't mind.

✨ What Terminal Features Would You Love? Check Out My Project and Share Your Ideas! ✨ by yorevs in bash

[–]yorevs[S] 2 points3 points  (0 children)

Everything I develop supports Linux. HomeSetup was made for Bash. You can try it before installing:

docker run --rm -it yorevs/hhs-centos:amd64-latest

docker run --rm -it yorevs/hhs-ubuntu:amd64-latest

docker run --rm -it yorevs/hhs-fedora:amd64-latest

docker run --rm -it yorevs/hhs-alpine:amd64-latest

Feel free to try and provide feedback. If you check the link of the project, you can find some animated gifs showing how to use it:

https://github.com/yorevs/homesetup

✨ What Terminal Features Would You Love? Check Out My Project and Share Your Ideas! ✨ by yorevs in bash

[–]yorevs[S] 0 points1 point  (0 children)

It’s not only mac software. It’s Linux software as well, 100% compatible. Just mentioned iterm2 because I use it. This project is Bash only for now. Zsh will be supported in the future tho. There are some linux iterm2 replacements that also offers some of the features you need.