Skip to content

Instantly share code, notes, and snippets.

View afeld's full-sized avatar

Aidan Feldman afeld

View GitHub Profile
@clintel
clintel / gist:1155906
Created August 19, 2011 02:40
Fenced code in bullet lists with GitHub-flavoured MarkDown??

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    Code
    More Code
    
@hinke
hinke / Yammerstrano.rb
Created August 11, 2011 11:00
A capistrano extension for sending deploy messages to yammer
Capistrano::Configuration.instance(:must_exist).load do
require 'httparty'
before "deploy", "yammer:notify_deploy_start"
after "deploy", "yammer:notify_deploy_success"
after "deploy:rollback", "yammer:notify_deploy_fail"
namespace :yammer do
desc "Notify a Yammer account that a deploy just started"
task :notify_deploy_start do