Skip to content

Instantly share code, notes, and snippets.

View MirkoCindric's full-sized avatar

Mirko Cindric MirkoCindric

View GitHub Profile
@MirkoCindric
MirkoCindric / prepare-commit-msg
Created June 27, 2021 02:36 — forked from stefanbuck/prepare-commit-msg
Ticket number git hook
#!/usr/bin/env bash
#
# Authors:
# Stefan Buck (https://github.com/stefanbuck)
# Thomas Ruoff (https://github.com/tomru)
#
#
# Description:
# Are you still prefixing your commits with a ticket number manually? You will love this script!
# This is a git hook script that will automatically prefix your commit messages with a ticket
/*
As of version 1.1.2, Propane will load and execute the contents of
~Library/Application Support/Propane/unsupported/caveatPatchor.js
immediately following the execution of its own enhancer.js file.
You can use this mechanism to add your own customizations to Campfire
in Propane.
Below you'll find two customization examples.
@MirkoCindric
MirkoCindric / routes.rb
Created September 1, 2010 02:18 — forked from radar/routes.rb
ActionController::Routing::Routes.draw do |map|
map.twitter 'twitter', :controller => "twitter", :action => "twitter"
map.root :controller => "twitter"
end