Skip to content

Instantly share code, notes, and snippets.

View kyletravis's full-sized avatar

Kyle Travis kyletravis

  • Overland Park, KS
View GitHub Profile
@kyletravis
kyletravis / delete-from-v2-docker-registry.md
Created June 15, 2019 04:44 — forked from jaytaylor/delete-from-v2-docker-registry.md
One liner for deleting images from a v2 docker registry

One liner for deleting images from a v2 docker registry

Just plug in your own values for registry and repo/image name.

registry='localhost:5000'
name='my-image'
curl -v -sSL -X DELETE "http://${registry}/v2/${name}/manifests/$(
    curl -sSL -I \
        -H "Accept: application/vnd.docker.distribution.manifest.v2+json" \
@kyletravis
kyletravis / gist:f2ccece0c03d8da09a2884bc009d85d3
Created November 2, 2016 12:00 — forked from sunggun-yu/gist:4416430
Install NMON - CentOS 64bit
# Get Root
sudo su
# Download NMON archive
cd /tmp
wget http://nmon.sourceforge.net/docs/MPG_nmon_for_Linux_14a_binaries.zip
# Install unzip if you don't have
yum install unzip
@kyletravis
kyletravis / gist:ab239dd5a324ead8371a874203a4c8cc
Created August 24, 2016 19:38
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after