Dark Mode

Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Direction is more important than speed!

Gabriel Ribeiro gabriersdev

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
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 / java.gitignore
Created August 2, 2025 16:41
Git Ignore para projetos Java
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# 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
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 / 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 "Adicoes:", add, "Remocoes:", subs, "Total:", add - subs}'
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 / 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 / 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 a branch `main`.
# Altere para `master` se estiver usando a branch `master` como padrao.
push:
branches: [master]
gabriersdev / .gitignore
Last active August 4, 2025 00:27
Padrao 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 / 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.
[Init]1
VER_SEL=0
CurConfig=1
[Config1]
K0=1
K1=2
K2=3
K3=5
K4=4
NewerOlder