Skip to content

Instantly share code, notes, and snippets.

View DCaioP's full-sized avatar
🔥
Learning

Caio 👑 DCaioP

🔥
Learning
View GitHub Profile
@luizomf
luizomf / SSH_KEYS_ROTATION.md
Last active January 8, 2026 16:51
SSH key rotation guide: secure backup of ~/.ssh with 7zip (AES-256, encrypted headers), safe SSH key revocation without lockout, correct order to replace keys, behavior of active SSH sessions, authorized_keys handling, fixing broken ~/.ssh permissions, ed25519 keys, OpenSSH on Linux/macOS, real-world DevOps and server security notes. Otávio Miranda

SSH Keys Rotation

Since I record my screen a lot for videos and courses, I need to take some security measures more frequently than the average person. Because I recently recorded a few videos teaching Linux server security, I ended up showing some SSH private and public keys on screen.

There’s nothing critical here. Those were temporary keys. Still, just to be safe, I’m rotating all my SSH keys.

@diego3g
diego3g / settings.json
Last active January 19, 2026 08:06
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 16,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],
@dublado
dublado / gist:f584cdd895eb6db0b74c199d532d2ac8
Created May 25, 2017 21:33
Nomes das Tabelas do Protheus/TOTVS
Nomes das Tabelas
SX1 Manutenção de Perguntas de parametrização (movimentações, consultas e relatórios)
SX2 Manutenção dos Arquivos
SX3 Manutenção dos Campos
SX4 Configuração de Agenda de Relatórios e Processos
SX5 Manutenção de Tabelas
SX6 Manutenção de Parâmetros
SX7 Manutenção de Gatilhos de Campos (SX3)
SX9 Manutenção de Relacionamento entre Arquivos (SX2)
SXA Manutenção de Pastas Cadastrais dos Arquivos (SX2)
@nilo
nilo / gist:c2a31a0f9f29c88145ca
Created July 30, 2015 15:42
Using cedilha - ArchLinux Cinnamon
Author: Nilo Dantas - n1lo
Based on: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056 - helio-valente post
How to use Cedilha on US Keyboard on ArchLinux
1) Put: English(US, internacional with dead Keys) on your system keyboard layout.
2) Editing the files:
sudo vim /usr/lib/gtk-3.0/3.0.0/immodules.cache