Skip to content

Instantly share code, notes, and snippets.

View firecall's full-sized avatar

Alex Counsell firecall

View GitHub Profile
@firecall
firecall / gist:3a0d08972488fb0d9a6c59d2eba14ca1
Created October 10, 2026 04:55
My Default Options for New Rails Apps
rails new my_app \
--css=bootstrap \
--database=mysql \
--js=bun \
--skip-action-cable \
--skip-action-mailbox \
--skip-action-text \
--skip-ci \
--skip-devcontainer \
--skip-docker \
@firecall
firecall / ship.md
Last active June 20, 2026 08:04
Claude Code Command tailored for my Ruby on Rails projects, that will review uncommitted changes, group them into clean logical commits (verified), and push once to origin/main.
description Review uncommitted changes, group them into clean logical commits (verified), and push once to origin/main.
argument-hint [optional grouping hints, type/scope, or an explicit commit message]
allowed-tools Bash(git status:*), Bash(git diff:*), Bash(git add:*), Bash(git commit:*), Bash(git push:*), Bash(git log:*), Bash(git restore:*), Bash(bin/rubocop:*), Bash(bin/rails test:*), Bash(bin/ci:*), Read, Edit

/ship — clean commits + push to main

Run a predictable, low-noise commit workflow for this Rails app, then push once to origin/main. This command intentionally commits directly to main —

@firecall
firecall / Lean Ruby Rails Copilot instructions for token efficiency.txt
Last active March 18, 2026 06:20
Optimised Ruby on Rails coding conventions and guidelines
---
description: 'Lean Ruby/Rails Copilot instructions for token efficiency'
applyTo: '**/*.rb'
---
# Ruby on Rails
## Must Keep
- Indentation: spaces only, 2 spaces.
@firecall
firecall / margin-utilities.css
Created July 7, 2025 09:11
Bootstrap 5-style Responsive Margin Utility Classes
/* Generated by Copilot */
/* Bootstrap 5-style Responsive Margin Utility Classes */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
@firecall
firecall / nord_theme_css_variables_hex_rgb.css
Created February 13, 2025 02:42
Nord Theme. CSS Variables in HEX and RGB.
/* https://www.nordtheme.com/ */
:root {
--nord0: #2e3440;
--nord1: #3b4252;
--nord2: #434c5e;
--nord3: #4c566a;
--nord4: #d8dee9;
--nord5: #e5e9f0;
--nord6: #eceff4;
@firecall
firecall / qbt_excluded_file_names.txt
Last active October 14, 2026 07:36
qBittorent Excluded File Names List
*.exe
*.lnk
*.php
*.pif
*.scr
*.bat
*.com
*.arj
*.url
*.txt
@firecall
firecall / .solargraph.yml
Created August 18, 2024 04:41
.solargraph.yml
---
include:
- "**/*.rb"
exclude:
- spec/**/*
- test/**/*
- vendor/**/*
- ".bundle/**/*"
require: []
domains: []
@firecall
firecall / .eslintrc.yml
Created August 18, 2024 04:41
.eslintrc.yml
# .eslintrc.yml
env:
browser: true
es2021: true
jquery: true
extends:
- standard
parserOptions:
ecmaVersion: latest
@firecall
firecall / .erb-lint.yml
Created August 18, 2024 04:40
.erb-lint.yml
---
EnableDefaultLinters: true
linters:
ErbSafety:
enabled: true
better_html_config: .better-html.yml
Rubocop:
enabled: true
rubocop_config:
inherit_from:
@firecall
firecall / .haml-lint.yml
Created August 18, 2024 04:40
.haml-lint.yml
linters:
ConsecutiveComments:
enabled: false
IdNames:
enabled: false
ImplicitDiv:
enabled: false
severity: error
InlineStyles:
enabled: false