Skip to content

Instantly share code, notes, and snippets.

View yves-vogl's full-sized avatar
💭
🤘

Yves Vogl yves-vogl

💭
🤘
View GitHub Profile
@jehiah
jehiah / simple_args_parsing.sh
Created March 4, 2011 16:56
a simple way to parse shell script arguments
#!/bin/sh
#
# a simple way to parse shell script arguments
#
# please edit and use to your hearts content
#
ENVIRONMENT="dev"
@combatpoodle
combatpoodle / ks.cfg
Created October 14, 2015 20:45
RHEL7 kickstart
# Base settings install
# Zero everything out...
zerombr
clearpart --all --initlabel
# Generic boot settings...
cdrom
lang en_US.UTF-8
keyboard 'us'
@sfwn
sfwn / 0 gc-step.md
Last active June 7, 2023 13:06
docker registry cleanup script : just reserve most recently 5 images per repo

you need jq first.

Steps:

  1. download the script && chmod +x
  2. enable "delete" inside docker registry container
/etc/docker/registry/config.yml

storage:
 delete: