Instantly share code, notes, and snippets.
Direction is more important than speed!
Full Stack Developer and Systems Analysis and Development Student | Building for the Web with React, VitePress, PHP, and Python
gabriersdev
/ vs-code-settings.json
Created
August 26, 2025 18:13
This file contains hidden or 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
| { | |
| "sqltools.connections": [], | |
| "workbench.colorTheme": "Visual Studio 2019 Light", | |
| "editor.tabSize": 2, | |
| "liveServer.settings.donotShowInfoMsg": true, | |
| "[python]": { | |
| "editor.formatOnType": true | |
| }, | |
| "workbench.iconTheme": "vscode-icons", | |
| "console-ninja.toolsToEnableSupportAutomaticallyFor": { |
This file contains hidden or 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
| # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
| # Arquivo .gitignore generico para projetos Java com Maven e Spring Boot. | |
| # Compativel com IntelliJ, Eclipse e VS Code. | |
| # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
| ### Arquivos de Log e Temporarios ### | |
| *.log | |
| *.tmp | |
| *.temp |
This file contains hidden or 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
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | |
| # dependencies | |
| /node_modules | |
| /.pnp | |
| .pnp.* | |
| .yarn/* | |
| !.yarn/patches | |
| !.yarn/plugins | |
| !.yarn/releases |
This file contains hidden or 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
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | |
| # dependencies | |
| /node_modules | |
| /.pnp | |
| .pnp.* | |
| .yarn/* | |
| !.yarn/patches | |
| !.yarn/plugins | |
| !.yarn/releases |
gabriersdev
/ count-write-lines-git-project.sh
Last active
August 27, 2025 16:00
This file contains hidden or 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
| git log --numstat --pretty="%H" | awk '$1 ~ /^[0-9]+$/ && $2 ~ /^[0-9]+$/ {add += $1; subs += $2} END {print "Adicoes:", add, "Remocoes:", subs, "Total:", add - subs}' |
This file contains hidden or 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
| # Arquivos compilados do Python | |
| __pycache__/ | |
| *.py[cod] | |
| *$py.class | |
| # Ambientes virtuais | |
| venv/ | |
| env/ | |
| .virtualenv/ |
This file contains hidden or 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
| import { defineConfig } from 'vitepress' | |
| // https://vitepress.dev/reference/site-config | |
| export default defineConfig({ | |
| // https://vitepress.dev/reference/default-theme-config | |
| lang: 'pt-BR', | |
| base: "/url-base/", | |
| title: "", | |
| description: "", | |
| // head: [['link', { rel: 'icon', href: 'favicon.ico' }]], |
This file contains hidden or 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
| # Save in .github/workflows/ | |
| # Exemplo de fluxo de trabalho para compilar e implantar um site VitePress no GitHub Pages | |
| # | |
| name: Deploy Vitepress Site | |
| on: | |
| # Executa em pushes direcionados a branch `main`. | |
| # Altere para `master` se estiver usando a branch `master` como padrao. | |
| push: | |
| branches: [master] |
This file contains hidden or 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
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | |
| # dependencies | |
| /node_modules | |
| /.pnp | |
| .pnp.* | |
| .yarn/* | |
| !.yarn/patches | |
| !.yarn/plugins | |
| !.yarn/releases |
gabriersdev
/ fortrek-m7-pro-config.ini
Created
June 1, 2024 16:42
Arquivo de configuracao inicial personalizada para o software do mouse Fortrek M7 Pro. Para alterar para default e necessario ir no diretorio que o programa usa e trocar o arquivo config.ini pelo arquivo abaixo, devendo ser renomeado para config.ini.
This file contains hidden or 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
| [Init]1 | |
| VER_SEL=0 | |
| CurConfig=1 | |
| [Config1] | |
| K0=1 | |
| K1=2 | |
| K2=3 | |
| K3=5 | |
| K4=4 |
NewerOlder