Installation:
git clone --depth 1 https://github.com/dagelf/utils dagelf-utils || (wget https://github.com/dagelf/utils/archive/master.zip -O dagelf-utils.zip && unzip dagelf-utils.zip && mv utils-master dagelf-utils) || (curl https://github.com/dagelf/utils/archive/master.zip > dagelf-utils.zip && unzip dagelf-utils && mv utils-master dagelf-utils)
dagelf-utils/install.sh
Notes:
Don't run scripts from the internet without making very sure you check what they will do and that you understand them!
This repository is me sharing all my helper functions, defaults and utilities in one place, and also me finding my feet with a comfortable sharing workflow.
Some utilities are curated, some created, some vetted, some not. I have yet to work out a way to tag- and keep them up to date. Some are made redundant by upgrades to the tools they manage... maybe someday most of them will... until then, this is my band-aid. Contributions welcome.
List all tags for a Docker image on docker hub.
List all tags for ubuntu:
dockertags ubuntu
List all php tags containing apache:
dockertags php apache
List all mariadb tags in one line:
echo `dockertags mariadb`
dependencies: wget, awk
source: stackoverflow: How do you list all tags for a Docker image on a remote registry?
Github helper utilities
Changes current git repo source url from ssh to https
github-tohttps
Changes current git repo source url from https to ssh
github-tossh
dependency: git
source: icyflame gist
coming soon(TM): ssh_config, .screenrc