Skip to content

Instantly share code, notes, and snippets.

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.

@kurotanshi
kurotanshi / VUE_SDD_RULES_TEMPLATE.md
Created December 11, 2025 08:57
Vue SDD 規則檔範本 - WebConf 2025

Vue SDD 規則檔範本

本文件預設專案使用:Vue 3.5+、<script setup>、Composition API、TypeScript。 若使用 Nuxt、Options API 或 JavaScript,請依團隊技術選型調整對應規則。 此檔案可作為 CLAUDE.md.cursorrules.github/copilot-instructions.md 使用 根據你使用的 AI 工具,複製到對應位置即可

本文檔目的

  • 為 AI 工具提供一致的 Vue 程式碼風格與行為規範
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 19, 2025 08:30
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@spongeyperson
spongeyperson / unity-multicore-tweaks.md
Last active December 19, 2025 08:29
How to *attempt* to get Unity to use more Cores on a heavily Multi-core system.

Unity Multicore Tweaks

This guide gives you some tweaks you can try in boot.config inside your Unity Game to get some more performance out of your Multi-core system.

Performance Flags to Try:

  • gc-max-time-slice=3

    • This increases the slice of time Unity's Garbage Collector is allowed to spend on a single frame. Increasing this value increases the amount of time until the Garbage Collector is run. Setting this helps limit the impact of garbage collection on framerate by specifying a maximum time that the garbage collector is allowed to consume during a frame. If the garbage collection process exceeds this time limit, it may be interupted, and the remaining work may be moved to the next frame. Value is in Milliseconds.
  • gfx-enable-gfx-jobs=1

    • Enables Standard Graphics Jobs. Enabling this, Unity will attempt to use multiple CPU cores for certain graphics tasks, which can result in better performance.
  • gfx-enable-native-gfx-jobs=1

  • Explicitly
@silenceshell
silenceshell / gist:d97c3d9b0ba21d71f21c3a60db1fb284
Last active December 19, 2025 08:28 — forked from jordelver/gist:3073101
Set the Mac OS X SOCKS proxy on the command line

Set the Mac OS X SOCKS proxy on the command line

a.k.a. what to do when your ISP starts blocking sites :(

1 ssh to remote server as a SOCKS server

ssh -D 6080 {user}@{ssh_server} -p {ssh_port}
@Klerith
Klerith / testing-configuration.md
Last active December 19, 2025 08:26
Configuración de Vitest + React Testing Library
@v1v
v1v / dependabot-github-actions-auto-merge.sh
Last active December 19, 2025 08:20
GitHub Dependabot PR Auto-Approval-Merge at a large scale
#!/usr/bin/env bash
#
# GitHub Dependabot PR Auto-Approval Script
#
# Description:
# Searches for Dependabot pull requests matching specific criteria and
# optionally approves them and requests merge via @dependabot merge command.
#
# Usage:
# ./dependabot-github-actions-auto-merge.sh <title-keyword> [--execute]
@zhuziyi1989
zhuziyi1989 / URL Schemes.md
Last active December 19, 2025 08:16
iOS 系统上常用的 URL Schemes 收集

** 由于此文年事已久,可能某些 URL Schemes 已失效,可在评论区留言指出!(最后更新于 2024.10.28)

关于 URL Scheme 你知道多少?

iOS 系统中

由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在 APP 之间跳转的方法:URL Scheme。简单的说,URL Scheme 就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的 URL Scheme 都是不一样的,如果存在一样的 URL Scheme,那么系统就会响应先安装那个 APP 的 URL Scheme,因为后安装的 APP 的 URL Scheme 被覆盖掉了,是不能被调用的。

Android 系统中

✅ Inject it and use it:
...
@Autowired
TaskScheduler scheduler;
scheduler.schedule(
() -> System.out.println("Hello!"),
new CronTrigger("0 */5 * * * *") // every 5 min
);

Fingerprint Reader Setup on Linux - Synaptics Sensors

Complete guide for configuring Synaptics fingerprint readers (including Metallica MIS Touch) on Linux distributions using python-validity and fprintd.

Device Compatibility

This guide specifically covers Synaptics fingerprint sensors that require proprietary drivers:

  • Synaptics Metallica MIS Touch (06cb:009a)
  • Synaptics Prometheus (06cb:0081)