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
To cover some of my previous work in Ruby, here's a couple old projects: | |
- Speck, Spark, and Slack are very simple; but they're also some of the cleanest, most | |
approachable code I'd written up until then. I'm still fairly proud of them, even if they're not | |
tricky or sophisticated (well, except a couple lines of Slack.): | |
<http://ell.io/tt$Speck> <http://ell.io/tt$Slack> <http://ell.io/tt$Spark> | |
- In a similar vein (‘simple, but hopefully evident of my desire for clean, communicative code’), | |
two more small libraries / tools: <http://ell.io/tt$Nfoiled> and <http://ell.io/tt$git-blog> |
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
This is my gist. | |
There are many like it, but this one is mine. | |
It is my life. | |
I must master it as I must master my life. | |
Without me, gist is sad. | |
Without gist, I am sad. |
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
def what_is_gist | |
Sex::Pure | |
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
puts "So I can name files, pretty cool..." |
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
It is more than a pastie clone - it's a versioned pastie! Through the eversexy git! <3 |
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
# Translation note: | |
# init() will not be needed. Our input is already ready to be read. (Alliteration :D) | |
# Translated from http://compilers.iecc.com/crenshaw/tutor1.txt | |
TAB = "\t" | |
class scanner: | |
def __init__(self): | |
self.input = list(raw_input()) |
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
find . -name ".git" -exec rm -rf {} \; |
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
Size := Object clone | |
large := Size new | |
medium := Size new | |
small := Size new | |
Colour := Object clone | |
black := Colour new | |
brown := Colour new | |
white := Colour new | |
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
[STDERR, STDOUT, STDIN].each {|io| io.sync = true if !io.sync } | |
while true | |
ready = select([STDIN]) | |
if ready.flatten.include? STDIN | |
foo = STDIN.gets | |
p foo | |
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
[Wed Jul 23 - 18:30:06] [elliottcable @ Bishop] [~/Code/rat/] | |
-- git-rebase --interactive | |
[Wed Jul 23 - 18:30:10] [elliottcable @ Bishop] [~/Code/rat/] | |
-- |
OlderNewer