Skip to content

Instantly share code, notes, and snippets.

View michaelsproul's full-sized avatar

Michael Sproul michaelsproul

View GitHub Profile
@paulhauner
paulhauner / gist:2791c44cac848b23dbb95a30c4f09453
Created April 18, 2023 02:27
retag-lighthouse-docker-images.fish
# This fish script will re-tag all the $SRC_TAG_PREFIX images with the
# $DEST_TAG_PREFIX and push those images to Dockerhub.
#
# This script is specifically designed for the github.com/sigp/lighthouse
# repos, as they exist in April 2023.
#
# Be sure to double check the images after you've pushed them, especially the
# mainfests. I ran this script twice because I kept pulling outdated manifests,
# I'm not sure if that's a caching issue or if the script needs to be run
# twice. Running it twice shouldn't hurt.
@kmcallister
kmcallister / gist:c9ae9b977a7718376c7f
Last active August 29, 2015 14:12
Macros migration

With Rust 1.0-alpha, the macro reform RFC is mostly implemented. This document gives a quick guide to migrating your code.

Macro syntax

#[macro_use] extern crate

A macro import such as