Initial commit.

This commit is contained in:
Chris Lane
2013-07-29 21:34:41 -04:00
commit 2a178b53f9
3 changed files with 62 additions and 0 deletions

24
cheat2 Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/env ruby
# Create a hash of cheatsheets
cheats = {
'tar' => '
some long string
some long string
some long string
some long string
some long string
some long string
',
'git' => '
some long string about git
some long string about git
some long string about git
some long string about git
some long string about git
',
}
# output
puts cheats[ARGV[0]] || 'No cheat sheet found.'