Skip to content

Instantly share code, notes, and snippets.

@carefree-ladka
carefree-ladka / SQL Complete Interview Preparation Guide 🎯.mdx
Created February 13, 2026 09:29
SQL Complete Interview Preparation Guide 🎯
@aleclarson
aleclarson / solid-2-versus-octane.md
Last active September 21, 2026 18:21
Solid 2 vs Octane

NOTICE: I've summarized the perspectives of Octane's and Solid's creators here, for anyone short on time: https://gist.github.com/aleclarson/829c10aa7d287944ef75e1c2a90bef06


I'm a React/Preact/Astro developer with an interest in other renderers. The two that have most caught my eye recently are Octane (from Dominic Gannaway of React Hooks / Svelte / Inferno fame) and Solid 2.

I asked ChatGPT to compare them with its own "Renderer DX Pillars", which I've shared below. This is its gut instinct, with very little hedging:

Pillar Winner Why
@guilhermelaz
guilhermelaz / N8N MCP Prompt
Created April 30, 2026 21:41
Prompt para integrar o MCP do N8N
I want you to wire my n8n MCP into this coding agent, following this exact workflow.
1. First, ask me to paste the MCP JSON from my n8n instance at `/settings/mcp`.
2. If you do not already know which coding agent host/client this is from context, ask me that too in the same message. Examples: OpenCode CLI, Claude Desktop, Cursor, VS Code extension, Continue.
3. After I paste the JSON, inspect the existing local config and, if needed, the official config schema/docs for this coding agent before editing anything. Do not assume the n8n JSON shape matches this agent's config format. Translate it correctly into the host's config format.
4. Add the n8n MCP entry to the correct config file, but keep the bearer token as the literal placeholder `(leftanglebracket)YOUR_ACCESS_TOKEN_HERE(rightanglebracket)` instead of asking me to paste the real token into chat.
5. If you have file access, make the config change directly. If you do not, give me the exact minimal edit I need to make in the exact file path.
6. Verify th
@iam-veeramalla
iam-veeramalla / gist:7e32999189f4aa9064334d1d27bd877c
Created January 3, 2025 11:14
EKS Cluster Creation and Teardown
# Create EKS Cluster
eksctl create cluster --name=observability \
--region=us-east-1 \
--zones=us-east-1a,us-east-1b \
--without-nodegroup
eksctl utils associate-iam-oidc-provider \
--region us-east-1 \
--cluster observability \
@Prottoy2938
Prottoy2938 / ch-key-generation.js
Created November 2, 2020 13:17
Cipher Delta key generation code
function makeId(length) {
let result = "";
const characters =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
const charactersLength = characters.length;
for (let i = 0; i < length; i++) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));
}
return result;
}
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active September 21, 2026 17:35
λ§ˆν¬λ‹€μš΄(Markdown) μ‚¬μš©λ²•

[곡톡] λ§ˆν¬λ‹€μš΄ markdown μž‘μ„±λ²•

μ˜μ–΄μ§€λ§Œ, 쑰금 더 μƒμ„Έν•˜κ²Œ λ§ˆν¬λ‹€μš΄ μ‚¬μš©λ²•μ„ μ•ˆλ‚΄ν•˜κ³  μžˆλŠ”
"Markdown Guide (https://www.markdownguide.org/)" λ₯Ό λ³΄μ‹œλŠ” 것을 μΆ”μ²œν•©λ‹ˆλ‹€. ^^

μ•„, 그리고 λ§ˆν¬λ‹€μš΄λ§ŒμœΌλ‘œ ν‘œν˜„μ΄ λΆ€μ‘±ν•˜λ‹€κ³  λŠλΌμ‹ λ‹€λ©΄, HTML νƒœκ·Έλ₯Ό ν™œμš©ν•˜μ‹œλŠ” 것도 μ’‹μŠ΅λ‹ˆλ‹€.

1. λ§ˆν¬λ‹€μš΄μ— κ΄€ν•˜μ—¬

@mathix420
mathix420 / medium.user.js
Last active September 21, 2026 17:25
Bypass Medium / NYT / WaPo / Bloomberg / Reuters / Economist / FT/ Paywall - Working late 2026 - Click the RAW button to install
// ==UserScript==
// @name Freedium Article Redirect
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://medium.com/*
// @match *://*.medium.com/*
// @match *://nytimes.com/*
// @match *://*.nytimes.com/*
// @match *://washingtonpost.com/*
// @match *://*.washingtonpost.com/*
@shikhir-arora
shikhir-arora / sed cheatsheet
Created August 28, 2018 17:21 — forked from ssstonebraker/sed cheatsheet
Sed Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@telnet2
telnet2 / install-byobu.sh
Last active September 21, 2026 17:01
Self-extracting byobu + tmux installer with OSC 52 clipboard support
#!/bin/bash
# Self-extracting byobu + tmux installer with OSC 52 clipboard support
# Usage: curl -sL <gist-raw-url> | bash
set -euo pipefail
BYOBU_CONFIG="$HOME/.byobu"
# --- Install byobu and tmux ---
if ! command -v byobu &>/dev/null || ! command -v tmux &>/dev/null; then
echo "Installing byobu and tmux..."
@gbitdev
gbitdev / byobu-setup.sh
Created October 4, 2018 07:11
Setup byobu
#!/usr/bin/env bash
mkdir $HOME/.byobu/
cat > $HOME/.byobu/.tmux.conf <<EOF
set -g default-shell $(which fish)
set -g default-command $(which fish)
EOF