Skip to content

Instantly share code, notes, and snippets.

View builtroller's full-sized avatar

James Roller, Jr. builtroller

  • Built Technologies
  • 09:27 (UTC -07:00)
View GitHub Profile
@builtroller
builtroller / Makefile
Last active April 7, 2022 20:19
ECR Login with Makefile
# map bp/dev to aws account id
aws_account ?= bp
aws_account_dev := 111111111111
aws_account_bp := 222222222222
aws_account_id := $(aws_account_$(aws_account))
region ?= $(AWS_DEFAULT_REGION)
ecr_login:
aws ecr get-login-password --region $(region) | \
@builtroller
builtroller / private_fork.md
Created April 6, 2022 17:14 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@builtroller
builtroller / json_to_yaml.md
Last active November 11, 2021 22:43
convert json response to yaml

Setup

Format JSON

Format JSON in VSCode (example.json)

  • select one single quote
  • <CMD>+<SHIFT>+L
  • type double quote
  • <RT-CLICK> => Format Document

Install yq