|
# Example mongrel harness for camping apps with rv
#
# author: Evan Weaver
# url: http://blog.evanweaver.com/articles/2006/12/19/rv-a-tool-for-luxurious-camping
# license: AFL 3.0
Language: Ruby LOC: 27 RubyForge (SVN) : Snax Fauna (project search) : .../fauna/rv/rv/harness/rv_harness.rb
|
add_method_tracer :get_multi, 'MemCache/read' if self.method_defined? :get_multi
end if defined? MemCache
# Support for libmemcached through Evan Weaver's memcached wrapper
# http://blog.evanweaver.com/files/doc/fauna/memcached/classes/Memcached.html
Memcached.class_eval do
Language: Ruby LOC: 9 Spider_330 : hansard (project search) : .../lib/new_relic/agent/instrumentation/memcache.rb
|
#!/usr/bin/env ruby
# An IRC eval bot for Ruby, by Evan Weaver
# http://blog.evanweaver.com/articles/2007/01/02/a-ruby-eval-bot-for-irc-kirby
# Copyright 2007 Cloudburst, LLC. See included LICENSE file.
Language: Ruby Copyright 2007 Cloudburst, LLC. See included LICENSE file. LOC: 112 RubyForge (SVN) : Snax Fauna (project search) : .../fauna/fauna/kirby/kirby/kirby.rb
|
require File.join(File.dirname(__FILE__), "lib", "model_extensions")
require File.join(File.dirname(__FILE__), "lib", "session_extensions")
# load Facebook YAML configuration file (credit: Evan Weaver)
::FACEBOOK = {}
begin
Language: Ruby LOC: 45 Spider_330 : prod-proactive-display-framework (project search) : .../2008.10.01/vendor/plugins/rfacebook/init.rb
|
RAILS_DEFAULT_LOGGER.debug "** FRIENDSTER INFO: It looks like you don't have memcache-client, so MemCacheStore was not ex...
end
# load Friendster configuration file (credit: Evan Weaver)
begin
yamlFile = YAML.load_file("#{RAILS_ROOT}/config/friendster.yml")
Language: Ruby License: AL20 Copyright 2008 Friendster Inc Licensed under the Apache License, Version 2.0 (the "License"); LOC: 96 Spider_320 : friendster-rails-api (project search) : .../data.tar.gz.---/lib/friendster_on_rails/plugin/init.rb
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Rake tasks modified from Evan Weaver's article
# http://blog.evanweaver.com/articles/2007/07/13/developing-a-facebook-app-locally
namespace "facebook" do
Language: Ruby (c) 2007, Matt Pizzimenti (www.livelearncode.com) LOC: 82 RubyForge (SVN) : rfacebook (project search) : .../rfacebook/lib/rfacebook_on_rails/plugin/rake.rb
|
RAILS_DEFAULT_LOGGER.debug "** RFACEBOOK INFO: It looks like you don't have memcache-client, so MemCacheStore was not ext...
end
# load Facebook configuration file (credit: Evan Weaver)
begin
yamlFile = YAML.load_file("#{RAILS_ROOT}/config/facebook.yml")
Language: Ruby (c) 2007, Matt Pizzimenti (www.livelearncode.com) LOC: 87 RubyForge (SVN) : rfacebook (project search) : .../rfacebook/lib/rfacebook_on_rails/plugin/init.rb
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Rake tasks modified from Evan Weaver's article
# http://blog.evanweaver.com/articles/2007/07/13/developing-a-facebook-app-locally
namespace "facebook" do
Language: Ruby (c) 2007, Matt Pizzimenti (www.livelearncode.com) LOC: 82 RubyForge (SVN) : DonorTrust (project search) : .../rfacebook-0.9.7/lib/rfacebook_on_rails/plugin/rake.rb
|
RAILS_DEFAULT_LOGGER.debug "** RFACEBOOK INFO: It looks like you don't have memcache-client, so MemCacheStore was not ext...
end
# load Facebook configuration file (credit: Evan Weaver)
begin
yamlFile = YAML.load_file("#{RAILS_ROOT}/config/facebook.yml")
Language: Ruby (c) 2007, Matt Pizzimenti (www.livelearncode.com) LOC: 87 RubyForge (SVN) : DonorTrust (project search) : .../rfacebook-0.9.7/lib/rfacebook_on_rails/plugin/init.rb
|
end
def friendster_canvas_backtrace(exception)
# TODO: potentially integrate features from Evan Weaver's friendster_exceptions
friendsterBacktraceLines = []
exception.backtrace.each do |line|
Language: Ruby License: AL20 Copyright 2008 Friendster Inc Licensed under the Apache License, Version 2.0 (the "License"); LOC: 183 Spider_320 : friendster-rails-api (project search) : .../friendster-0.1.2.gem/data.tar.gz.---/lib/friendster_on_rails/controller_extensions.rb
|
# end
def facebook_canvas_backtrace(exception)
# TODO: potentially integrate features from Evan Weaver's facebook_exceptions
rfacebookBacktraceLines = []
exception.backtrace.each do |line|
Language: Ruby (c) 2007, Matt Pizzimenti (www.livelearncode.com) LOC: 272 RubyForge (SVN) : rfacebook (project search) : .../rfacebook/rfacebook/lib/rfacebook_on_rails/controller_extensions.rb
|
# end
def facebook_canvas_backtrace(exception)
# TODO: potentially integrate features from Evan Weaver's facebook_exceptions
rfacebookBacktraceLines = []
exception.backtrace.each do |line|
Language: Ruby (c) 2007, Matt Pizzimenti (www.livelearncode.com) LOC: 293 RubyForge (SVN) : DonorTrust (project search) : .../gems/rfacebook-0.9.7/lib/rfacebook_on_rails/controller_extensions.rb
|
|