Skip to content

Instantly share code, notes, and snippets.

@LingDong-
LingDong- / ln.c
Last active December 4, 2026 08:00
simple, fast, accurate natural log approximation without <math.h>
// ln.c
//
// simple, fast, accurate natural log approximation
// when without <math.h>
// featuring * floating point bit level hacking,
// * x=m*2^p => ln(x)=ln(m)+ln(2)p,
// * Remez algorithm
// by Lingdong Huang, 2020. Public domain.
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active December 4, 2026 07:58
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@ashwch
ashwch / git-worktrees-zero-to-hero.md
Last active December 4, 2026 07:58
Git Worktrees: From Zero to Hero - A comprehensive guide to using Git worktrees with submodules
@stephenlb
stephenlb / .vimrc
Last active December 4, 2026 07:57
Ghostty + Tmux Config
set nowrap
set nobackup
set undofile " Undo across sessions
set undolevels=2000 " Keep 2000 changes to be undone
set undodir=~/.vim/tmp/undo//
"nmap <F2> :.w !pbcopy<CR><CR>
"vmap <F2> :w !pbcopy<CR><CR>
set noswapfile
@sunmeat
sunmeat / project.md
Created December 4, 2026 07:54
відповіді на питання :)

Відповіді на питання по проєкту :)

1. 🎉 Що робити, коли сайт уже задовольняє?

Насамперед — порадіти результату!

Уміння завершити проєкт не менш важливе, ніж уміння його розпочати.

Зафіксуйте готову версію в GitHub, покажіть її іншим, додайте до портфоліо і починайте думати про наступний проєкт.

@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active December 4, 2026 08:00
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.

@mxpanf
mxpanf / ASCII Art Collection
Last active December 4, 2026 07:44 — forked from creio/ascii art
ASCII Art Collection. A curated collection of static and live ASCII art links, along with some fun terminal commands for weather forecasts and the classic 'Star Wars' episode in ASCII.
# Static ASCII Arts
curl -L git.io/ricex # Rice
curl -L git.io/unix # Unix logo
curl -L git.io/taco # Taco
curl -L git.io/pizzza # Pizza
curl -L git.io/pancakes # Pancakes
curl -L git.io/poptart # Pop-Tart
curl -L git.io/waffles # Waffles
curl -L git.io/burger # Burger
curl -L git.io/rice # Rice (alternative)
@darencard
darencard / genome_oneliners.md
Last active December 4, 2026 07:43
Quick one-liner commands that are useful for genomics

Useful Genomics Oneliners

The following commands sometimes require non-standard software like bioawk and seqtk.

rename scaffold headers with sequential numbers and lengths ("scaffold-N ")

bioawk -c fastx '{ print ">scaffold-" ++i" "length($seq)"\n"$seq }' < genome.fasta > new_genome.fasta

make association table of old and renamed scaffold names after above renaming command

@YogaSakti
YogaSakti / ten-bucks-plan-comparison.md
Last active December 4, 2026 07:35
OpenCode Go vs Command Code GOAT vs Token Harbor Office Pass — $10/month Plan Comparison

OpenCode Go vs Command Code GOAT vs Token Harbor Office Pass — $10/month Plan Comparison

Checked 4 December 2026 against the individual monthly plans. All prices are USD. The providers can change their model lineups and allowances.

TL;DR

  • OpenCode Go and Command Code GOAT cost $10/month. Token Harbor Office Pass costs $9.99/month.
  • On the 15 models with comparable data on all three plans, Office leads on 11, Go on 2, and GOAT on 2 for included requests per cycle. Go leads on GLM-5.3 and MiMo V2.6 Flash. GOAT leads on GLM-5.3 Flash and DeepSeek V4 Pro at the stated rates.
  • The model suffix matters. At the same workload, GPT-6 Luna gives about 44,872 requests on Office, 25,641 on GOAT and 19,231 on Go. For GLM-5.3 Flash, GOAT's 96,154 leads Office's 67,308 and Go's 57,692.
  • The full comparison includes 28 more two-plan comparisons and 58 rows with fewer than two comparable figures. Official short-window estimates are available underneath

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.