Rainbow-Colored Talking-LLaMa for monday-dot-com
process flow logic?
realizing I'm the type of guy who'll:
> echo $(realpath .)
what does that speak to you?
Nuts? what do you call that?
why not:
> pwd
Rainbow-Colored Talking-LLaMa for monday-dot-com
process flow logic?
realizing I'm the type of guy who'll:
> echo $(realpath .)
what does that speak to you?
Nuts? what do you call that?
why not:
> pwd
Tooting toots with Tootly
Few years ago I got inspired by DF Tootbot and decided that I'd like to have something of this sort for my own blog. I knew I'll need something along the lines of what he was using, simply [...]
Not sure how other wezterm users handle this, but I have this bash alias in my rc file:
alias tab='wezterm cli set-tab-title'
so that I can just do tab name-of-tab
instead of needing to the full command I'll never remember. I then build on this with other aliases like:
alias home='tab home-pc && ssh -p2222 me@home-pc'
alias cinfra='tab infra && cd ~/projects/infra && git status
These help me keep my terminal clean each time I create a tab to do something completely unrelated to my previous workspace. I have some for authenticating to various cloud providers for my clients as well, so I remember where I'm authed to and what I was doing.
Bash kann nur 1-dimensionale Arrays. Mit diesem kurzen Skript geht es auch 2-dimensional
https://gist.github.com/dewomser/96abc89e76d4ff7592601eb0e34ab843
Studying an interesting subject after running into a set of nice Bhajan musical pieces many thirty minutes long played in acoustically fantastic sounding mandirs
#Hinduism #Bhajan #Mandir #Sikhism #Jainism #Buddhism #Islam #Judaism
#Links #Terminal #bash #csh #ksh #zsh #tksh #Browser #OpenSource #No #JavaScript #NoJavaScript
Anyone else fluent in #python #programming but still write #bash scripts that start out very simple and then induce regret as time goes on?
How to install dependencies from deb depends #apt #bash #dpkg #mysqlworkbench
#Automatisches #Hetzner‑DNS‑Updates via #Bash #Skript.
Du möchtest einen Server daheim betreiben und deine Domain anstatt einer DynDNS Domain nutzen? Hier gibt es die passende Anleitung.
automatisches hetzner‑dns‑updates via bash skript.
https://gnulinux.ch/automatisches-hetzner%E2%80%91dns%E2%80%91updates-via-bash-skript
Can we please have one standard way to define shell completions, that is compatible with all shells?
I'm moving from zsh to nushell, and it's relatively new, and you have to configure completions by writing a lot of code, including a lot of files, it's a nightmare.
It's easier for older shells like zsh or fish only because other people already done it, and some packages include per-shell completions.
There is @carapace_sh which attempts to do the right thing, but having completions in the other place than actual app is not very good idea.
https://usage.jdx.dev/ is trying to do the same but differently, and it has a way for an app to provide a schema for completions. This is step in the right direction, but not many tools support this.
Has anyone tried to put this somehow on the shell level? E.q. app includes a file like `myapp.completions` , and shell have a module which reads the file and generates a list of completions based on user input.
The right way to do this, is probably by defining a standard cross-platform/cross-shell schema. And it can be read by the shell, or by the tool like carapace or usage...
#Linux #Bash
Es gibt 2 neue Gist Einträge
nützliches für die Kommandozeile
Gifanimation erzeugen
Aktuelle Lottozahlen mit Curl
https://gist.github.com/dewomser
Move fast in the terminal!
Learn about Terminator.
https://air-academy.org/terminator-the-ultimate-linux-terminal-emulator-for-power-users/
#linux #infosec #tech #cybersecurity #bash
Wie schön
Der #RaspberryPi (zero 2 w) tut jetzt so, wie als wäre er ein USB Stick. Jetzt kann ich die Screenshots von der PS4 auf "einen USB Stick" verschieben und die Bilder landen per oxipng komprimiert und sortiert auf meiner Nextcloud. Es ist so toll, wenn man was funktioniert
Jetzt muss ich das #Bash Skript noch Error-Sicher machen und dann hoffentlich nie wieder anfassen
This is something I should have known for decades.
TIT (today I taught) myself how to get lolcat permanently on every command that I enter without explicitly calling the pipe.
Syntax
'ssh yourserver port yourlogin|lolcat'
It's so nice to get lolcat on everything!
.
Injecting a response in bash script that installs my application #commandline #bash #scripts
I was looking for an alternative to classic shell scripts, so I timed a Hello World program in different languages for fun. I thought you might want to know:
1 ms - #Bash
1 ms - #Perl
12 ms - #Python
33 ms - #Go (shebang calling `go run`)
38 ms - #C (shebang compiling to temporary file)
61 ms - #Rust (shebang compiling to temporary file)
Needless to say that this is a highly unfair and silly comparison. It's still interesting, though.
Motivated by a comment about experimenting with an AI model for small circuit diagrams in the podcast https://minkorrekt.de/mi343-mauer-von-hui/ I thought to ask it to port bashbuilder to tclsh.
The output was what every serious developer expects: Stuss, nonsense. The first lines looked promising but then some arbitrary tclsh code was added which had nothing to do with my bash script.
Happy to hear how to get this going.
https://codeberg.org/harald/bashbuilder/raw/branch/main/bashbuilder.sh