Skip to content

Instantly share code, notes, and snippets.

@awni
awni / mlx_distributed_deepseek.md
Last active December 23, 2025 19:01
Run DeepSeek R1 or V3 with MLX Distributed

Setup

On every machine in the cluster install openmpi and mlx-lm:

conda install conda-forge::openmpi
pip install -U mlx-lm

Next download the pipeline parallel run script. Download it to the same path on every machine:

@intaxwashere
intaxwashere / customthunkexample.md
Last active December 23, 2025 18:59
Custom Thunks Unreal Engine TL;DR

Custom thunks TL;DR

This smol post assumes you worked on a custom thunk implementation before but no idea how it works, why you're using cursed macros from 1990s etc. If you don't have any programming experience or relatively new to Unreal world, it's likely you might not understand anything from this post, not because concepts are too difficult to grasp, but rather because this post is written for the people who has an understanding of how Unreal works since a while and want to expand their knowledge of custom thunks implementation.

Part 1:

  • A thunk is a function that you can save and call later, so if you had an array of TFunction<void()>s, you would have an array of custom thunks that you can bind/unbind new function pointers to existing TFunctions.
  • Custom thunks of Blueprints are the same, they're a fancy array/list of function pointers. Imagine for each node you placed to graph, Blueprints have a place for that node in it's list of custom thunks. For example the + node in Blueprints that
@azhao915
azhao915 / Report.md
Last active December 23, 2025 18:58

GSOC 2025 Final Report

Introduction:

Peripheral physiological recordings, such as the electrocardiogram (ECG), were traditionally excluded from neural analysis, but findings about their bi-directional interactions have opened the field of brain-heart interactions (BHI). Scientists are now closely studying the heart-beat evoked potential (HEP) in the brain¹, as well as its modulation in the Insula², a deep brain area involved in introspection. There is thus a need for a package to facilitate BHI analysis that incorporates modern signal analysis and cleaning techniques, as well as provide a convenient plotting tool for visualizing these analyses.

This project aims to provide a pipeline for efficient Brain-Heart analysis by extending the widely used Python-based MNE package. It first handles ECG, PPG and respiratory signal processing and feature extraction through implemented algorithms and the Neurokit2 package. Information about relevant periods, or low quality segments are handled and stored for

@f-bergener
f-bergener / tsconfig.json
Created July 19, 2021 15:19
tsconfig.json
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */
@transitive-bullshit
transitive-bullshit / claude-code-prompts.js
Last active December 23, 2025 18:57
Unminified prompts and tool definitions for Claude Code
// Claude Code is a Beta product per Anthropic's Commercial Terms of Service.
// By using Claude Code, you agree that all code acceptance or rejection decisions you make,
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms,
// and may be used to improve Anthropic's products, including training models.
// You are responsible for reviewing any code suggestions before use.
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
// Version: 0.2.9
@mtimbs
mtimbs / tsconfig.json
Last active December 23, 2025 18:57
basic default tsconfig for use in TypeScript projects
{
"compilerOptions": {
// project options
"lib": [
"ESNext",
"dom"
], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
"outDir": "lib", // .js (as well as .d.ts, .js.map, etc.) files will be emitted into this directory.,
"removeComments": true, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space
"target": "ES6", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3)
@bgauryy
bgauryy / claude_code_tools_cli.md
Created October 17, 2025 13:49
Internal claude code tools implementaion

Claude Code Internal Tools - Technical Reference

Complete technical documentation of Claude Code's internal tools

This document provides comprehensive technical details about Claude Code's internal tools, including parameter schemas, implementation behaviors, and usage patterns.

Claude Sonnet 4.5

Technical Details:

@illvart
illvart / facebook-unblock.md
Last active December 23, 2025 18:51
How to unblock Facebook, Instagram, Whatsapp via hosts

How to unblock Facebook, Instagram, Whatsapp via hosts

Unblock Facebook includes Facebook Analytics, and Facebook for Developers.

The hosts file location for:

Linux and macOS

/etc/hosts

Windows

c:\Windows\System32\Drivers\etc\hosts

@ongkiii
ongkiii / IPA-Sources.md
Last active December 23, 2025 18:46
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj

The Unofficial 37signals/DHH Rails Style Guide

About This Document

This style guide was generated by Claude Code through deep analysis of the Fizzy codebase - 37signals' open-source project management tool.

Why Fizzy matters: While 37signals has long advocated for "vanilla Rails" and opinionated software design, their production codebases (Basecamp, HEY, etc.) have historically been closed source. Fizzy changes that. For the first time, developers can study a real 37signals/DHH-style Rails application - not just blog posts and conference talks, but actual production code with all its patterns, trade-offs, and deliberate omissions.

How this was created: Claude Code analyzed the entire codebase - routes, controllers, models, concerns, views, JavaScript, CSS, tests, and configuration. The goal was to extract not just what patterns are used, but why - inferring philosophy from implementation choices.