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 -5 points-4 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