Skip to content

Instantly share code, notes, and snippets.

@max-prtsr
max-prtsr / mt7927-bluetooth-linux.md
Created February 14, 2026 15:25
MediaTek MT7927 (MT6639) Bluetooth on Linux — Kernel 6.18+

MediaTek MT7927 (MT6639) Bluetooth on Linux — Kernel 6.18+

Getting Bluetooth working for the MediaTek MT7927 (Filogic 380) combo chip on Linux. Tested on Arch Linux with kernel 6.18.7 and ASUS ROG STRIX X870-I GAMING WIFI.

Based on jfmarliere/linux-driver-mediatek-mt7927-bluetooth, adapted for kernel 6.18+.

The Problem

The MT7927 chip (USB ID 0489:e13a) is recognized by the kernel but btusb doesn't know how to initialize it:

  • The USB ID is missing from the device table
@karpathy
karpathy / microgpt.py
Last active February 15, 2026 01:25
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active February 15, 2026 01:16
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@ABelliqueux
ABelliqueux / linux_ps2.md
Last active February 15, 2026 01:10
How to install Linux on the Playstation 2

Adapted to gist from https://unix.stackexchange.com/questions/344225/how-to-install-linux-on-the-playstation-2
Credits to Alison E.E.

Preambule

Looking to learn about game development? Are you a Linux enthusiast looking to test the claim that "Linux runs on everything"? Perhaps you are a software developer who is looking to release for multiple architectures, and you don't have another MIPS Little Endian machine on-hand for testing your programme. Whatever your situation there are a surprising number of reasons to install Linux on a Playstation 2, even sixteen years after it's release (boy do I feel old all of a sudden.), yet an equally surprising lack of documentation about it or how to install it.

Now don't get me wrong, if you want to use the original Sony Linux Kit, or one of it's updated open source releases on a fat PS2 with a network adapter and an IDE hard disk you can find plenty of info. However th