Skip to content

Instantly share code, notes, and snippets.

View gabriersdev's full-sized avatar
🚀
Sometimes direction is more important than speed

Gabriel Ribeiro gabriersdev

🚀
Sometimes direction is more important than speed
View GitHub Profile
{
"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": {
@gabriersdev
gabriersdev / java.gitignore
Created August 2, 2025 16:41
Git Ignore para projetos Java
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Arquivo .gitignore genérico para projetos Java com Maven e Spring Boot.
# Compatível com IntelliJ, Eclipse e VS Code.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
### Arquivos de Log e Temporários ###
*.log
*.tmp
*.temp
@gabriersdev
gabriersdev / wordpress.php.gitignore
Created June 2, 2025 23:46
Git Ignore para Wordpress - PHP
# 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
gabriersdev / php.gitignore
Last active August 2, 2025 16:41
Git Ignore para PHP
# 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
git log --numstat --pretty="%H" | awk '$1 ~ /^[0-9]+$/ && $2 ~ /^[0-9]+$/ {add += $1; subs += $2} END {print "Adições:", add, "Remoções:", subs, "Total:", add - subs}'
@gabriersdev
gabriersdev / py.gitignore
Created March 13, 2025 18:52
Git Ignore para Python
# Arquivos compilados do Python
__pycache__/
*.py[cod]
*$py.class
# Ambientes virtuais
venv/
env/
.virtualenv/
@gabriersdev
gabriersdev / config.mjs
Created October 5, 2024 21:35
Vitepress config
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' }]],
@gabriersdev
gabriersdev / deploy.yml
Last active October 9, 2024 18:48
Deploy using Vitepress
# 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 à branch `main`.
# Altere para `master` se estiver usando a branch `master` como padrão.
push:
branches: [master]
@gabriersdev
gabriersdev / .gitignore
Last active August 4, 2025 00:27
Padrão para o arquivo .gitignore
# 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
gabriersdev / fortrek-m7-pro-config.ini
Created June 1, 2024 16:42
Arquivo de configuração inicial personalizada para o software do mouse Fortrek M7 Pro. Para alterar para default é necessário ir no diretório que o programa usa e trocar o arquivo config.ini pelo arquivo abaixo, devendo ser renomeado para config.ini.
[Init]1
VER_SEL=0
CurConfig=1
[Config1]
K0=1
K1=2
K2=3
K3=5
K4=4