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
Let's make a list of Sinatra-based apps! | |
Apps: | |
- http://github.com/cschneid/irclogger "Sinatra based irclogger.com" | |
- http://github.com/rtomayko/wink "minimalist blogging engine" | |
- http://github.com/foca/integrity "The easy and fun Continuous Integration server" | |
- http://github.com/sr/git-wiki "git-powered wiki" | |
- http://github.com/entp/seinfeld "Seinfeld-inspired productivity calendar to track your public github commits." | |
- http://github.com/karmi/marley "Marley, the blog engine without <textareas>." | |
- http://github.com/ichverstehe/gaze "Serve up your Markdown files with this tiny Sinatra app!" |
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/ruby | |
# Author: Renato Silva | |
if not ARGV[1] =~ /\A[^--]*\z/ | |
goal = "Update cleaner for Eclipse Ganymede, version 2009.2.18" | |
usage = "Usage: #{File.basename($0)} <eclipse home> <target dir> [--all]\n\n\t--all\t Show ignored plugins" | |
puts "\n\t#{goal}\n\n\t#{usage}\n\n" | |
exit | |
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
gauss:rubinius brian$ echo "raise 'fuck this'" > jruby.rb | |
gauss:rubinius brian$ irb | |
>> $LOADED_FEATURES << 'jruby' | |
=> ["e2mmap.rb", "irb/init.rb", "irb/workspace.rb", "irb/context.rb", "irb/extend-command.rb", "irb/output-method.rb", "irb/notifier.rb", "irb/slex.rb", "irb/ruby-token.rb", "irb/ruby-lex.rb", "readline.bundle", "irb/input-method.rb", "irb/locale.rb", "irb.rb", "rubygems/defaults.rb", "thread.bundle", "thread.rb", "etc.bundle", "rbconfig.rb", "rubygems/exceptions.rb", "rubygems/version.rb", "rubygems/requirement.rb", "rubygems/dependency.rb", "rubygems/gem_path_searcher.rb", "rubygems/user_interaction.rb", "rubygems/platform.rb", "rubygems/specification.rb", "rubygems/source_index.rb", "rubygems/builder.rb", "rubygems/config_file.rb", "rubygems/custom_require.rb", "stringio.bundle", "yaml/error.rb", "syck.bundle", "yaml/ypath.rb", "yaml/basenode.rb", "yaml/syck.rb", "yaml/tag.rb", "yaml/stream.rb", "yaml/constants.rb", "rational.rb", "date/format.rb", "date.rb", "yaml/rubytypes.rb", "yaml/types.r |
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
define 'foo' do | |
Java.java.lang.System.setProperty("foo", "bar") | |
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/env ruby | |
# Input: WordPress XML export file. | |
# Outputs: a series of Textile files ready to be included in a Jekyll site, | |
# and comments.yml which contains all approved comments with metadata which | |
# can be used for a Disqus import. | |
require 'rubygems' | |
require 'hpricot' | |
require 'clothred' |
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
ConsenSys AG | |
Individual Contributor License Agreement ("Agreement") | |
Thank you for your interest in ConsenSys AG (ConsenSys). | |
In order to clarify the intellectual property license | |
granted with Contributions from any person or entity, ConsenSys | |
must have a Contributor License Agreement ("CLA") on file that has | |
been signed by each Contributor, indicating agreement to the license | |
terms below. This license is for your protection as a Contributor as | |
well as the protection of ConsenSys and its users; it does not |
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/env python | |
import sys | |
# This is not required if you've installed pycparser into | |
# your site-packages/ with setup.py | |
sys.path.extend(['.', '..']) | |
from pycparser import c_parser, c_ast, parse_file | |
class JNRRender(c_ast.NodeVisitor): |