Master SQL with 150+ Problems, Solutions & Concepts
Discover gists
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 |
|---|
| 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 |
| # 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 \ |
| 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; | |
| } |
μμ΄μ§λ§, μ‘°κΈ λ μμΈνκ² λ§ν¬λ€μ΄ μ¬μ©λ²μ μλ΄νκ³ μλ
"Markdown Guide (https://www.markdownguide.org/)" λ₯Ό 보μλ κ²μ μΆμ²ν©λλ€. ^^
μ, κ·Έλ¦¬κ³ λ§ν¬λ€μ΄λ§μΌλ‘ ννμ΄ λΆμ‘±νλ€κ³ λλΌμ λ€λ©΄, HTML νκ·Έλ₯Ό νμ©νμλ κ²λ μ’μ΅λλ€.
| // ==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/* |
| 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' |
| #!/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..." |
| #!/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 | |