Skip to content

Instantly share code, notes, and snippets.

@bradtraversy
bradtraversy / terminal-commands.md
Last active August 1, 2026 22:15
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@alphaolomi
alphaolomi / index.md
Last active August 1, 2026 22:12
Quote of the Day (QOTD) Protocol

Quote of the Day

from https://www.gkbrk.com/wiki/qotd_protocol/

Tags: networking protocol

Quote of the Day is a simple protocol that is used to deliver daily quotes. Although its usage is almost nonexistent these days, there are still a few public servers. The protocol is defined by RFC 865. According to the RFC, a QOTD server is run on port 17 for TCP and UDP connections.

The RFC recommends that;

@LoBelug34
LoBelug34 / bug_useragent_stancer.md
Created August 1, 2026 22:11
Fix WooCommerce / Stancer : value_error.any_str.max_length sur device.user_agent (Facebook In-App Browser)

Rapport technique

Bug de paiement lié au User-Agent du navigateur intégré Facebook / Instagram, sur une passerelle de paiement WooCommerce (Stancer) — Diagnostic, cause racine et correctifs appliqués


1. Résumé du problème

Les clients arrivant sur la boutique via une publicité Facebook ou Instagram, et cliquant depuis le navigateur intégré de ces applications (in-app browser), voyaient leur commande bloquée au moment du paiement par carte bancaire. La commande restait en statut « en attente de paiement », puis était automatiquement annulée après expiration du délai de réservation de stock, sans qu'aucun paiement n'ait été tenté avec succès.

@jftuga
jftuga / Getting Shift+Enter to Work in Claude Code with iTerm2 and tmux.md
Last active August 1, 2026 22:12
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:

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.

@maronarius
maronarius / js-prop-matrix.md
Last active August 1, 2026 22:01
JavaScript Property Behavior Matrix

JavaScript Property Behavior Matrix

A comprehensive reference for how JavaScript property types interact with language operators, loops, spread, and Object static methods.

Document Note: Created by AI (Gemini) in collaboration with the user.


Property Classifications

@gokulkrishh
gokulkrishh / media-query.css
Last active August 1, 2026 22:01
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@rkharsan
rkharsan / whatsapp-fix-unknown-error.md
Last active August 1, 2026 22:02
A guide to fix “Unknown error” faced when transferring WhatsApp data from Android to iOS.

You can jump straight to the steps here.

Background

Recently I bought my first ever iPhone, and wanted to transfer everything from my (not so) old Android phone. I tried to transfer WhatsApp chats over from my Android phone to iOS, using the official Move to iOS app by Apple.

image

An image I stole from Google Images showing the same problem.

@Samarth0211
Samarth0211 / README.md
Created March 28, 2026 05:00
100 Claude Secret Codes — prompt shortcuts that change how Claude responds. Interactive version: clskills.in/prompts

Claude Secret Codes — 100 Prompt Shortcuts

100 prompt shortcuts that change how Claude responds. Type any code at the start of your message.

Interactive searchable version with copy-to-clipboard: clskills.in/prompts

Writing & Style

Code What it does