Shift change on Monday morning! The Canada geese seem to have finished their work at the nearby steelworks and are now waddling home. The steelworks in the background is actually just industrial heritage, it was shut down more than 20 years ago.
#myphoto
Share a script/alias you use a lot
# Download clipboard to tmp with yt-dlp
tmpv() {
cd /tmp/ && yt-dlp "$(wl-paste)"
}
like this
Il segnale radio cosmologico aiuterà gli astronomi a individuare le stelle di prima generazione dell'Universo
La prima generazione di stelle (Popolazione III) deve essersi formata dal gas non arricchito che permeava l'Universo nascente. Queste stelle hanno prodotto i primi elementi più pesanti e hanno reilluminato l'Universo, ponendo fine all'età oscura cosmica e introducendo l'Universo nell'Epoca della Reionizzazione.
iPhone 17 Pro: camera di vapore per raffreddare il chip
#Apple #iPhone #iPhone17Pro #Novità #Raffreddamento #Smartphone #TechNews #Tecnologia #VaporChamber
ceotech.it/iphone-17-pro-camer…
iPhone 17 Pro: camera di vapore per raffreddare il chip
La camera di vapore arriva su iPhone 17 Pro: raffreddamento più efficiente, meno surriscaldamenti e prestazioni sempre al top anche in gaming e multitasking.CeoTech
Müllabfuhr soll Kleinfahrzeuge einsetzen.
- KEINE SATIRE -
tz.de/muenchen/stadt/hallo-mue…
Müllabfuhr kommt nicht durch – Parkende Autos sorgen in Münchner Wohngebiet für Probleme
Weil Falschparker den Weg versperren kommt die Müllabfuhr nicht durch. Was Bürger, BA und AWM gegen die Probleme in einem Münchner Wohngebiet tun:www.tz.de
Le autorità iraniane meditano una risposta all’attacco statunitense, mentre continua lo scontro diretto con Tel Aviv
thesubmarine.it/2025/06/23/ven…
Vendetta, tremenda vendetta
Le autorità iraniane meditano una risposta all’attacco statunitense, mentre continua lo scontro diretto con Tel Aviv.Alessandro Massone (The Submarine)
L'errore di Meta sulle intelligenze artificiali - Il Post
https://www.ilpost.it/2025/06/23/meta-facebook-intelligenze-artificiali/?utm_source=flipboard&utm_medium=activitypub
Pubblicato su News @news-ilPost
L’errore di Meta sulle intelligenze artificiali
Per anni ha puntato sui progetti sbagliati rimanendo indietro rispetto ai concorrenti, e recuperare non è facileIl Post
News reshared this.
transparency-france.org/2025/0…
"Les lanceurs d’alerte sont une force essentielle au service de l’intégrité et de la transparence. Ils révèlent des actes répréhensibles dissimulés, dénoncent les abus de pouvoir et permettent de demander des comptes aux institutions et aux
Journée mondiale des lanceurs d’alerte : le prix à payer pour dire la vérité à l’ère de la désinformation - Transparency France International
Les lanceurs d’alerte sont une force essentielle au service de l’intégrité et de la transparence. Ils révèlent des actes répréhensibles dissimulés, dénoncent les abus de pouvoir et permettent de demander des comptes aux institutions et aux individus.equipe (Transparency France International)
🔒 Cogli l'occasione: questa settimana NordVPN a prezzi mai visti prima! Sconti straordinari fino al 72%! Proteggi il tuo Web navigando in sicurezza! #NordVPNSale #CyberSecurity
🔗 tomshw.it/hardware/questa-sett…
Questa settimana NordVPN è quasi regalata: sconti fino al 72%
State pensando di cambiare VPN o è la vostra prima volta? Oggi NordVPN è tra le migliori offerte disponibili, con sconti fino al 72% su tutti i piani.Dario De Vita (Tom's Hardware)
Bref 2 : une vraie remise en question des mecs toxiques ? — Gregoire Simpson
youtube.com/watch?v=AljNv6DyUs…
#vulgarisation #éducPop #sociologie #politique #féminisme
- YouTube
Profitez des vidéos et de la musique que vous aimez, mettez en ligne des contenus originaux, et partagez-les avec vos amis, vos proches et le monde entier.www.youtube.com
#pastpuzzle 59
🟩🟩🟥🟥 (+26)
🟩🟥🟩🟥 (-497)
🟩🟥🟥🟩 (-670)
🟩🟩🟩🟩 (0)
4/4 🟩
pastpuzzle.de
past puzzle
Errate mithilfe von 4 historischen Ereignissen das gesuchte Jahr. Ein von Wordle und Geschichten aus der Geschichte inspiriertes Spiel.www.pastpuzzle.de
Lima e Ciancimino ritirarono la querela contro il combattivo direttore del quotidiano “L’Ora” In effetti l’atteggiamento de «L’Ora» a livello pubblico era stato, se possibile, ancor più critico. Al direttore andava attribuito un articolo non firmato dell’8 luglio 1963, intitolato
Washington strikes Iranian nuclear sites: What we know so far
Trump has announced a successful attack on the Fordow, Natanz and Esfahan facilities using B-2 bombers and submarine-launched missilesRT
U.S. strikes on Iran stand to upstage NATO summit with Trump
https://www.washingtonpost.com/world/2025/06/23/nato-summit-trump-iran-strike/?utm_source=flipboard&utm_medium=activitypub
Posted into World @world-WashPost
La vidéosurveillance algorithmique (VSA) n'ayant toujours pas été légalisée, « ces fonctionnalités devront être désactivées par défaut ».
@nextinpact : next.ink/188969/toulouse-sequi…
Toulouse s'équipe en vidéosurveillance algorithmique alors qu'elle est encore interdite - Next
Toulouse veut moderniser son système de « vidéo protection » via l’implémentation de « solutions d’analyse algorithmique », et plus particulièrement l’ « intégration de modules d’intelligence artificielle permettant d’identifier en temps réel les com…Jean-Marc Manach (Next)
🇮🇹 Articoli più popolari: domenica 22 giugno 2025
- Northrop Grumman B-2 Spirit (68,482)
- Luca Koleosho (52,566)
- Iran (33,995)
- Guerra Iran-Israele (32,847)
- Stretto di Hormuz (32,649),6. Wydad Athletic Club (29,276)
- Coppa del mondo per club FIFA 2025 (27,822)
- Basi militari statunitensi in Italia (22,898)
- Sofyan Amrabat (21,004)
- Valentín Carboni (19,065),11. Ali Khamenei (18,515)
- Terza guerra mondiale (17,830)
- Nordin Amrabat (17,770)
- Giuseppe Ambrosino (17,507)
- Carmine Nunziata (17,389),16. Wilfried Gnonto (16,774)
- Massive Ordnance Penetrator (16,745)
- 28 anni dopo (15,856)
- Aleksandr Bublik (15,483)
- Coppa del mondo per club FIFA (15,432),21. Israele (15,403)
- Nicolò Tresoldi (15,294)
- Marc Márquez (14,553)
- Nicola Calipari (14,205)
- Corpus Domini (13,362)
Odd Lots: The Secretive Chinese Chip Giant That Could Be Nvidia's Biggest Threat
https://www.bloomberg.com/news/audio/2025-06-23/how-china-s-huawei-became-nvidia-s-biggest-threat-in-ai?utm_source=flipboard&utm_medium=activitypub
Posted into Podcasts @podcasts-bloomberg
BREAKING: Trump asks why there would not be 'regime change' in Iran.
In unrelated news, people around the world are asking the same thing about a regime change in America.
#trump #iran #regimechange #republicans #MAGA #democrats #democracy #news
aduc.it/articolo/osservatorio+…
Comment la guerre d’Israël contre l’Iran a sauvé l’Occident de sa propre humanité
mcinformactions.net/comment-la…
#israel #palestine #Hamas #Cisjordanie #Gaza #Ira #occident #orient
Comment la guerre d'Israël contre l'Iran a sauvé l'Occident de sa propre humanité - [mcInform@ctions]
Lorsque le génocide israélien est devenu insoutenable, même pour les alliés les plus fidèles d’Israël, l’Occident avait besoin d’un...mcinformactions.net
No, les renovables no van apagar la península Ibèrica
«Comença a quedar clar que la clau no va ser un excés de generació renovable, sinó la incompareixença de les fonts convencionals»
At least 22 people killed in terrorist attack on church in Syria
https://flipboard.com/video/euronews/1b69f75a26?utm_source=flipboard&utm_medium=activitypub
Posted into News Videos @news-videos-euronews
At least 22 people killed in terrorist attack on church in Syria | Flipboard
A suicide bomber killed at least 22 and injured 63 in an Eastern Orthodox church near Damascus.Flipboard
Iran Strike a Possible Turning Point for Mideast, Former Israeli PM Olmert Says
https://www.bloomberg.com/news/videos/2025-06-23/ex-israeli-pm-olmert-on-us-iran-strikes-mideast-future-video?utm_source=flipboard&utm_medium=activitypub
Posted into Business @business-bloomberg
Raindance 2025: Loner
It is not just a film; it's a reflective venture into the depths of human experience that resonates long after the credits roll.Samantha Andujar (Horror DNA)
#US officials admit they don't know the fate of #Iran's uranium reserves - #NYT
And yet that doesn't stop them from gloating over some shity hits on some rocks.
Iran had proactively moved enriched uranium and now has every reason to build nuclear weapons to defend itself against #US aggression.
With the support of the whole world.
Now US will never be able to add Iran to the pile of countries they have destroyed.
This is what the orange clown has achieved.
Cheers morons
#pastpuzzle 59
🟩🟩🟩🟥 (+2)
🟥🟥🟥🟨 (-1161)
🟥🟥🟥🟨 (-1305)
🟩🟩🟩🟩 (0)
4/4 🟩pastpuzzle.de
past puzzle
Errate mithilfe von 4 historischen Ereignissen das gesuchte Jahr. Ein von Wordle und Geschichten aus der Geschichte inspiriertes Spiel.www.pastpuzzle.de
"I know you wanted it to die, because you wanted to kill a piece of open source software ~ I know that upsets you that open source can be forked, but, uhh, my condolences to Redhat."
#lunduke #goodquote #xlibre #xorg #redhat #opensource #freesoftware #freetofork #forkoff
symbolicm likes this.
cool.
so how do i run wayland stuff in XLibre?
... X* stuff runs in (x)wayland. so ^
no wayx yet?
transparency-france.org/2025/0…
"Exiger des comptes aux puissants peut être un acte dangereux. Les individus courageux qui révèlent les actes répréhensibles de gouvernements, d’organisations publiques ou d’entreprises privées s’exposent souvent à des risques – harcèlement, mise sur liste noire, campagnes de diffamation, voire violences
De la théorie à la pratique : Construire des systèmes d’alerte efficaces - Transparency France International
Exiger des comptes aux puissants peut être un acte dangereux. Les individus courageux qui révèlent les actes répréhensibles de gouvernements, d’organisations publiques ou d’entreprises privées s’exposent souvent à des risques – harcèlement, mise sur …equipe (Transparency France International)
theguardian.com/us-news/2025/j…
‘Ticking time bomb’: Ice detainee dies in transit as experts say more deaths likely
Guardian reporting reveals confusing and contradictory events surrounding death of Abelardo Avellaneda DelgadoTimothy Pratt (The Guardian)
Asana is hiring Data Science Manager
🌎 San Francisco, California
⏰ Full-time
🏢 Asana
Job details jobsfordevelopers.com/jobs/dat…
#jobalert #jobsearch #hiring
bbc.co.uk/news/articles/c0k7vl…
#Ukraine #russia #UkraineWar #RussiaUkraineWar #kyiv #news
Seven killed in Kyiv in new Russian aerial attack
Russian missiles and drones hit residential areas and hospitals in Ukraine's Kyiv region, the interior minister says.Jaroslav Lukiv (BBC News)
Canonical is Dropping Bazaar Support from Launchpad
Canonical is sunsetting Bazaar version control on Launchpad in 2025. Learn about the timeline, migration options, and what it means for Ubuntu development.Joey Sneddon (OMG! Ubuntu!)
Kawawete
in reply to als • • •Not on mine tho
xmanmonk
in reply to Kawawete • • •thingsiplay
in reply to Kawawete • • •With how many new Linux users we get recently, I don't like this joke at all without a disclaimer. Yes yes, its your own fault if you execute commands without knowing what it does. But that should not punish someone by deleting every important personal file on the system.
In case any reader don't know,
rm
is a command to delete files and with the optionrm -r
everything recursively will be searched and deleted on the filesystem. Option-f
(here bundled together as-rf
) will never prompt for any non existing file. The/
here means start from the root directory of you system, which in combination with the recursive option will search down everything, home folder included, and find every file. Normally this is protected todo, but the extra option--no-preserve-root
makes sure this command is run with the root/
path.Haha I know its funny. Until someone loses data. Jokes like these are harmful in my opinion.
CosmicTurtle0
in reply to thingsiplay • • •rm -rf /
belongs in a joke thread.Kawawete
in reply to thingsiplay • • •thingsiplay
in reply to Kawawete • • •INeedMana
in reply to als • • •Lexi Sneptaur
in reply to als • • •I usually set up an alias or script to update everything on my system. For example, on Ubuntu, I would do this:
alias sysup='snap refresh && apt update && apt upgrade'
And on Arch, I do this:
alias sysup ='flatpak update && paru'
Funny enough you'd need to use
sudo
to run this on Ubuntu, but not in the Arch example because paru being neatGideonBear
in reply to Lexi Sneptaur • • •GitHub - topgrade-rs/topgrade: Upgrade all the things
GitHubMyNameIsRichard
in reply to GideonBear • • •Random Dent
in reply to MyNameIsRichard • • •GitHub - ivan-hc/AM: AppImage Package Manager: AppImage sandboxing, local and system installation, update all AppImages, an extensible database of AppImages and portable apps, lists for AppImages and other GNU/Linux binaries, integrate AppImages by drag/d
GitHubRandom Dent
in reply to GideonBear • • •update
to run it lolthingsiplay
in reply to Lexi Sneptaur • • •And related for uninstalling something:
TechnoCat
in reply to Lexi Sneptaur • • •github.com/dannyfritz/dotfiles…
dotfiles/fish/config.fish at e53d410364bf6e2f4e1de4b9c6abbbc832db67b1 · dannyfritz/dotfiles
GitHubmina86
in reply to als • • •For doing stuff in a directory, I use a replacement for
cd
command.
For aliases:
I also have various small scripts and functions:
*
a
for package management (thinkapt
but has simplified argumentswhich makes it faster to use in usual cases),
*
e
for opening file in Emacs,*
g
forgit
,*
s
forsudo
.And here’s
,
:cd’s long lost sibling finally here! — mina86.com
mina86.combeeng
in reply to als • • •Similar to yours OP I copy many URLs and then run my script that takes the number of URLs I copied eg 5,and downloads them with
yt-dlp
and GNUparallel
to~/Videos
I use CopyQ to hold the clipboard history.
KR1Z2k
in reply to als • • •juipeltje
in reply to als • • •odc
in reply to als • • •thingsiplay
in reply to odc • • •I also have the
yt-dlp "$(wl-paste)"
one, but its build around a custom script. So sharing it here makes no sense. Its funny how often we do same thing in different ways (extracting or creating archives in example). Often aliases get development into function and then they turn into scripts. For some of the more simple aliases, here a selection:utopiah
in reply to als • • •To answer your question realistically I did
history | sed "s/.* //" | sort | uniq -c | sort -n
which returned as first non standard command
lr
which from mygrep lr ~/.bashrc
isalias lr="ls -lrth"
thingsiplay
in reply to utopiah • • •A few days ago I posted a one-liner to do the same thing too. It will resolve aliases from your history and expand program paths to its fullpath. I thought you might be interested: beehaw.org/post/20584479
thingsiplay
2025-06-15 09:04:05
utopiah
in reply to thingsiplay • • •WQMann
in reply to als • • •I replaced rm with trash-put, just in case I realize I need some files that I removed down the line.
Official author don't recommend it due to different semantics. But honestly for my own personal use case its fine for me.
Also I like to alias xclip:
GitHub - andreafrancia/trash-cli: Command line interface to the freedesktop.org trashcan.
GitHubthingsiplay
in reply to WQMann • • •rm
directly, even with the alias in effect, you can put a backslah in front of the command to use its original meaning:\rm filename
XXIC3CXSTL3Z
in reply to thingsiplay • • •thingsiplay
in reply to XXIC3CXSTL3Z • • •I'm not sure what you mean with the question. If you have any alias like
alias rm='ls -l'
in your .bashrc in example, then you cannot use the original commandrm
anymore, as it is aliased to something else. I'm speaking about the terminal, when you enter the command. However, if you put a backslash in front of it like\rm
in the terminal, then the alias for it is ignored and the original command is executed instead.Edit: Made a more clear alias example.
XXIC3CXSTL3Z
in reply to thingsiplay • • •IsoKiero
in reply to WQMann • • •I don't recommend that either. If you get used to that 'rm' doesn't actually remove files and then your alias is missing for whatever reason it'll bite you in the rear at some point. And obviously the same hazard goes with a ton of other commands too.
qpsLCV5
in reply to als • • •generally i try not to use too many custom things because for work i regularly work on all kinds of different servers and i've just been too lazy to set up some solution to keep it all in sync. someday....
monovergent
in reply to als • • •silly goose meekah
in reply to als • • •als
in reply to silly goose meekah • • •Ritsu4Life
in reply to als • • •XXIC3CXSTL3Z
in reply to Ritsu4Life • • •Ritsu4Life
in reply to XXIC3CXSTL3Z • • •XXIC3CXSTL3Z
in reply to Ritsu4Life • • •kibiz0r
in reply to als • • •I often want to know the status code of a
curl
request, but I don't want that extra information to mess with the response body that it prints to stdout.What to do?
Render an image instead, of course!
curlcat
takes the same params ascurl
, but it uses iTerm2'simgcat
tool to draw an "HTTP Cat" of the status code.It even sends the image to stderr instead of stdout, so you can still pipe
curlcat
tojq
or something.Note: This is macOS-specific, as written, but as long as your terminal supports images, you should be able to adapt it just fine.
con_fig
in reply to kibiz0r • • •XXIC3CXSTL3Z
in reply to kibiz0r • • •Nugscree
in reply to als • • •Because using docker can sometimes cause ownership issues if not properly configured in your docker-compose.yml, I just added an alias to ~/.zshrc to rectify that.
-edit-
Only run this script in your user owned directories, e.g. anything from ~/ (or /home/) you might otherwise cause ownership issues for your system.
balsoft
in reply to als • • •I also often use
And finally some Nix things:
Bo7a
in reply to als • • •hallettj
in reply to Bo7a • • •That's a helpful one! I also add a function that creates a tmp directory, and cds to it which I frequently use to open a scratch space. I use it a lot for unpacking tar files, but for other stuff too.
(These are nushell functions)
Daniel Quinn
in reply to als • • •I have a few interesting ones.
Download a video:
Execute the previous command as root:
Delete all the Docker things. I do this surprisingly often:
This is a handy one for detecting a hard link
I run this one pretty much every day. Regardless of the distro I'm using, it Updates All The Things:
I maintain an aliases file in GitLab with all the stuff I have in my environment if anyone is curious.
dotfiles/.bash_aliases · master · Daniel Quinn / Handy Scripts · GitLab
GitLabgolden_zealot
in reply to Daniel Quinn • • •Fun fact if you are using bash,
!!
will evaluate to the previous command, so if you miss sudo on some long command, you can also just dosudo !!
.jwt
in reply to golden_zealot • • •XXIC3CXSTL3Z
in reply to als • • •Ooooou I got a couple :3
This one is just a basic mirror fixing thing cuz sometimes I go a while without updating pacman:
This function I made to create virtual audio sinks so I can route audios via qpw and play earrape into discord calls if I want XD
Simple parser function I made that makes a whole repo using my git key so it's not just locally created I kinda forgot why I made it tbh:
Awesome mpv function I made that allows for real time pitch+speed shifting via hotkeys and is flexible with extra parameters and shit:
Automatic audio router for firefox audio streams that uses the aforementioned create_sink function to make a specific sink that I can use carla on to mix and make cool shit out of haha
hobbsc
in reply to als • • •alias fucking='sudo'
(my coworkers often usedprettyplease
instead)harsh3466
in reply to als • • •I have a bunch of the server aliases. I use those and gl the most.
torgeir
in reply to harsh3466 • • •harsh3466
in reply to torgeir • • •jwt
in reply to harsh3466 • • •harsh3466
in reply to jwt • • •~/.ssh/config
. I just got tired of typingssh server
and wanted the be able to just typeserver
to ssh in.jwt
in reply to harsh3466 • • •in my .bash_aliases to parse the ~/.ssh/config file and cut off the 'ssh ' part automatically for every Host I have in there.
harsh3466
in reply to jwt • • •bash_aliases
so much more elegant than me adding the alias for each server.golden_zealot
in reply to als • • •alias clip='xclip -selection clipboard'
When you pipe to this, for example
ls | clip
, it will stick the output of the command ran into the clipboard without needing to manually copy the output.mmmm
in reply to golden_zealot • • •I use a KDE variant of this that uses klipper instead (whatever you pipe to this will be available in klipper):
` #!/bin/sh
vortexal
in reply to als • • •thingsiplay
in reply to vortexal • • •For the newer version of program, that's why we have the $PATH. You put your program into one of the directories that is in your $PATH variable, then you can access your script or program from any of these like a regular program. Check the directories with
echo "$PATH" | tr ':' '\n'
My custom scripts and programs directory is "~/.local/bin", but it has to be in the $PATH variable too. Every program and script i put there can be run like any other program. You don't even need an alias for this specific program in example.
vithigar
in reply to vortexal • • •Nuget is a the .NET package manager. Like npm or pip, but for .NET projects.
If you needed it for a published application that strikes me as fairly strange.
vortexal
in reply to vithigar • • •I looked through my bash history and it looks like I needed it to build an Xbox eeprom editor for Xemu. Xemu doesn't (or at least didn't, I haven't used newer versions yet) have a built in eeprom editor and editing the Xbox eeprom is required for enabling both wide screen and higher resolutions for the games that support them natively.
I just looked at Xemu's documentation, and it looks like they've added a link to an online eeprom editor, so the editor I used (which they do still link to) is no longer required.
vithigar
in reply to vortexal • • •pyr0ball
in reply to als • • •github.com/pyr0ball/PRbL-bashr…
GitHub - pyr0ball/PRbL-bashrc: Automated installer for PRbL and bashrc modifications
GitHubStubb
in reply to als • • •I used this a lot when I had to deal with CSV files — it simply shows the data in a nice format. It's an alias for the fish shell by the way.
hallettj
in reply to als • • •DarkSirrush
in reply to als • • •I have a few:
3 scripts that are just docker compose up/down/pull, as scripts (remind me in 6 hours and I will post the scripts) so that it will CD to my compose folder, execute the command (with option for naming specific containers or blank for all) and then CD back to the directory I started in.
spv.sh
in reply to als • • •also a couple to easily power on/off my 4g modem
kittenroar
in reply to als • • •here we go:
dedup:
this removes duplicate lines, preserving line order
iter:
This executes a command for each line. It can also be used to compare two directories, ie:
fadeout:
lbn:
This plays "layered brown noise" by crysknife. It's a great sleep aid.
here are some aliases:
thingsiplay
in reply to als • • •JTskulk
in reply to als • • •Hey OP, consider using $XDG_RUNTIME_DIR instead of /tmp. It's now the more proper place for these kinds of things to avoid permission issues, although I'm sure you're on a single user system like most people. I have clipboard actions set to download with yt-dlp 😀
My favorite aliases are:
alias dff='findmnt -D -t nosquashfs,notmpfs,nodevtmpfs,nofuse.portal,nocifs,nofuse.kio-fuse'
alias lt='ls -t | less'
some_guy
in reply to als • • •alias f='open -a Finder .'
data1701d (He/Him)
in reply to als • • •I use Clevis to auto-unlock my encrypted root partition with my TPM; this means when my boot partition is updated (E.G a kernel update), I have to update the PCR register values in my TPM. I do it with my little script
/usr/bin/update_pcr
:I run it with sudo and this handles it for me. The only issue is I can't regenerate the binding immediately after the update; I have to reboot, manually enter my password to decrypt the drive, and then do it.
Now, if I were really fancy and could get it to correctly update the TPM binding immediately after the update, I would have something like an apt package shim with a hook that does it seamlessly. Honestly, I'm surprised that distributions haven't developed robust support for this; the technology is clearly available (I'm using it), but no one seems to have made a user-friendly way for the common user to have TPM encryption in the installer.
SkaveRat
in reply to als • • •Not exactly a single script, but I use scm breeze for git stuff. Has a ton of QoL features for working with git
github.com/scmbreeze/scm_breez…
GitHub - scmbreeze/scm_breeze: Adds numbered shortcuts to the output git status, and much more
GitHubjsomae
in reply to als • • •I wrote a script called
please
. You inputplease
followed by any other command (e.g.please git clone
,please wget blahblah
) and a robotic voice will say "affirmative," then the command will run, and when it completes, the robotic voice reads out the exit code (e.g. "completed successfully" or "failed with status 1" etc.)This is useful for when you have a command that takes a long time and you want to be alerted when it's finished. And it's a gentleman.
MangoCats
in reply to als • • •I have a collection of about 8 machines around the house (a lot of Raspberry Pi) that I ssh around to from various points.
I have setup scripts named: ssp1 ssp2 ssba ss2p etc. to ssh into the various machines, and of course shared public ssh keys among them to skip the password prompt. So, yes, once you are "in" one machine in my network, if you know this, you are "in" all of them, but... it's bloody convenient.
randy
in reply to MangoCats • • •~/.ssh/config
with lines like this:Then access with
ssh p1
. Slightly more typing, but avoids adding more commands to your $PATH. Also has the benefit of letting you use the same alias with other ssh-related commands like sftp.SuperiorOne
in reply to als • • •mavu
in reply to als • • •alias fuck='sudo $(history -p \!\!)'
Caveman
in reply to als • • •g-push
starman
in reply to als • • •Technically not an alias, because I just use nushell's history + autocompletion everytime I use it, but one could alias it. I think I might even write a custom command for it, with
path
argument, some day. Anyway, here it goes:rsync -aPh -e "ssh -p 2222" test@172.16.0.86:/storage/emulated/0/PicturesArchive/ ~/PicturesArchive/
I run an ssh daemon on my phone, and use this snippet to back up my photos.
questionAsker
in reply to als • • •melimosa
in reply to als • • •Here is an example :
I also do some X application, compositor and WM development, and I have a few aliases to simplify tasks like copying from an Xorg session to an Xnest (and the other way around), or reload the
xrandr
command from my.xinitrc
without duplicating it.I have an alias for using MPV+yt-dlp with my firefox cookies :
I can't stand too long lines of text on my monitor, particularly when reading manpages, so I set the MANWIDTH env variable.
I use null-pointers a lot, with a shorthand.
The usual fake editor in my path, so that browsers and other applications open Vim the correct way.
My
.xinitrc
is quite classical, I still have this in it (setup for dwm's title bar, people usually install much complicated programs) :I also have a lot of stupid scripts for server and desktop maintenance, disks cleaning etc... those are handy but are also very site-specific, let me know if your interested.