Skip to content

Instantly share code, notes, and snippets.

View thinkricardo's full-sized avatar
🇵🇹
Coding

Ricardo Pereira thinkricardo

🇵🇹
Coding
View GitHub Profile
@thinkricardo
thinkricardo / .aliases_git.sh
Last active July 8, 2022 13:31
Git commands aliases
alias ,fetch="git fetch"
alias ,pull="git pull"
alias ,push="git push"
alias ,pushu="git push --set-upstream origin HEAD"
alias ,prune="git remote prune origin"
alias ,gone="git branch -vv | awk '/^ .*gone/{print \$1}' | xargs -r git branch -d"
alias ,undo="git reset --soft HEAD~1"
@thinkricardo
thinkricardo / settings.json
Last active November 13, 2023 17:13
My Visual Studio Code Settings
{
"window.commandCenter": true,
"window.newWindowDimensions": "inherit",
"security.workspace.trust.enabled": false,
"workbench.startupEditor": "none",
"workbench.colorTheme": "Ayu Mirage",
"workbench.iconTheme": "ayu",
@thinkricardo
thinkricardo / .prettierignore
Last active January 11, 2024 01:08
Configure prettier whitelist using .prettierignore
# ignore all files
*
# include all folders
!**/
# include files to format
!*.js
!*.json
!*.scss
@thinkricardo
thinkricardo / .editorconfig
Created September 22, 2018 19:14
Example .editorconfig
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
@thinkricardo
thinkricardo / docker-compose.yml
Created July 5, 2018 08:58
LocalStack container with S3 and persistence
localstack:
container_name: localstack1
image: localstack/localstack
environment:
- SERVICES=s3:4572
- DATA_DIR=/tmp/localstack/data
ports:
- "4572:4572"
- "8080:8080"