Skip to content

Instantly share code, notes, and snippets.

# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = JetBrainsMonoNerdFont
font-size = 14
@ricardocuellar
ricardocuellar / fast_api_installations.md
Last active April 1, 2026 20:13
Instalaciones recomendadas para VSCode - FastAPI

Instalaciones recomendadas - Curso de FastAPI desde cero: crea APIs con Python

Django logo

Generales

  1. Instalar Python
  2. Verificar instalación de Python
    • python3 --version (Para MacOs y Linux)
    • python --version (Para Windows)

Instalar editor de código o IDE. (Elige el que más se acomode a ti)

@probonopd
probonopd / Wayland.md
Last active April 1, 2026 20:12
Think twice about Wayland. It breaks everything!

Think twice before abandoning X11. Wayland breaks everything!

tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.

Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp

🧠 Red Laboratorio de IA (RJCG)

💰 Subtotal estimado: ~US$5.245 🧩 Arquitectura: Cluster IA 10Gbps fanless silencioso


🧠 1) Nodo IA principal

NVIDIA DGX Spark

@kksudo
kksudo / vpn-instructions.md
Last active April 1, 2026 20:06
Настраиваем подключение к впн Устанавливайте только Stable версии приложений!

Настраиваем подключение к VPN

Используйте только Stable-версии приложений!

Кратко

Установите приложение для вашего устройства, импортируйте ключ (или отсканируйте QR-код) и включите подключение. Ключ или ссылку на подписку вы получаете от администратора — сами приложения лишь подключаются к серверу по этому ключу.

Для кого эта страница: шаги рассчитаны на человека без опыта настройки сетей. Непонятные слова по ходу текста поясняются.


// 64-bit popcount helper
uint CountBits(uint64_t x)
{
return countbits(uint(x)) + countbits(uint(x >> 32));
}
class TreeNode64
{
uint64_t childMask; // 64 bits: one bit per possible child (0-63)
@kazzohikaru
kazzohikaru / index.html
Created April 1, 2026 19:58
Volume + Sin Threshold
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<body></body>
</html>
@jftuga
jftuga / Getting Shift+Enter to Work in Claude Code with iTerm2 and tmux.md
Last active April 1, 2026 19:52
Getting Shift+Enter to Work in Claude Code with iTerm2 and tmux

Getting Shift+Enter to Work in Claude Code with iTerm2 and tmux

Shift+Enter in Claude Code inserts a newline without submitting your prompt—essential for writing multi-line code or complex queries. However, getting this key combination to work reliably through a terminal stack involving iTerm2 and tmux requires configuration at multiple layers.

This guide explains both the fix and the reasoning behind it.

Quick Start

If you just want it working, here's what you need: