- install Tampermonkey
- Click here
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Prepare WSL and Windows to run X applications | |
# Install on Windows: https://sourceforge.net/projects/vcxsrv/ | |
WIN_USER_PROFILE=$(wslpath $(/mnt/c/Windows/System32/cmd.exe /C "echo %USERPROFILE%" | tr -d '\r\n')) | |
echo '[wsl2] | |
memory=4GB | |
swap=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.12-alpine as builder | |
ARG VERSION=2.3.930.0 | |
RUN set -ex && apk add --no-cache make git gcc libc-dev curl bash && \ | |
curl -sLO https://github.com/aws/amazon-ssm-agent/archive/${VERSION}.tar.gz && \ | |
mkdir -p /go/src/github.com && \ | |
tar xzf ${VERSION}.tar.gz && \ | |
mv amazon-ssm-agent-${VERSION} /go/src/github.com/amazon-ssm-agent && \ | |
cd /go/src/github.com/amazon-ssm-agent && \ | |
echo ${VERSION} > VERSION && \ | |
gofmt -w agent && make checkstyle || ./Tools/bin/goimports -w agent && \ |
Neste tutorial será considerado o seguinte cenário para seus repositórios locais do Git:
- Você possui o Git 2.10.0 ou superior (detalhes abaixo).
- Seus commits sempre terão o nome
Fulano da Silva
- Seus commits em repositórios pessoais devem usar o e-mail
[email protected]
- Seus commits em repositórios do trabalho devem usar o e-mail
[email protected]
- Você possui chaves SSH diferentes para projetos pessoais e projetos do trabalho
- Tanto projetos pessoais quanto projetos do trabalho podem estar hospedados no GitHub, GitLab.com, etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
11111 a | |
11112 aa | |
11113 aaa | |
11114 aaaa | |
11115 ab | |
11116 aba | |
11121 abaco |