Skip to content

Instantly share code, notes, and snippets.

@markshust
markshust / CLAUDE.md
Created March 15, 2025 11:05
Claude Code configuration for Magento

Magento 2 Dev Commands & Guidelines

Build & Installation

  • composer install - Install dependencies
  • bin/magento setup:install - Install Magento
  • bin/magento setup:upgrade - Update database schema
  • bin/magento setup:di:compile - Compile dependency injection
  • bin/magento setup:static-content:deploy - Deploy static assets

Testing

@dipakprajapati2703
dipakprajapati2703 / .claude-ignore
Last active March 15, 2026 15:23
This .claude-ignore file is used for Magento Project
# .claude-ignore - Files and directories to exclude from Claude Code analysis
# Place this in your Magento 2 project root directory
# Vendor Dependencies (too large and not project-specific)
/vendor/
/node_modules/
# Generated and Cache Files
/var/
/generated/
@ih2502mk
ih2502mk / list.md
Last active March 15, 2026 15:22
Quantopian Lectures Saved
"""
The most atomic way to train and run inference for 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

P2P Ridehailing App — Claude Code Instructions

You are building a fully decentralized peer-to-peer ridehailing mobile app. Zero centralized servers. The entire system runs on user devices and the Solana blockchain.

Core Flow

  1. A rider opens the app, sets a destination, and the app calculates a fare client-side using Haversine distance.
  2. The rider posts a ride request on-chain containing a blinded zone ID (ZK proof of zone membership), the offered fare, and escrowed SOL.
  3. Nearby drivers discover the request via libp2p GossipSub and on-chain queries.
  4. Drivers submit offers on-chain — they can accept the rider's fare or counter-offer (capped at 2x the rider's price).
@snippins
snippins / HUD.py
Last active March 15, 2026 15:17
HUD Menu
#!/usr/bin/python3
import gi
gi.require_version("Gtk", "3.0")
import configparser
import dbus
import dbus.service
import logging
import os
@coodoo
coodoo / outline.md
Last active March 15, 2026 15:16
「第二屆 AI 取暖會」講義文字稿

/* 前言 -------------------------------------------------- */

簡介

這是 Jeremy 於 2026-03-07 於第二屆「 AI 取暖會」中分享過去十八個月來與 AI/Agent 搏鬥的實戰心得。

影片

https://www.youtube.com/watch?v=9kb7oCamafE

@imabuddha
imabuddha / 50-system-apple.quirks
Created December 10, 2020 13:50
Apple Magic Trackpad 2 configuration for Raspberry Pi (& linux generally) — Properly configures the pressure sensitivity, natural scrolling, and the left/right/middle (1/2/3 finger) clicks.
# add this to /usr/share/libinput/50-system-apple.quirks (create if doesn't exist)
[Apple Magic Trackpad v2]
MatchName=*Magic Trackpad 2
AttrSizeHint=162x115
AttrTouchSizeRange=20:10
AttrPressureRange=2:0
AttrPalmSizeThreshold=900
AttrThumbSizeThreshold=700
@mischief
mischief / vmd.patch
Created February 6, 2026 04:14
fix vmd 'invalid fault_type 2'
diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c
index 6d571ce90fc..141ecdb80a7 100644
--- a/usr.sbin/vmd/vm.c
+++ b/usr.sbin/vmd/vm.c
@@ -42,8 +42,6 @@
#include "virtio.h"
#include "vmd.h"
-#define MMIO_NOTYET 0
-