![](/static/253f0d9/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
deleted by creator
deleted by creator
Shellcheck really helps
I actually made this before chatgpt became so popular. At the time, the people I made this about wanted to use things like pytorch, tensorflow, and scikit.
All the good GUIs have a license fee.
I recommend either checking response.status_code < 300
or calling response.raise_for_status()
in case of server errors. In these cases, the server might return a html page.
Neither remove untracked files sadly.
When a bug has been around for so long, it gets promoted to feature.
The ${} syntax manipulates a variable. In this instance, I believe % removes a suffix. # is for a prefix. I can never remember which is which.
Semicolons just separate statements. You can replace them with a new line to get the same effect.
Is your issue about just syntax?
for part in $text; do
echo "xX${part}Xx"
done
In bash, this loops over each word in a variable. If you want each line, you’ll need to use a while read loop instead.
while read -r line; do
echo "xX${line}Xx"
done <<< "$text"
I use this simply because I work in an offline environment and the Windows Terminal doesn’t work there.
Edit: I haven’t tried it since microsoft/terminal#6010 got closed. I’ll have to try again soon.
When you write a compiler, you eventually have to write it twice. Once in a pre-existing language, then again in the language it compiles.
Just say no to bootstrapping.
Using an xps17 2019. The touch screen works ok, but it stops working after closing the lid. Using EndeavourOS with Wayland btw.