Skip to content

Instantly share code, notes, and snippets.

View pedrolopesme's full-sized avatar
💡
Coding.

Pedro Mendes pedrolopesme

💡
Coding.
View GitHub Profile
@pedrolopesme
pedrolopesme / docker_image_versions.sh
Last active March 6, 2017 18:55
Listing all docker image versions available from a specific repo
# BASIC COMMAND
$ wget -q https://registry.hub.docker.com/v1/repositories/<USER>/<IMAGE>/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}'
# EXAMPLE: LISTING ALL JBOSS IMAGES
$ wget -q https://registry.hub.docker.com/v1/repositories/jboss/wildfly/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}'
# OUTPUTS :
latest
10.0.0.Final
10.1.0.Final
@ake-persson
ake-persson / gist:ca29cca70f0b458aee4d
Last active January 28, 2022 17:43
Homebrew Formula for a Go app

Homebrew Formula for a Go app

These are quick notes from making my own Formula and Tap.

Add go build script to your Git repo

gobuild.sh

#!/bin/bash
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active April 22, 2024 01:47
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k