Public Gists by michelangelo-altamore

Gravatar
Wed Nov 18 07:36:19 -0800 2009
1
2
3
# ruby_koans by EdgeCase for http://rubynetto.cataniarb.org
# The path to Ruby Enlightenment starts with the following:
Gravatar
Thu Aug 27 13:50:35 -0700 2009
1
2
3
Martin DeMello's Gooey Challenge
================================
[*Original URL:* http://hackety.org/2008/06/12/martinDemellosGooeyChallenge.html](http://hackety.org/2008/06/12/martinDemellosGooeyChallenge.html)
Gravatar
Tue Jul 14 16:46:51 -0700 2009
1
2
3
# produce an array of active record models for a ruby on rails app
# by Michelangelo Altamore
 
Gravatar
Fri Mar 20 03:08:44 -0700 2009
1
2
3
# purge.rb
 
def delete_if_existent(file_name)
Gravatar
Sat Mar 14 11:42:35 -0700 2009
1
2
3
#! /bin/bash
# erb2haml
# by Michelangelo Altamore
Gravatar
Thu Mar 05 09:45:00 -0800 2009
1
2
3
class ToHaml
  def initialize(path)
    @path = path
Gravatar
Sun Mar 01 02:55:03 -0800 2009
1
2
3
module DelegateAttributes
 
  def self.included(base)
Gravatar
Sat Feb 28 13:45:46 -0800 2009
1
2
3
# deploy.rb
 
require 'yaml'
Gravatar
Sat Feb 21 17:10:06 -0800 2009
1
2
3
What is this life if, full of care,
We have no time to stand and stare.
 
Gravatar
Mon Feb 09 06:19:44 -0800 2009
1
2
3
initializer "time_formats.rb",
%q{def quarter(month)
(((month - 1) / 3) + 1) if (1..12).member? month
Gravatar
Sat Feb 07 01:01:48 -0800 2009
1
2
3
# ~/.irbrc file
 
# From http://giantrobots.thoughtbot.com/2008/12/23/script-console-tips