Skip to content

Instantly share code, notes, and snippets.

@stvhwrd
stvhwrd / LeetCodeQuestions.md
Last active November 27, 2026 04:27 — forked from krishnadey30/LeetCodeQuestions.md
Curated List of Top 75 LeetCode
@Lexedia
Lexedia / readme.md
Last active November 27, 2026 04:23
Embed fixer list

List of embed fixer for discord/telegram.

The order is not relevant.

Service Description Author Forked from Repo Host Broken since Annotations
VixBluesky FixBluesky: Embed Bluesky links in Discord! Lexedia FixBluesky Lexedia/VixBluesky https://bskx.app Not broken
FixBluesky FixBluesky: Embed Bluesky links in Discord! Rose None ThornbushHQ/FixBluesky https://bsyy.app Not broken
bskye Fix Bluesky embeds on Discord Eduardo Cabral None FerroEduardo/bskye https://bskye.app Not broken
vxBsky None Dylan None dylanpdx/vxBsky https://vxbsky.app None

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.

(?i)((access_key|access_token|admin_pass|admin_user|algolia_admin_key|algolia_api_key|alias_pass|alicloud_access_key|amazon_secret_access_key|amazonaws|ansible_vault_password|aos_key|api_key|api_key_secret|api_key_sid|api_secret|api.googlemaps AIza|apidocs|apikey|apiSecret|app_debug|app_id|app_key|app_log_level|app_secret|appkey|appkeysecret|application_key|appsecret|appspot|auth_token|authorizationToken|authsecret|aws_access|aws_access_key_id|aws_bucket|aws_key|aws_secret|aws_secret_key|aws_token|AWSSecretKey|b2_app_key|bashrc password|bintray_apikey|bintray_gpg_password|bintray_key|bintraykey|bluemix_api_key|bluemix_pass|browserstack_access_key|bucket_password|bucketeer_aws_access_key_id|bucketeer_aws_secret_access_key|built_branch_deploy_key|bx_password|cache_driver|cache_s3_secret_key|cattle_access_key|cattle_secret_key|certificate_password|ci_deploy_password|client_secret|client_zpk_secret_key|clojars_password|cloud_api_key|cloud_watch_aws_access_key|cloudant_password|cloudflare_api_key|cloudflare_auth_k
@ergoz
ergoz / gist:24037b72275ebab59efe320b65d5139f
Created October 25, 2024 20:57
Free Windows Server 2022 Product Key
Free Windows Server 2022 Standard Product Key
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY
RRNMT-FP29D-CHKCH-GWQP2-DDDVB
44QN4-X3R72-9X3VK-3DWD6-HFWDM
Free Windows Server 2022 Datacenter Product Key
WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Download windows Sever 2022 Evaluation edition:
Windows Server 2022 Evaluation English
@t4sh
t4sh / .Add Hammerspoon Config.md
Last active November 27, 2026 04:13
Hammerspoon config — install guide + init.lua (Rectangle-style window management + top-edge Almost Maximize)

Hammerspoon window shortcuts on macOS

  1. Install Hammerspoon with brew install --cask hammerspoon, or download the app from hammerspoon.org. Open it.
  2. Choose Open Config from the Hammerspoon menu. Paste the included init.lua into that file (~/.hammerspoon/init.lua). If you already have bindings, keep a copy of your config and merge the bindings you want.
  3. Allow Hammerspoon under System Settings → Privacy & Security → Accessibility. Enable Launch Hammerspoon at login in its preferences if you want the shortcuts after restart.
  4. Choose Reload Config. Focus a normal app window and press Control–Option–Return to try Almost Maximize.

To adjust it, edit almostMaximizeRatio near the top of init.lua. The default 0.9 leaves a small margin around the window. Change resizeStep to control how much the Minus and Equal shortcuts shrink or grow it, then reload the config.

| Shortcut | Window action |

@bashenk
bashenk / AndroidDeviceEnrollmentQRCreation.md
Last active November 27, 2026 03:49
Creating a QR Code for Android Device Enrollment

From: pngwn/MDsveX#293

In #259 I alluded to other changes in v1, besides the configuration API. The biggest one is something that has been one of my biggest frustration in some regards: markdown itself. Now, lets get this out of the way: markdown is excellent and easily the best document markup format we have ever had. Kudos to Mr Gruber and all who have pushed markdown forward. Nothing in this document should be considered a derogation of markdown, I have nothing but respect and admiration for everything that has brought us to this point. This is a criticism, in many ways, but hopefully a constructive one. It is also just the opinion of a single penguin, and a penguin of questionable character, at that.


Penguin-flavoured markdown

@royallight1999-jpg
royallight1999-jpg / README.md
Last active November 27, 2026 03:24
Erdős problem #340: evidence on A−A of the Mian–Chowla sequence

Erdős problem #340: evidence on the difference set A−A of the greedy Sidon (Mian–Chowla) sequence

Finite-prefix evidence on the A−A question, and a related Lean formalization (not a proof).

Data. I used Reichert's 100,000 terms of A005282 (OEIS) and independently recomputed the first 8768 terms (exact match). The missing positive differences up to 302 agree with the 50 terms of A080200 (Reichert had already checked these against 100,000 terms). Indexing: a_1 = 1.

  1. Coverage. For the prefix A_N = {a_1,...,a_N}, N = 10^5, let c_N(k) = |(A_N − A_N) ∩ [2^k, 2^(k+1))| / 2^k (positive differences). c_N(6)=0.89, c_N(10)=0.54, c_N(15)=0.24, c_N(20)=0.094, c_N(25)=0.034, c_N(30)=0.0116. These are lower bounds for the full sequence; a heuristic tail estimate suggests later terms add about 5% at k = 30 and less for smaller k. For 20 ≤ k ≤ 30 the coverage drops by a factor of about 0.81 per doubling, i.e. c ≈ d^(−0.30).