Skip to content

Instantly share code, notes, and snippets.

@stefjow
stefjow / clock_khal.py
Created April 4, 2026 14:04
Waybar khal calendar integration
#!/usr/bin/env python3
import json
import os
import pty
import re
import select
import subprocess
from datetime import datetime
@jansanchez
jansanchez / gist:f7a9d5c87bb730f189a0
Last active April 15, 2025 00:32
Agregar caracteres al inicio y al final de cada archivo en VIM

agrega +" al inicio de cada linea

%s/^/\+"/g

agrega \n" al final de cada linea

%s/$/\\n"/g