Skip to content

Instantly share code, notes, and snippets.

@shykes
shykes / dev.sh
Last active August 7, 2019 15:06
#!/bin/bash
set -ex
update() {
mkdir -p ~/bin
curl -L -o ~/bin/dev.sh https://gist.githubusercontent.com/shykes/7bf0704be14a0a9288d7dfe98617c208/raw/dev.sh
chmod +x ~/bin/dev.sh
}
@shykes
shykes / dagger-dependency-jam.cue
Created November 9, 2021 17:53
Looking for clean dependency API with Guillaume
registryURL: string
runRegistry: docker.#Run & {
args: ["registry", "-h", registryURL] // bla bla
// Wait for registry port to be available
hooks: post: waitRegistry: {
args: """
while true; do
curl -L -S "localhost:foo" && exit
sleep 1