Skip to content

Instantly share code, notes, and snippets.

@mkobit
mkobit / costco-receipts-extractor-console-snippet.js
Last active October 19, 2026 03:13 — forked from dlh3/costco-receipts-extractor-snippet.js
Costco JS console receipts extractor
/**
* Costco web receipt exporter
*
* Run in browser console at https://www.costco.com/OrderStatusCmd
* Requires Temporal API (Chrome 118+)
*
* Usage:
* // Last N months
* const lastMonth = (n = 1) => {
* const end = Temporal.Now.plainDateISO();

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@wgzhao
wgzhao / wonderful-goods.md
Created October 18, 2026 02:46
好用的小物品

一、厨房用品(4)

  • 瑞士Victorinox 削皮刀 — 约 ¥20–40
  • 日本象印保温杯 — 约 ¥100–250
  • 双立人厨房剪刀 — 约 ¥50–130
  • 瑞士 Victorinox 水果刀 — 约 ¥28–100

二、收纳与日用(3)

  • 宜家 FRAKTA 蓝袋子 — 约 ¥5–20(按尺寸)
  • 美国密保诺 Ziploc 密封保鲜袋 — 约 ¥16–30/盒
@chrisjrn
chrisjrn / naur-1985.md
Last active October 19, 2026 03:08
"Programming as Theory Building", P. Naur (1984/85)

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.

@jayolin
jayolin / tsd_template.md
Last active October 19, 2026 03:05
Template for Creating a Technical Specification Document

Technical Specification Document Template

A template for specifying technical requirements of a project

Author(s): James Olinya

Table of Contents

@vic4key
vic4key / Beyond-Compare-5_Reset-Trial.ps1
Created November 4, 2025 16:59
Beyond Compare 5 - Reset Trial 30 days
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Remove-Item "$env:appdata\Scooter Software\Beyond Compare 5\*.*" -Force -Confirm:$false
$path = "$env:appdata\Scooter Software\Beyond Compare 5\BCState.xml"
if (Test-Path $path) {
Remove-Item $path -Force -Confirm:$false
}
$path = "$env:appdata\Scooter Software\Beyond Compare 5\BCState.xml.bak"
if (Test-Path $path) {
Remove-Item $path -Force -Confirm:$false
@lucataco
lucataco / DEBLOAT.md
Last active October 19, 2026 02:58
webos-debloat: reversible debloat for rooted LG webOS TVs (hide bloat tiles, stop preloading, turn off promos/ACR)

webos-debloat

One shell script that makes a rooted LG webOS TV lighter and quieter:

  • hides bloat tiles and background apps from the launcher
  • stops preloading apps the TV keeps in RAM whether or not you open them
  • turns off home-screen promotions, promo videos, sports alerts, content recommendations and Live Plus (ACR)

Nothing is deleted and the root filesystem is never touched. It only edits

@acmerfight
acmerfight / 00_README.md
Last active October 19, 2026 02:53
LongCat 中文长篇音频完整制作与提速复盘:105集实测、可运行工具、双路校验与局部修复

LongCat 长篇中文音频制作与提速复现指南

这份指南来自一次完整的长篇朗读制作:105 集、约 21.34 小时音频,覆盖 4,867 个连续原文单元。它记录从文字校对、选择参考声音,到批量合成、错误修复、响度处理和全书修订的实际做法,也保留了走过的弯路。整理日期:2026-10-03;2026-10-07 补充参考输入音量与滋啦声排查经验。

要获得稳定成片,关键是把正确的文字、正确的声音和可追溯的版本管理接起来。 换一个随机种子、让识别器多跑几遍,不能代替这套流程。

本 Gist 提供可以独立运行的 Apple Silicon 入门工具。你准备一段有使用权限的参考录音、它的逐字稿,以及想朗读的文字,就能完成生成、检查、修复和导出。原项目的整本书、私人路径和全部生产音频不放在这里。工具使用相同的模型与后期生产参数,但做了明确的简化:一份任务对应一集;段落需要你按完整句子安排;不自动缩短内部停顿,不自动推进整书游标,也不自动作出内容验收决定。

如果只想先做出一段声音,按第 3 至第 6 节操作。如果要制作几十集,请继续阅读全文和 制作复盘。实测数字保存在 measurements.json,发布前实际检查范围保存在 validation.json。

@rcalixte
rcalixte / libqt6-qml.md
Created October 18, 2026 19:06
QML for C & Zig

QML for C & Zig

Hi all,

Following up on the previous update (Build System Improvements, Centralized Overview, etc.), QML is now available.

For those unfamiliar, this introduces a more declarative paradigm that leverages the existing breadth of each library. Importantly, this additional paradigm can coexist in a single application so developers still have full control. One of the areas that this enhances is development for portable devices such as the Steam Deck.

Speaking more to the development experience, as the examples demonstrate, much of the expected functionality for QML is available. In addition to leveraging the bindings for private Qt classes, some advanced metaprogramming can also be had. For typical usage, if simpler options exist, those are encouraged. Some portions of the API can be very low level. Over time, more common operations can probably be augmented by helper functions if enough need emerges. The centralized overv