This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.unshift(File.dirname(__FILE__), ".") | |
require 'spec_helper' | |
module Butler | |
def self.included base | |
base.instance_eval { @place = [] } | |
end | |
def put_fork_on_the_left |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module RadioChannels | |
def self.get_data(url) | |
# Some code | |
end | |
def mixed_in_method(url) | |
RadioChannels.get_data(url) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls _posts/* | grep -c -E '[0-9]{4}-[0-9]{2}-[0-9]{2}' | while read fn; do day=`grep '#postdate\|#date' $fn | cut -d '-' -f 3 | cut -d ' ' -f 1`; git mv $fn `echo $fn | sed -E "s/-\([0-9]{2}\)-/-\1-$day-/"`; done |