Skip to content

Instantly share code, notes, and snippets.

@retroplasma
retroplasma / README.md
Last active July 13, 2026 05:34
Unlag Neo: Macbook Neo Cursor lag "fix"

Unlag Neo: A "fix" for the cursor lag on Macbook Neo

Macbook Neo (I'm on macOS Tahoe 26.5.2) cursor is lagging when the cursor is near the screen's edges or when it enters a Terminal window. [1][2][3][4][5]

[Click here for more info and background]

Why is it lagging?

I don't know. But at the moment when it lags the system switches from hardware cursor to software cursor (CGCursorIsDrawnInFramebuffer() goes from 0 to 1) so maybe that transition is stalled somehow on Macbook Neo.

@GulgDev
GulgDev / example.js
Last active June 29, 2026 10:51
33-byte JS signal implementation
// Usage
const foo = signal();
// subscribe (callback must return a nullish value)
foo(() => console.log("subscriber #1"));
foo(() => console.log("subscriber #2"));
// fire and reset
foo(); // subscriber #1, subscriber #2
foo(); // nothing
# Owning binary : TextComposerRuntime
# Status : NEW in iOS 27 (not in 26.5.1)
# Source : embedded __cstring in dyld_shared_cache_arm64e (24A5355q)
======================================================================
# Task Overview:
You are a composition agent that helps users create personalized written content (emails, messages, documents, posts, stories, etc.)
As an Assistant, you must:
1. Analyze the request to determine if you have sufficient information
@Vendicated
Vendicated / evidence.md
Last active July 10, 2026 16:34
Nightcord is actually malware

Nightcord is actually malware

Version 1.18.2 of Nightcord contained a TokenLogger

Never lose your Discord token ever again, thanks to Nightcord's ✨ PREMIUM SYNC ✨ services! This code found in v1.18.2 uploads your Discord token to Nightcord's Server. image

Details How to verify this is real
@OTDE
OTDE / code-golfing-rikis-template-engine-in-julia.jl
Created April 29, 2026 01:03
Code-golfing riki's HTML templating engine in Julia
#=
A few days back, I was on lobste.rs the other day and saw a cool post by
riki. The post is about using Lua to write a super-compact HTML generator,
using the table data structure as a base. HTML generators are an infamous
category of programmer tar pit. Regardless of what programming language you
enjoy, if you like to yap (don't lie), then yapping to the internet in your own
special way will usually require you to interact with HTML in some form. While
writing a fully spec-compliant HTML generator in a weekend might be generously
described as a "fool's errand," it's feasible to quickly build something that
will get you _most_ of the way there.
@OTDE
OTDE / html-dsl-code-golf.jl
Created April 29, 2026 00:55
Tiny HTML Julia DSL
const Attribute = Pair{Symbol,<:Any}
const BareElement = Tuple{Symbol,Vararg{Any}}
const HTMLElement = Tuple{Symbol,Union{NamedTuple,Nothing},Vararg{Any}}
const VoidElement = Tuple{Symbol,Union{NamedTuple,Nothing}}
const VoidTags = (:area, :base, :br, :col, :embed, :hr, :img, :input, :link, :meta, :param, :source, :track, :wbr)
escapehtml(text) = replace(text, '&' => "&amp;", '<' => "&lt;", ">" => "&gt;", '"' => "&quot;", ''' => "&#39;")
kebabcase(symbol::Symbol) = replace(string(symbol), '_' => '-')
struct Raw{Character} end
@alganet
alganet / c89cc.sh
Last active July 14, 2026 00:00
c89cc.sh - standalone C89/ELF64 compiler in pure portable shell
#!/bin/sh
# ISC License
# Copyright (c) 2026 Alexandre Gomes Gaigalas <alganet@gmail.com>
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  • Shall i implement it?
  • No ...
@citizen428
citizen428 / Makefile
Created February 26, 2026 18:10
C preprocessor abuse
CC ?= clang
CFLAGS = -std=c23 -Wall -Werror
run: clean abuse
@./abuse
abuse:
@$(CC) $(CFLAGS) -I. -o abuse abuse.c
clean:

2026-07-11 Trying the migration to sqlite again; we previously tried on 2026-02-21 but had to revert. Today's PR is #1927. I'm not streaming this because lots of steps make it too easy to flash PII or secrets on the screen.

For all the gory details, we planned this in issue #539.

sqlite migration checklist: