Skip to content

Instantly share code, notes, and snippets.

@aravindnc
aravindnc / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created February 19, 2024 17:15
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

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.

@NANDquark
NANDquark / main.odin
Last active October 15, 2026 02:38
Simple Odin lang performance profiling utility
package main
import rl "vendor:raylib"
WIDTH :: 800
HEIGHT :: 600
mouse_pos: rl.Vector2
main :: proc() {
@kennethreitz
kennethreitz / 0_urllib2.py
Created May 16, 2011 00:17
urllib2 vs requests
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib2
gh_url = 'https://api.github.com'
req = urllib2.Request(gh_url)
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm()
@flatmoonsociety
flatmoonsociety / FTM_OPENING_RANGE_BREAKOUT_MNQ_v1_8_0_RC3.cs
Last active October 15, 2026 01:47
FTM Opening Range Breakout MNQ v1.8.0 RC3
// ============================================================================
// FTM_OPENING_RANGE_BREAKOUT_MNQ_v1_8_0_RC3
//
// One self-contained MNQ opening-range breakout strategy. It requires one-minute
// MNQ bars and the CME US Index Futures ETH Trading Hours template. All trading
// decisions use New York time after converting NinjaTrader timestamps through
// UTC, so the NinjaTrader display time zone may be Eastern, UTC, Madrid, or any
// other correctly configured system time zone.
//
// The strategy builds the 09:30-09:45 ET opening range, then checks completed
@claytantor
claytantor / dgx_aspark_qwen3.5_35b_claude_code.md
Last active October 15, 2026 01:34
How to setup Qwen3.5 35B on a Dgx Spark Clone Suitable for Claude Code

Implementation Guide: Qwen3.5-35B-A3B via llama.cpp for Claude Code

Serves Qwen3.5-35B-A3B (MoE) locally using llama-server with its native Anthropic Messages API, so Claude Code points directly at it — no proxy or shim required.

Target hardware: NVIDIA DGX Spark / GB10 (Blackwell, SM121 / CUDA 12.1)


Prerequisites

$csvfile = "/Users/nwb/Desktop/data/FY15__FY16__FY17__FY18.csv"
# $csvfile = "/Users/nwb/Desktop/data/FY14-15__FY15-16.csv"
$jsonfile = "/Users/nwb/Desktop/data/sacbudget_v3.json"
$template = [PSCustomObject]@{
name = "Sacramento Budget 2017/18";
}
Import-Csv $csvfile |
Where-Object "account_type" -eq "Expenses" |
ForEach-Object {
"hello" + $_
javascript:void%28s%3Dprompt%28%27Find%20text%3A%27%2C%27%27%29%29%3Bs%3D%27%28%27+s+%27%29%27%3Bx%3Dnew%20RegExp%28s%2C%27gi%27%29%3Brn%3DMath.floor%28Math.random%28%29*100%29%3Brid%3D%27z%27%20+%20rn%3Bb%20%3D%20document.body.innerHTML%3Bb%3Db.replace%28x%2C%27%3Cspan%20name%3D%27%20+%20rid%20+%20%27%20id%3D%27%20+%20rid%20+%20%27%20style%3D%5C%27color%3A%23000%3Bbackground-color%3Ayellow%3B%20font-weight%3Abold%3B%5C%27%3E%241%3C/span%3E%27%29%3Bvoid%28document.body.innerHTML%3Db%29%3Balert%28%27Found%20%27%20+%20document.getElementsByName%28rid%29.length%20+%20%27%20matches.%27%29%3Bwindow.scrollTo%280%2Cdocument.getElementsByName%28rid%29%5B0%5D.offsetTop%29%3B
@fangyuan99
fangyuan99 / gpt_checkout.user.js
Created May 10, 2026 09:22
gpt_checkout.user.js
// ==UserScript==
// @name GPT 支付链接生成器
// @namespace http://tampermonkey.net/
// @version 1.3.0
// @description 在 ChatGPT 页面生成各地区订阅支付链接(短链/长链)— Claude 美学
// @author https://github.com/fangyuan99
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @grant GM_setValue
// @grant GM_getValue