Skip to content

Instantly share code, notes, and snippets.

@FernandoJunior7
FernandoJunior7 / settings.json
Created June 1, 2025 02:56
configurações do VS Code
{
"breadcrumbs.enabled": false,
"cSpell.language": "en,pt",
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.accessibilitySupport": "off",
"editor.fontFamily": "JetBrains Mono",
"editor.fontLigatures": true,
"editor.fontSize": 16,
"editor.hideCursorInOverviewRuler": true,
"editor.lineHeight": 1.8,
@FernandoJunior7
FernandoJunior7 / config
Last active May 26, 2025 23:02
Configuration for using two ssh keys on github
Host ghp
HostName github.com
User git
AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519_personal
IdentitiesOnly yes
Host ghu
HostName github.com
User git
@FernandoJunior7
FernandoJunior7 / pre-commit
Created May 17, 2025 14:13
Pre-commit hook to avoid sending commit without user.name or user.email configured
#!/bin/sh
# Check for user.name
USER_NAME=$(git config user.name)
if [ -z "$USER_NAME" ]; then
echo "Error: Git user.name is not set!"
exit 1
fi
# Check for user.email
@FernandoJunior7
FernandoJunior7 / starship.toml
Created May 17, 2025 14:09
Starship custom configuration using dracula theme
palette = "dracula"
[aws]
symbol = " "
[buf]
symbol = " "
[bun]
symbol = " "
@FernandoJunior7
FernandoJunior7 / wezterm.lua
Created May 17, 2025 14:07
Wezterm custom settings using dracula theme
local wezterm = require 'wezterm'
local config = {}
config.color_scheme = "Dracula (Official)"
config.font = wezterm.font 'JetBrainsMono Nerd Font'
config.font_size = 16.0
config.tab_bar_at_bottom = true
config.use_fancy_tab_bar = false
config.window_decorations = "RESIZE"
return config
@FernandoJunior7
FernandoJunior7 / dracula.toml
Created May 17, 2025 14:04
Dracula theme for wezterm terminal
[colors]
ansi = [
'#21222c',
'#ff5555',
'#50fa7b',
'#f1fa8c',
'#bd93f9',
'#ff79c6',
'#8be9fd',
'#f8f8f2',