Giter Site home page Giter Site logo

toolbox's Introduction

erdii's toolbox

This is an assortment of niche use-case tools that I wrote for myself.

If you want to use one of the tools for yourself you can install a tool directly from the main branch like this: go install github.com/erdii/toolbox/cmd/<toolname>@main.

tools

imagehash2tags

imagehash2tags resolves a docker image reference with a hash to all the tags in the repository pointing to it. Beware: Due to how the registry/v2 api work, this will be very slow on repos with a lot of images.

As an example, running imagehash2tags quay.io/app-sre/package-operator-manager@sha256:bc252a6bbb96bd98b505b3f7d66e934580ab8a0f0cbb3b93a1f8af9f52452a03 will output:

Image: `quay.io/app-sre/package-operator-manager@sha256:bc252a6bbb96bd98b505b3f7d66e934580ab8a0f0cbb3b93a1f8af9f52452a03`.
Looking up tags...
Found these tags matching hash `sha256:bc252a6bbb96bd98b505b3f7d66e934580ab8a0f0cbb3b93a1f8af9f52452a03`:
978fabf
imagehash2tags quay.io/app-sre/package-operator-manager@sha256:bc252a6bbb96bd98b505b3f7d66e934580ab8a0f0cbb3b93a1f8af9f52452a03

keep

keep repeatedly runs and restarts a long-running command. An example that I use very often: keep kubectl logs -f -n package-operator-system deployments/package-operator-manager

extract-image

extract-image extracts the combined filesystem of all layers in a docker image tarball exported by docker save or podman save.

workday-excel-to-ical

I don't want to talk about it ๐Ÿ˜…

toolbox's People

Contributors

erdii avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.