Skip to content

Instantly share code, notes, and snippets.

@dillionverma
dillionverma / lucide-react.d.ts
Last active November 8, 2025 10:24
How to stop @radix-ui, next/router and lucide-react auto-imports
declare module 'lucide-react' {
export * from 'lucide-react/dist/lucide-react.suffixed'
}
@willccbb
willccbb / grpo_demo.py
Last active January 10, 2026 08:53
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
"""
citation:
@misc{brown2025grpodemo,
title={Granular Format Rewards for Eliciting Mathematical Reasoning Capabilities in Small Language Models},
author={Brown, William},
import { createHeadlessEditor } from '@lexical/headless'
import {
EditorConfig,
getEnabledNodes,
sanitizeEditorConfig,
} from '@payloadcms/richtext-lexical'
import { $getRoot, SerializedRootNode } from 'lexical'
import { Validate } from 'payload/types'
import { simple } from '../config/lexical'
@gaearon
gaearon / Classes.js
Created May 27, 2020 17:38
Beneath Classes: Prototypes
class Spiderman {
lookOut() {
alert('My Spider-Sense is tingling.');
}
}
let miles = new Spiderman();
miles.lookOut();

Workspace Schematics

A utilitarian guide for creating Nx Workspace Schematics

Notes on Schematic - When They Are and Are Not Useful

Schematics are a one-time event that adjusts your filesystem - usually for the purpose of automating boilerplate or configuration.

If you've ever written down a list of things to do or files to adjust everytime you create a component (for example), a schematic is an excellent solution.

@tmsss
tmsss / .block
Last active October 14, 2021 05:35
Cognitive Bias Codex, 2016
height: 950
border: no
@mikesmullin
mikesmullin / chromedriver.sh
Created May 8, 2012 16:08
easily install chromedriver on linux/osx
sudo apt-get install unzip;
wget -O /tmp/chromedriver.zip http://chromedriver.googlecode.com/files/chromedriver_linux64_19.0.1068.0.zip && sudo unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/;