Skip to content

Instantly share code, notes, and snippets.

@Eliastik
Eliastik / check-updates-docker.sh
Last active March 25, 2024 14:46
This script checks for updates of the images for current installed Docker containers.
#!/bin/bash
# Filename: check-updates-docker.sh
#
# Author: Eliastik ( eliastiksofts.com/contact )
# Version 1.2.1 (25 march 2024) - Eliastik
#
# Description: This script checks for updates of the images for current installed Docker containers.
# This script doesn't need root access as long as you are running the Docker daemon in rootless mode
# or you followed the "Manage Docker as a non-root user" in the Docker documentation: https://docs.docker.com/engine/install/linux-postinstall/
@Eliastik
Eliastik / update-icon-snap.sh
Last active May 22, 2022 10:29
Updates the snapd desktop files of the installed Snap applications to use the system icons instead of the bundled ones. The Snap applications icons are usually stored into /snap/[Application Name]/[Number]/[Path to the icon file]. This script replace this path with [Application Name] only in the desktop file to use the system icon. This script n…
#!/bin/bash
# Filename: update-icon-snap.sh
#
# Author: Eliastik ( eliastiksofts.com/contact )
# Version 1.1 (22 may 2022) - Eliastik
#
# Changelog:
#
# Version 1.1 (22 may 2022):
@Eliastik
Eliastik / update-hosts.sh
Last active January 18, 2024 16:10 — forked from glesica/update-hosts.sh
A quick shell script that will automatically update a Linux HOSTS file to block domains (ads, malwares, ...). Support multiple hosts sources, initial host file and incorrect/malicious entries checking.
#!/bin/bash
# Filename: update-hosts.sh
#
# Author: George Lesica <george@lesica.com>
# Enhanced by Eliastik ( eliastiksofts.com/contact )
# Version 1.3 (22 april 2021) - Eliastik
#
# Description: Replaces the HOSTS file with hosts lists from Internet,
# creating a backup of the old file. Can be used as an update script.