All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
vggonz's Avatar

vggonz / clean_old_snaps.sh

0 likes
0 forks
1 files
Last active 1750770723
1 #!/bin/bash
2 # Delete old snap versions to free disk space
3 # If your locale is not spanish replace "desactivado" with "disabled" or needed
4 # Run with sudo
5 snap list --all | while read snapname ver rev trk pub notes; do if [[ $notes = *desactivado* ]]; then sudo snap remove "$snapname" --revision="$rev"; fi; done
vggonz's Avatar

vggonz / chromecast.sh

0 likes
0 forks
1 files
Last active 1750770777
1 #!/bin/bash
2 # Send Youtube videos and Twitch streamings to Chromecast
3 # Install packages yt-dlp and vlc
4 # Use like ./chromecash.sh https://www.twitch.tv/angrodtralari
5 yt-dlp "$1" -o - 2>/dev/null | cvlc --sout "#chromecast" --sout-chromecast-ip="`dig +short Chromecast.lan`" -
Newer Older

Powered by Opengist ⋅ Load: 91ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文