- Login to AWS account
aws-vault exec <PROFILE_NAME>
- List contexts
kubectl config get-contexts
aws-vault exec <PROFILE_NAME>
kubectl config get-contexts
psql -At \ | |
postgresql://HOST_NAME:PORT/DATABASE \ | |
-U USERNAME \ | |
-c "SELECT NOW()" |
# Data and structure dump | |
pg_dump \ | |
--no-owner \ | |
--no-acl \ | |
-h DB_HOST \ | |
-p DB_PORT \ | |
-U DB_USERNAME \ | |
-n DB_SCHEMA \ | |
DB_NAME \ |
import { prettyDOM, render } from '@testing-library/react'; | |
it('should...', async () => { | |
const { container } = render(<MyComponent />); | |
console.log(prettyDOM(container)); | |
}); |
# Build Docker image | |
docker-buildx build \ | |
-t REPOSITORY_NAME/TAG_NAME:VERSION \ | |
--platform linux/amd64 \ | |
. | |
# Build Docker image from specific Dockerfile | |
docker-buildx build \ | |
-t REPOSITORY_NAME/TAG_NAME:VERSION \ | |
--platform linux/amd64 \ |
# ---------------------- | |
# Git Aliases | |
# ---------------------- | |
# git add | |
alias ga='git add' | |
alias gaa='git add .' | |
alias gaaa='git add --all' | |
alias gau='git add --update' |
### Keybase proof | |
I hereby claim: | |
* I am cweckesser on github. | |
* I am carlosweckesser (https://keybase.io/carlosweckesser) on keybase. | |
* I have a public key ASBelA6gFNAqZL-I8k3wBRbf-gNtJ-6hTb037Lw8mXfP1Ao | |
To claim this, I am signing this object: |