Skip to content

Instantly share code, notes, and snippets.

View prestwich's full-sized avatar
🈚

James Prestwich prestwich

🈚
View GitHub Profile

0x30217b1cff7c7a11cf1b36efdb4ab787e938619f88d975b1eef0bdabd1bf72da

@prestwich
prestwich / eth2.sh
Created November 15, 2022 22:58
basic Eth2 docker script
GETH_NAME=geth
GETH_IMAGE=ethereum/client-go:latest
PRYSM_NAME=prysm
PRYSM_IMAGE=gcr.io/prysmaticlabs/prysm/beacon-chain:stable
# volumes for containers
STORAGE_LOCATION=~/eth/data
GETH_STORAGE=$STORAGE_LOCATION/geth
PRYSM_STORAGE=$STORAGE_LOCATION/prysm
@prestwich
prestwich / monorepo.md
Last active November 25, 2022 17:15
How to break up a monorepo :)

How to break up a monorepo using git subtree:

  1. Set up some basic stuff:
    • These should be independent, not nested
$ NEW_REPO_PATH=
$ OLD_REPO_PATH=