This file contains hidden or 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
require 'rubygems' | |
require 'eventmachine' | |
require 'delegate' | |
module TransactionProtocol | |
class Writer < EM::Queue | |
class << self | |
@files = [] | |
attr_accessor :files | |
end |
This file contains hidden or 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
#!/usr/bin/perl4 | |
# Horrible, horrible, horrible edit of someone's | |
# even more horrible "reddit clone in 4 lines of perl". | |
use CGI ':standard'; | |
$dir = File::Basename::dirname( $0 ); | |
chdir $dir; |