Skip to content

Instantly share code, notes, and snippets.

View thluiz's full-sized avatar

Thiago Luiz Silva thluiz

View GitHub Profile
@thluiz
thluiz / setup-zsh.sh
Created June 11, 2026 15:50
Reproducible zsh + oh-my-posh setup (Ubuntu/WSL) — oh-my-zsh, plugins, eza, fzf, embedded theme
#!/usr/bin/env bash
# =============================================================================
# setup-zsh.sh — reproducible zsh environment for Ubuntu/Debian (incl. WSL)
# =============================================================================
#
# WHAT IT SETS UP
# • zsh + oh-my-zsh (framework, plugins, completions)
# • oh-my-posh prompt rendering the embedded "thluiz" theme
# • plugins: git, z, fzf, zsh-autosuggestions, zsh-syntax-highlighting
# • eza + fzf binaries (user-local, no sudo)
@thluiz
thluiz / winget-basic-packages.ps1
Last active July 19, 2025 22:05
Winget Minimal Packages
winget install nordvpn Bitwarden.Bitwarden Obsidian.Obsidian Microsoft.VisualStudioCode Schniz.fnm Beeper.Beeper JanDeDobbeleer.OhMyPosh Microsoft.PowerToys 7zip.7zip Hugo.Hugo.Extended Inkscape.Inkscape GIMP.GIMP.3 dotPDN.PaintDotNet Spotify.Spotify Evolus.Pencil IrfanSkiljan.IrfanView IrfanSkiljan.IrfanView.PlugIns KDE.Krita WinDirStat.WinDirStat Ngrok.Ngrok StefansTools.grepWin WinMerge.WinMerge vim.vim Microsoft.SQLServerManagementStudio Microsoft.PowerShell Microsoft.Sysinternals.ProcessExplorer StefansTools.grepWin discord.discord Microsoft.AppInstaller --accept-source-agreements --silent --accept-package-agreements
@thluiz
thluiz / userChrome.css
Created October 24, 2022 14:25
Firefox - Hide Title Bar
.tabbrowser-tab {
visibility: collapse;
}
.titlebar-button {
height: 27px !important;
}
#nav-bar {
margin-top: -42px;
margin-right: 140px;
@thluiz
thluiz / post-test-markdown-01.cs
Last active April 16, 2022 13:05
Testing post markdown
namespace minimal;
public void Main()
{
Console.WriteLine("test");
}
{"version":1,"resource":"file:///c%3A/st/src/Directory.Packages.props","entries":[{"id":"cSa5.props","timestamp":1661369240480}]}
@thluiz
thluiz / profile.ps1
Created February 23, 2020 12:57
Powershell basic profile and alias
#$GitPromptSettings.DefaultPromptWriteStatusFirst = $true
#$GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`n'
#$GitPromptSettings.DefaultPromptEnableTiming = $true
#$GitPromptSettings.DefaultPromptPrefix = ""
New-Alias -Name vi -Value 'C:\Program Files (x86)\vim\vim80\vim.exe'
New-Alias -Name vim -Value 'C:\Program Files (x86)\vim\vim80\vim.exe'
# Include this if you like a vim command line experience
@thluiz
thluiz / profile.json
Last active December 18, 2021 16:36
Windows Terminal Profile
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [],
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"profiles":
{
"defaults":
{
"font":
@thluiz
thluiz / download-images-loop.ps1
Created November 13, 2019 09:21
Powershell script for download images in a range
$wc = New-Object System.Net.WebClient
For ($i=1; $i -le 100; $i++) {
$url = "https://membros.myvtmi.im/qrcode/http/cerimonias.myvtmi.im/cerimonia-$i"
$wc.DownloadFile($url, "c:\tmp\cerimonia-$i.png")
}
@thluiz
thluiz / ChocolateyMinimalPackages.ps
Last active May 2, 2020 15:31
Chocolatey minimal packages
choco install -y irfanview 7zip.install checksum firacode slack paint.net inkscape gimp irfanview-shellextension irfanviewplugins spotify nuget.commandline soapui pencil krita windirstat ngrok
choco install -y archive archiver grepwin procexp winmerge vim bat powertoys evernote nodejs.install audacity zoom-client powershell-core sql-server-management-studio zoomit visualstudio2019community
choco install visualstudiocode-insiders --pre -y
{"lastUpload":"2021-07-10T03:58:02.482Z","extensionVersion":"v3.4.3"}