Skip to content

Instantly share code, notes, and snippets.

@unusedPhD
unusedPhD / ecr-docker-login
Created November 23, 2017 12:38
Use cgswong/aws docker image to login to aws ecr. Useful when awscli is not installed.
eval $(docker run --rm \
-e AWS_ACCESS_KEY_ID=$aws_access_key_id\
-e AWS_SECRET_ACCESS_KEY=$aws_secret_access_key \
-e AWS_DEFAULT_REGION=ca-central-1 \
cgswong/aws aws ecr --no-include-email get-login)
@unusedPhD
unusedPhD / gist:d3b1cd9ef954b60ac4f62a0d2a91a051
Created November 16, 2018 14:24
pyenv compiling new version with macos mojave
CFLAGS="-I$(brew --prefix readline)/include -I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include" \
LDFLAGS="-L$(brew --prefix readline)/lib -L$(brew --prefix openssl)/lib" \
PYTHON_CONFIGURE_OPTS=--enable-unicode=ucs2 \
pyenv install -v 3.6.0
/*
Copyright 2017 Bryan Keller (https://github.com/widget-)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default