Pass is a great command line tool to handle your password, as well in a team.
Add the key into your local GPG base:
$ gpg --keyserver <a specific key server if needed> --search-keys <email address>
Pass is a great command line tool to handle your password, as well in a team.
Add the key into your local GPG base:
$ gpg --keyserver <a specific key server if needed> --search-keys <email address>
| job "docs" { | |
| datacenters = ["racobro"] | |
| group "example" { | |
| network { | |
| port "http" { | |
| static = "5678" | |
| } | |
| } | |
| task "server" { | 
| for i in $( ls *.JPG ); do exiv2 -v -r '%Y-%m-%d_%Hh%M%m%S' rename "$i"; done | |
| for i in $( ls *.JPG ); do mv $i ${i%%.JPG}.jpg; done | 
| package httpapi.authorization.project | |
| import input | |
| # Very important!, default to deny! | |
| default allow_reading = false | |
| default allow_editing = false | |
| default allow_processing = false | |
| role_allow_processing = {"MANAGER", "OWNER"} | 
| # Option 1 | |
| find . -printf '%p\n' -name '*.pdf' -exec ocrmypdf '{}' '{}' \; | |
| # Option 2 | |
| for f in *; do echo $f; ocrmypdf -l fra $f $f; done | 
| git log --pretty=oneline --abbrev-commit master..staging | 
| exiv2 -PXkyct $* | 
| FROM ubuntu:21.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update \ | |
| && apt-get install -y \ | |
| # Tools for the pyenv installer script | |
| curl \ | |
| git \ | |
| # Tools to build python from source | 
To run terraform via a container while providing the aws-vault env variables:
docker run --rm \
    -v `pwd`:/workspace \
    -w /workspace/terraform \
    --env-file <(aws-vault exec default -- env | grep AWS) \
    --env TF_WORKSPACE=production \
    hashicorp/terraform:1.1.6 \
    init/plan/apply