Skip to content

Instantly share code, notes, and snippets.

View brona90's full-sized avatar
:octocat:

Gregory Foster brona90

:octocat:
View GitHub Profile
.DEFAULT_GOAL := help
build: ## Build the Dockerfile into a container
docker compose build
run: build ## Run the docker container made from the Dockerfile
docker compose run --rm golang
help: ## Show this help
#This is a mess of code that prints a pretty help via awk TODO make this simpler
version: '3'
# Run as
# docker-compose build; docker-compose up -d
# Check with
# docker ps
# Then check the logs with
# docker logs --tail 50 $container_id
# docker-compose images
# docker-compose logs --tail 20 repo_name
@brona90
brona90 / config_setup.sh
Last active February 5, 2021 19:10
clone config for setting up new machine
curl -fsSL https://starship.rs/install.sh | bash
git clone --bare https://github.com/brona90/config.git ${HOME}/.cfg
function config {
/usr/bin/git --git-dir=${HOME}/.cfg/ --work-tree=${HOME} $@
}
config checkout master
config config status.showUntrackedFiles no
config submodule update --init --recursive &&
cd ${HOME}/.yadr &&
rake install &&

Keybase proof

I hereby claim:

  • I am brona90 on github.
  • I am brona90 (https://keybase.io/brona90) on keybase.
  • I have a public key ASAG57gmmyKc8yQggkbrlpAqoLJc0yJ7jeNgw-mjY6OiTgo

To claim this, I am signing this object: