Skip to content

Instantly share code, notes, and snippets.

@hqman
hqman / CLAUDE.md
Created February 23, 2026 13:03
Boris Cherny’s CLAUDE.md

Workflow Orchestration

1. Plan Node Default

  • Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
  • If something goes sideways, STOP and re-plan immediately - don't keep pushing
  • Use plan mode for verification steps, not just building
  • Write detailed specs upfront to reduce ambiguity

2. Subagent Strategy

  • Use subagents liberally to keep main context window clean
@iuliandita
iuliandita / alacritty.toml
Last active July 22, 2026 19:13
Alacritty TOML config file, with all defaults present (commented out), in the proper order. Color scheme is Catppuccin Mocha.
# Defaults are commented out. See `man 5 alacritty` for details.
[general]
#import = [
# "~/.config/alacritty/catppuccin-mocha.toml",
# "~/.config/alacritty/keybindings.toml",
#]
#working_directory = "None"
#live_config_reload = true
#ipc_socket = true
@xaviershay
xaviershay / build_frontend.sh
Last active December 24, 2015 20:49
SASS + Coffee + Concatenation in prod
#!/bin/bash
set -exo pipefail
BUILD_ENV=$1
if [ `uname` == 'Darwin' ]; then
OSX=1
JSCOMPRESSOR="yuicompressor --type js"
else
OSX=
@mhenke
mhenke / heroku.md
Created July 14, 2012 19:49 — forked from jaymcgavren/heroku.md
A Code TV screencast on getting started with Heroku

Description

Heroku is a simple way to publish your Rails app, and a powerful platform that will allow it to scale. In this episode, Jay McGavren gets you started with your first Heroku app. http://www.codeschool.com/code_tv/heroku

Set up your Rails app

Isolate your gem environment

  • You WANT Rails to fail locally if a gem isn't in your Gemfile
  • Otherwise you're in for a surprise when it's missing on Heroku
<cffunction name="filters" returntype="void" access="public" output="false"
hint="Tells Wheels to run a function before an action is run or after an action has been run. You can also specify multiple functions and actions."
examples=
'
<!--- Always execute restrictAccess before all actions in this controller --->
<cfset filters("restrictAccess")>
<!--- Always execute isLoggedIn and checkIPAddress (in that order) before all actions in this controller except the home and login action --->
<cfset filters(through="isLoggedIn,checkIPAddress", except="home,login")>
'