Skip to content

Instantly share code, notes, and snippets.

View botjaeger's full-sized avatar
🚩
I may be slow to respond.

Jarn botjaeger

🚩
I may be slow to respond.
  • 0.0.0.0
  • 22:39 (UTC +08:00)
View GitHub Profile
@botjaeger
botjaeger / semantic-commit-messages.md
Created September 19, 2019 01:17 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@botjaeger
botjaeger / find-ecr-image.sh
Created August 19, 2019 02:21 — forked from outofcoffee/find-ecr-image.sh
Check if Docker image exists with tag in AWS ECR
#!/usr/bin/env bash
# Example:
# ./find-ecr-image.sh foo/bar mytag
if [[ $# -lt 2 ]]; then
echo "Usage: $( basename $0 ) <repository-name> <image-tag>"
exit 1
fi
IMAGE_META="$( aws ecr describe-images --repository-name=$1 --image-ids=imageTag=$2 2> /dev/null )"
@botjaeger
botjaeger / generate-ssh-key.sh
Created July 3, 2019 03:56 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa