Skip to content

Instantly share code, notes, and snippets.

@adammyhre
adammyhre / Preconditions.cs
Last active February 15, 2026 09:41
Unity Preconditions Class
using System;
public class Preconditions {
Preconditions() { }
public static T CheckNotNull<T>(T reference) {
return CheckNotNull(reference, null);
}
public static T CheckNotNull<T>(T reference, string message) {
@karpathy
karpathy / microgpt.py
Last active February 15, 2026 09:41
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
@adammyhre
adammyhre / AbilitySystem.cs
Last active February 15, 2026 09:41
MVC Ability System
[CreateAssetMenu(fileName = "AbilityData", menuName = "ScriptableObjects/AbilityData", order = 1)]
public class AbilityData : ScriptableObject {
public AnimationClip animationClip;
public int animationHash;
public float duration;
public Sprite icon;
public string fullName;
void OnValidate() {
@imba-tjd
imba-tjd / .Cloud.md
Last active February 15, 2026 09:40
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.

其他人的集合

@ryanlua
ryanlua / fritzing-download.md
Last active February 15, 2026 09:40
Free download of Fritzing using the official download links
@dabit3
dabit3 / you_couldve_invented_openclaw.md
Last active February 15, 2026 09:40
You Could've Invented OpenClaw

See more of my writing here.

In this post, I'll start from scratch and build up to OpenClaw's architecture step by step, showing how you could have invented it yourself from first principles, using nothing but a messaging API, an LLM, and the desire to make AI actually useful outside the chat window.

End goal: understand how persistent AI assistants work, so you can build your own (or become an OpenClaw power user).

First, let's establish the problem

When you use ChatGPT or Claude in a browser, there are several limitations:

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@waveletdeboshir
waveletdeboshir / whisper-hallucinations-ru.txt
Last active February 15, 2026 09:39
List of whisper hallucinations in russian (not full). Created by whisper-large-v2 recognition of 13 hours of noise recordings.
ВЕСЕЛАЯ МУЗЫКА
СПОКОЙНАЯ МУЗЫКА
ГРУСТНАЯ МЕЛОДИЯ
ЛИРИЧЕСКАЯ МУЗЫКА
ДИНАМИЧНАЯ МУЗЫКА
ТАИНСТВЕННАЯ МУЗЫКА
ТОРЖЕСТВЕННАЯ МУЗЫКА
ИНТРИГУЮЩАЯ МУЗЫКА
НАПРЯЖЕННАЯ МУЗЫКА
ПЕЧАЛЬНАЯ МУЗЫКА