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
| ### In ext/apache2: | |
| g++ ApplicationPoolServerExecutable.cpp Utils.o Logging.o SystemTime.o CachedFileStat.o -o ApplicationPoolServerExecutable -I.. -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -D_REENTRANT -I/usr/local/include ../libboost_oxt.a -lpthread | |
| /tmp/cc5WSN62.o: In function `Server::start()': | |
| /usr/local/lib/ruby/gems/1.8/gems/passenger-2.1.3/ext/apache2/ApplicationPoolServerExecutable.cpp:617: undefined reference to `boost::this_thread::disable_interruption::disable_interruption()' | |
| /usr/local/lib/ruby/gems/1.8/gems/passenger-2.1.3/ext/apache2/ApplicationPoolServerExecutable.cpp:603: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()' | |
| /usr/local/lib/ruby/gems/1.8/gems/passenger-2.1.3/ext/apache2/ApplicationPoolServerExecutable.cpp:603: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()' | |
| /usr/local/lib/ruby/gems/1.8/gems/passenger-2.1.3/ext/apache2/ApplicationPoolServerExecutable.cpp:603: undefined reference to `boost: |
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
| Merb::BootLoader.after_app_loads do | |
| OpenID::Util.logger = Merb.logger | |
| 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
| [Thu, 16 Apr 2009 11:18:01 GMT] [info] [<0.131.0>] Starting compaction for db "chef" | |
| [Thu, 16 Apr 2009 11:18:01 GMT] [error] [emulator] Error in process <0.220.0> with exit value: {function_clause,[{couch_db,'-copy_docs/3-fun-0-',[not_found,<0.129.0>,{stream,<0.222.0>,<0.221.0>},<0.221.0>]},{lists,map,2},{lists,map,2},{couch_db,copy_docs,3},{couch_db,copy_compact_docs,2},{couch_db,start_copy_compact_int,2}]} | |
| [Thu, 16 Apr 2009 11:18:01 GMT] [error] [<0.46.0>] {error_report,<0.21.0>, | |
| {<0.46.0>,supervisor_report, | |
| [{supervisor,{local,couch_server_sup}}, | |
| {errorContext,child_terminated}, |
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 'sqlite3' | |
| db = SQLite3::Database.new("Cache.db") | |
| entries = db.execute 'select entry_ID,request_key from cfurl_cache_response where request_key like "http://%37assets%";' | |
| entries.each {|e| f = File.open("/tmp/assets/#{e.last.split('/').last}", "w"); data = db.execute("select receiver_data from cfurl_cache_blob_data where entry_ID = #{e.first}"); f.write(data.first); } | |
| ruby file |
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 | |
| require 'rubygems' | |
| require 'thor' | |
| require 'chef' | |
| require 'chef/node' | |
| require 'chef/rest' | |
| # Please see the readme for overview documentation. | |
| # |
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
| # dialplan.rb | |
| parking_lot_menu { | |
| menu 'welcome', 'for-bush-st-press1', 'for-hyde-press2', | |
| :timeout => 8.seconds, :tries => 3 do |link| | |
| link.bush_st 1 | |
| link.hyde_st 2 | |
| } |
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_recipe "apache2" | |
| remote_directory "/usr/local/build/mod_auth_token" do | |
| source "mod_auth_token" | |
| end | |
| execute "build and install mod_auth_token" do | |
| command "cd /usr/local/build/mod_auth_token && apxs2 -ci mod_auth_token.c" | |
| not_if { File.exists?("/usr/lib/apache2/modules/mod_auth_token.so") } | |
| 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
| require '/Volumes/37s/campfire/app/models/conference_call' | |
| sandbox { | |
| conference = nil | |
| #Give the user 3 chances to enter a correct conference number | |
| 3.times do | |
| result = input 6, | |
| :play => 'conf-getconfno', | |
| :timeout => 7, | |
| :accept_key => '#' |
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 File.dirname(__FILE__)+'/../app/models/conference_call' | |
| flowroute_inbound { | |
| conference = nil | |
| #Give the user 3 chances to enter a correct conference number | |
| 3.times do | |
| result = input 6, | |
| :play => 'conf-getconfno', | |
| :timeout => 10, | |
| :accept_key => '#' |
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
| has_many :question_relations, :foreign_key => "relator_id" | |
| has_many :related_questions, :through => :question_relations, :source => :relatee | |
| has_many :inverse_question_relations, :class_name => "QuestionRelation", :foreign_key => "relatee_id" | |
| has_many :inverse_related_questions, :through => :inverse_question_relations, :source => :relator |