Skip to content

Instantly share code, notes, and snippets.

@SergiHernando
SergiHernando / CLAUDE.md
Created September 30, 2025 10:39
$HOME/.claude/CLAUDE.md

Git Commit Guidelines

  • Limit Git commit messages to 50 characters maximum
  • Prefix commit messages with the related Jira work item code
  • Extract the Jira code from the branch name or PR title when available
  • If the Jira code cannot be determined from branch/PR, ask the user for input
@SergiHernando
SergiHernando / sqlite3_adapter_patch.rb
Created March 6, 2014 15:06
Compatibility in Rails 4 for SQLite3 boolean columns. Add it to config/initializers folder.
# config/initializers/sqlite3_adapter_patch.rb
module ActiveRecord
module ConnectionAdapters
class SQLite3Adapter < AbstractAdapter
QUOTED_TRUE, QUOTED_FALSE = "'t'", "'f'"
def quoted_true
QUOTED_TRUE
end
@SergiHernando
SergiHernando / Products.md
Last active December 13, 2015 20:18
Brands and products I like the most

SaaS

Harvest. Simple online time tracking software.

BaaS

Firebase. A powerful API to store and sync data in realtime.

Hydna. Hydna is a hosted backend into which you can send data and have it instantly appear on other devices.