Skip to content

Instantly share code, notes, and snippets.

@nseba
nseba / xterm-ghostty-terminal-type.md
Created June 4, 2026 08:28
Fixing `'xterm-ghostty': unknown terminal type` over SSH

Fixing 'xterm-ghostty': unknown terminal type over SSH

When connecting to a remote host with Ghostty, commands like clear, tmux, or less may fail with:

'xterm-ghostty': unknown terminal type.

This happens because the remote host doesn't have Ghostty's terminfo entry. Here are

@cre0z
cre0z / README.md
Created October 16, 2025 21:15
Downgrade macOS without an external USB drive or losing files

How to downgrade macOS without an external USB drive or losing important files

Because f*ck you Apple, you never release stable software!

Step 1: Partition the disk

Open Disk Utility, click on your internal disk volume and click on "Partition": Disk Utility

Next, click on the plus button to create a new partition, set its size to 16GB and format to "Mac OS Extended (Journaled)". We'll use this partition to store the installer. This process may take some time, and your system might appear frozen or unresponsive during the process. This behavior is normal and the partitioning will finish generally in a couple of minutes.

@Klerith
Klerith / claudecode-instalacion.md
Last active December 3, 2026 19:28
Instalaciones recomendadas para el curso de ClaudeCode

Claude Code: Guía completa para desarrolladores de software

Para empezar el curso, les dejo una lista de las instalaciones generales que les recomiendo. Recuerden que más adelante tendremos una sección dedicada a la configuración y generalidades de ClaudeCode, estas son configuraciones generales del equipo.

@Postrediori
Postrediori / MSVS-Links.md
Last active December 3, 2026 19:27
MS Visual Studio Installers and ISO direct links
@inbalj
inbalj / Usefull linux commands
Last active December 3, 2026 19:24
Usefull linux commands
Generate login-link
-------------------
reset user 1 password in db
UPDATE users SET pass = md5(‘123456789’) where uid = 1;
Drush can generate a one-time login link.
----------------------------------------
drush uli
@Pythonation
Pythonation / prompt.md
Last active December 3, 2026 19:21
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@fedelkev
fedelkev / CrossOverLicence.sh
Created March 14, 2026 04:10 — forked from repsejnworb/CrossOverLicence.sh
unlimited CrossOver 24 trial (MacOS)
#!/bin/sh
# Variables
FOLDER_NAME="CrossOverLicence"
PLIST_NAME="com.codeweavers.CrossOver.license.plist"
BOTTLES_PATH="$HOME/Library/Application Support/CrossOver/Bottles"
SCRIPT_URL="https://gist.githubusercontent.com/repsejnworb/84d3e0852cf90ef40edf7e9c060f193b/raw/CrossOverLicence.sh?token=$(date +%s)"
TOTAL_STEPS=3
STEP=0
@felixvd
felixvd / cmodel_urcap.py
Created August 20, 2020 02:54
Robotiq gripper control node for UR-mounted grippers with URCap installed on the pendant
"""Module to control Robotiq's gripper 2F-85."""
# BASED ON: https://dof.robotiq.com/discussion/1962/programming-options-ur16e-2f-85#latest
# ROS/Python2 port by felixvd
import socket
import threading
import time
from enum import Enum
# Added for ROS
@not-that-necrohardware
not-that-necrohardware / README.md
Last active December 3, 2026 19:07
pliant-recover: recover Pliant/SanDisk Lightning SAS SSDs (LB1606R etc.) stuck in 'Medium format corrupted' - vendor unlock + format, link check, event journal decoder

Recovering Pliant / SanDisk Lightning SAS SSDs stuck in "Medium format corrupted"

SanDisk (formerly Pliant) Lightning 6 Gb/s SAS SSDs (LB206M/406M/806M, LB206S/406S, LB406R/806R/LB1606R) are common in Dell and EqualLogic systems. They can drop into a state where every command fails with:

Sense key: Medium Error / Not Ready
Additional sense: Medium format corrupted          (ASC/ASCQ 31/00)
Descriptor type: Vendor specific [0x91] 99 1c (or 9c 1c)

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.