code stringlengths 1 1.73M | language stringclasses 1
value |
|---|---|
#!/usr/local/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai... | Ruby |
#!/usr/local/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai... | Ruby |
#!/usr/local/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.lo... | Ruby |
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
class Test::Unit::TestCase
# Transactional fixtures accelerate your tests by wrapping each test method
# in a transaction that's rolled back on completion. This ensures that the
# test datab... | Ruby |
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "theme/css"
sass_dir = "theme/scss"
images_dir = "images"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :co... | Ruby |
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "theme/css"
sass_dir = "theme/scss"
images_dir = "images"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :co... | Ruby |
source :rubygems
gem 'google-api-client', '>= 0.5'
gem 'launchy', '>= 2.1.1' | Ruby |
# Copyright (C) 2012 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | Ruby |
#!/usr/bin/ruby1.8
# -*- coding: utf-8 -*-
# Copyright:: Copyright 2011 Google Inc.
# License:: Apache 2.0
# Original Author:: Bob Aman, Winton Davies, Robert Kaplow
# Maintainer:: Robert Kaplow (mailto:rkaplow@google.com)
require 'rubygems'
require 'sinatra'
require 'google/api_client'
enable :sessions
# FILL IN T... | Ruby |
source :rubygems
gem 'google-api-client', '>= 0.5'
gem 'sinatra', '>= 1.3' | Ruby |
source :rubygems
gem 'google-api-client', '>= 0.5'
gem 'omniauth', '>= 1.1.1'
gem 'google-api-omniauth', '>= 0.1.0'
gem 'sinatra', '>= 1.3'
| Ruby |
require 'bundler/setup'
require 'sinatra/base'
require 'omniauth'
require 'google/omniauth'
require 'google/api_client/client_secrets'
CLIENT_SECRETS = Google::APIClient::ClientSecrets.load
class App < Sinatra::Base
def client
c = (Thread.current[:client] ||= Google::APIClient.new)
# It's really important t... | Ruby |
source :rubygems
gem 'google-api-client', '>= 0.5'
gem 'sinatra', '>= 1.3' | Ruby |
require 'rubygems'
require 'google/api_client'
require 'sinatra'
require 'logger'
enable :sessions
def logger; settings.logger end
def api_client; settings.api_client; end
def calendar_api; settings.calendar; end
def user_credentials
# Build a per-request oauth credential based on token stored in session
# whi... | Ruby |
require 'thin'
require 'launchy'
require 'google/api_client'
require 'google/api_client/client_secrets'
# Small helper for the sample apps for performing OAuth 2.0 flows from the command
# line. Starts an embedded server to handle redirects.
class CommandLineOAuthHelper
def initialize(scope)
credentials = Goo... | Ruby |
source :rubygems
gem 'google-api-client', '>= 0.5'
| Ruby |
# Inspired by https://gist.github.com/3166610
require 'google/api_client'
require 'date'
# Update these to match your own apps credentials
service_account_email = 'yourapp@developer.gserviceaccount.com' # Email of service account
key_file = 'privatekey.p12' # File containing your private key
key_secret = 'notasecret' ... | Ruby |
# $DEBUG = 1
require 'test/unit'
# require 'amazon_fps'
require '../lib/amazon_fps'
class TestAmazonFPS < Test::Unit::TestCase
def setup
@credentials = {
'AWSAccessKeyId' => 'abc123'
}
@options = {
# NOTE: change this to your cert subject as per
# `openssl x509 -in aws.cer -sub... | Ruby |
# -*- ruby -*-
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'rubygems'
require 'hoe'
require 'amazon_fps'
Hoe.new('amazon-fps-ruby', AmazonFPS::VERSION) do |p|
p.rubyforge_name = 'amazon-fps-ruby'
p.summary = 'Ruby Gem for Amazon Flexible Payment Service (FPS)'
p.author = 'Josh Peck'
p.email = 'jmp@j... | Ruby |
# SYNOPSIS
# InstallPaymentInstructionBatch(body)
#
# ARGS
# body InstallPaymentInstructionBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchRequest
#
# RETURNS
# body InstallPaymentInstructionBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}Inst... | Ruby |
# -*- ruby -*-
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'rubygems'
require 'hoe'
require 'amazon_fps'
Hoe.new('amazon-fps-ruby', AmazonFPS::VERSION) do |p|
p.rubyforge_name = 'amazon-fps-ruby'
p.summary = 'Ruby Gem for Amazon Flexible Payment Service (FPS)'
p.author = 'Josh Peck'
p.email = 'jmp@j... | Ruby |
# $Id$
$: << File.dirname(__FILE__)
require 'rubygems'
begin
gem 'soap4r'
rescue
require_gem 'soap4r'
end
require 'soap/soap'
require 'soap/mapping'
require "wss4r/rpc/wssdriver"
require "wss4r/tokenresolver/certificateresolver"
require 'defaultDriver'
require 'aws_credentials'
require 'rexml_extensions'
class A... | Ruby |
module REXML
module Parsers
class BaseParser
alias :oldpull :pull
# KLUDGE: Investigate why REXML is only parsing the base (SOAP) msg and
# not including the entire WSS4R (signed) message before sending
# (somewhere in WSS4R -> SOAP4R -> REXML)
def pull
# $stdout.puts "*" * 80
# $stdout.puts @sourc... | Ruby |
require 'soap/header/simplehandler'
class AmazonFPS
class HeaderHandler < SOAP::Header::SimpleHandler
attr_reader :tag
attr_writer :value
def initialize(tag, value)
super(XSD::QName.new(nil, tag))
@tag = tag
@value = value
end
def on_simple_outbound
@value
end
end... | Ruby |
# $DEBUG = 1
require 'test/unit'
require '../lib/amazon_fps'
class TestAmazonFPS < Test::Unit::TestCase
def setup
@credentials = {
'AWSAccessKeyId' => 'abc123'
}
@options = {
# NOTE: change this to your cert subject as per
# `openssl x509 -in aws.cer -subject`
:subject =... | Ruby |
# -*- ruby -*-
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'rubygems'
require 'hoe'
require 'amazon_fps'
Hoe.new('amazon-fps-ruby', AmazonFPS::VERSION) do |p|
p.rubyforge_name = 'amazon-fps'
p.summary = 'Ruby Gem for Amazon Flexible Payment Service (FPS)'
p.author = 'Josh Peck'
p.email = 'jmp@joshpe... | Ruby |
# SYNOPSIS
# InstallPaymentInstructionBatch(body)
#
# ARGS
# body InstallPaymentInstructionBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchRequest
#
# RETURNS
# body InstallPaymentInstructionBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}Inst... | Ruby |
# -*- ruby -*-
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'rubygems'
require 'hoe'
require 'amazon_fps'
Hoe.new('amazon-fps-ruby', AmazonFPS::VERSION) do |p|
p.rubyforge_name = 'amazon-fps'
p.summary = 'Ruby Gem for Amazon Flexible Payment Service (FPS)'
p.author = 'Josh Peck'
p.email = 'jmp@joshpe... | Ruby |
# $Id$
$: << File.dirname(__FILE__)
require 'rubygems'
begin
gem 'soap4r'
rescue
require_gem 'soap4r'
end
require 'soap/soap'
require 'soap/mapping'
require "wss4r/rpc/wssdriver"
require "wss4r/tokenresolver/certificateresolver"
require 'defaultDriver'
require 'aws_credentials'
require 'rexml_extensions'
class A... | Ruby |
module REXML
module Parsers
class BaseParser
alias :oldpull :pull
# KLUDGE: Investigate why REXML is only parsing the base (SOAP) msg and
# not including the entire WSS4R (signed) message before sending
# (somewhere in WSS4R -> SOAP4R -> REXML)
def pull
# $stdout.puts "*" * 80
# $stdout.puts @sourc... | Ruby |
require 'soap/header/simplehandler'
class AmazonFPS
class HeaderHandler < SOAP::Header::SimpleHandler
attr_reader :tag
attr_writer :value
def initialize(tag, value)
super(XSD::QName.new(nil, tag))
@tag = tag
@value = value
end
def on_simple_outbound
@value
end
end... | Ruby |
# $DEBUG = 1
require 'test/unit'
# require 'amazon_fps'
require '../lib/amazon_fps'
class TestAmazonFPS < Test::Unit::TestCase
def setup
@credentials = {
'AWSAccessKeyId' => 'abc123'
}
@options = {
# NOTE: change this to your cert subject as per
# `openssl x509 -in aws.cer -sub... | Ruby |
# -*- ruby -*-
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'rubygems'
require 'hoe'
require 'amazon_fps'
Hoe.new('amazon-fps-ruby', AmazonFPS::VERSION) do |p|
p.rubyforge_name = 'amazon-fps-ruby'
p.summary = 'Ruby Gem for Amazon Flexible Payment Service (FPS)'
p.author = 'Josh Peck'
p.email = 'jmp@j... | Ruby |
# SYNOPSIS
# InstallPaymentInstructionBatch(body)
#
# ARGS
# body InstallPaymentInstructionBatchRequest - {http://fps.amazonaws.com/doc/2007-01-08/}InstallPaymentInstructionBatchRequest
#
# RETURNS
# body InstallPaymentInstructionBatchResponse - {http://fps.amazonaws.com/doc/2007-01-08/}Inst... | Ruby |
# -*- ruby -*-
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'rubygems'
require 'hoe'
require 'amazon_fps'
Hoe.new('amazon-fps-ruby', AmazonFPS::VERSION) do |p|
p.rubyforge_name = 'amazon-fps-ruby'
p.summary = 'Ruby Gem for Amazon Flexible Payment Service (FPS)'
p.author = 'Josh Peck'
p.email = 'jmp@j... | Ruby |
# $Id$
$: << File.dirname(__FILE__)
require 'rubygems'
begin
gem 'soap4r'
rescue
require_gem 'soap4r'
end
require 'soap/soap'
require 'soap/mapping'
require "wss4r/rpc/wssdriver"
require "wss4r/tokenresolver/certificateresolver"
require 'defaultDriver'
require 'aws_credentials'
require 'rexml_extensions'
class A... | Ruby |
module REXML
module Parsers
class BaseParser
alias :oldpull :pull
# KLUDGE: Investigate why REXML is only parsing the base (SOAP) msg and
# not including the entire WSS4R (signed) message before sending
# (somewhere in WSS4R -> SOAP4R -> REXML)
def pull
# $stdout.puts "*" * 80
# $stdout.puts @sourc... | Ruby |
require 'soap/header/simplehandler'
class AmazonFPS
class HeaderHandler < SOAP::Header::SimpleHandler
attr_reader :tag
attr_writer :value
def initialize(tag, value)
super(XSD::QName.new(nil, tag))
@tag = tag
@value = value
end
def on_simple_outbound
@value
end
end... | Ruby |
name = Atom Syndication
type = General
| Ruby |
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "theme/css"
sass_dir = "theme/scss"
images_dir = "images"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :co... | Ruby |
#!/usr/bin/env ruby
$:.unshift File.join(File.dirname(__FILE__))
require 'cgi'
require 'amarok.rb'
require "rexml/document"
require 'open-uri'
require 'uri'
@playlist = Amarok.new 'playlist'
@script = Amarok.new 'script'
@contextbrowser = Amarok.new 'contextbrowser'
def cleanup()
puts( "Script was terminated." )
... | Ruby |
$:.unshift File.join(File.dirname(__FILE__))
#represents a dcop amarok call to whatever object is given as prefix
class Amarok
def initialize prefix
@prefix = prefix
end
def method_missing name, *args
method_name = name.to_s.gsub(/_\w/) {|match|
match[-1..-1].upcase
}
argString = ""
a... | Ruby |
#!/usr/bin/env ruby
$:.unshift File.join(File.dirname(__FILE__))
require 'cgi'
require 'amarok.rb'
require "rexml/document"
require 'open-uri'
require 'uri'
@playlist = Amarok.new 'playlist'
@script = Amarok.new 'script'
@contextbrowser = Amarok.new 'contextbrowser'
def cleanup()
puts( "Script was terminated." )
... | Ruby |
#!/usr/bin/env ruby
$:.unshift File.join(File.dirname(__FILE__))
require 'amarok.rb'
require "rexml/document"
SMART_SHUFFLE_ACTION_NAME = "Shuffle"
SMART_SHUFFLE = "Smart Shuffle"
@playlist = Amarok.new 'playlist'
@script = Amarok.new 'script'
@script.add_custom_menu_item(SMART_SHUFFLE, SMART_SHUFFLE_ACTION_NAME)
de... | Ruby |
#!/usr/bin/env ruby
$:.unshift File.join(File.dirname(__FILE__))
require 'amarok.rb'
require "rexml/document"
SMART_SHUFFLE_ACTION_NAME = "Shuffle"
SMART_SHUFFLE = "Smart Shuffle"
@playlist = Amarok.new 'playlist'
@script = Amarok.new 'script'
@script.add_custom_menu_item(SMART_SHUFFLE, SMART_SHUFFLE_ACTION_NAME)
de... | Ruby |
class Array
def shuffle
sort_by { rand }
end
def shuffle!
self.replace shuffle
end
end
module Enumerable
def group_by &block
groups = Hash.new(){|hash, key| hash[key] = []}
each {|item|
retval = block.call(item)
retval = "Unknown" if retval == "" || retval.nil?
groups[retva... | Ruby |
$:.unshift File.join(File.dirname(__FILE__))
require 'utils'
#represents a dcop amarok call to whatever object is given as prefix
class Amarok
def initialize prefix
@prefix = prefix
end
def method_missing name, *args
method_name = name.to_s.gsub(/_\w/) {|match|
match[-1..-1].upcase
}
argS... | Ruby |
name = Smart Shuffle
type = generic
| Ruby |
# IDEA 1
require 'amatl'
Amatl::Widget.create do |widget|
background 'bg.png'
padding 10.pixels
circle(
:center => widget.center,
:radius => (widget.width / 2) - (20 + 10),
:thickness => 5.pixels,
:fill_color => Color['red']) do |c|
line(
:from => c.center,
... | Ruby |
# --
# Amatl - Desktop widgets for Gnome
# Copyright (C) 2008 Ruben Medellin <ruben.medellin.c@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or ... | Ruby |
# --
# Amatl - Desktop widgets for Gnome
# Copyright (C) 2008 Ruben Medellin <ruben.medellin.c@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or ... | Ruby |
# --
# Amatl - Desktop widgets for Gnome
# Copyright (C) 2008 Ruben Medellin <ruben.medellin.c@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or ... | Ruby |
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
| Ruby |
# --
# Amatl - Desktop widgets for Gnome
# Copyright (C) 2008 Ruben Medellin <ruben.medellin.c@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or ... | Ruby |
# --
# Amatl - Desktop widgets for Gnome
# Copyright (C) 2008 Ruben Medellin <ruben.medellin.c@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or ... | Ruby |
# --
# Amatl - Desktop widgets for Gnome
# Copyright (C) 2008 Ruben Medellin <ruben.medellin.c@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or ... | Ruby |
# --
# Amatl - Desktop widgets for Gnome
# Copyright (C) 2008 Ruben Medellin <ruben.medellin.c@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or ... | Ruby |
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "theme/css"
sass_dir = "theme/scss"
images_dir = "images"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :co... | Ruby |
#! /usr/bin/env ruby
$LIBS = ["-lm"]
$IFlags = []
$CFLAGS = []
$LIBS.push(/mingw/ =~ PLATFORM ? "-lopengl32" : "-lc")
def pkg_config(package)
$LIBS.push(*`pkg-config --libs #{package}`.split)
$IFlags.push(*`pkg-config --cflags-only-I #{package}`.split)
$CFLAGS.push(*`pkg-config --cflags-only-other #{package}`.split... | Ruby |
#! /usr/bin/env ruby
$LIBS = ["-lm"]
$IFlags = []
$CFLAGS = []
$LIBS.push(/mingw/ =~ PLATFORM ? "-lopengl32" : "-lc")
def pkg_config(package)
$LIBS.push(*`pkg-config --libs #{package}`.split)
$IFlags.push(*`pkg-config --cflags-only-I #{package}`.split)
$CFLAGS.push(*`pkg-config --cflags-only-other #{package}`.split... | Ruby |
class CreateUsers < ActiveRecord::Migration
def up
create_table :users do |t|
t.string :profile_id
t.string :email
t.string :refresh_token
end
add_index :users, :profile_id
end
def down
drop_table :users
end
end
| Ruby |
# Copyright (C) 2012 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | Ruby |
source :gemcutter
gem 'sinatra', :require => 'sinatra/base'
gem 'thin', '~> 1.3'
gem 'pg'
gem 'sinatra-activerecord'
gem 'google-api-client', '>= 0.4.4', :require => 'google/api_client'
group :development do
gem 'rake'
gem 'sqlite3-ruby'
end
| Ruby |
require 'sinatra.rb'
# Sinatra defines #set at the top level as a way to set application configuration
set :run, false
set :env, (ENV['RACK_ENV'] ? ENV['RACK_ENV'].to_sym : :development)
require './main'
run Sinatra::Application | Ruby |
require 'sinatra/activerecord/rake'
require './main' | Ruby |
class CreateUsers < ActiveRecord::Migration
def up
create_table :users do |t|
t.string :profile_id
t.string :email
t.string :refresh_token
end
add_index :users, :profile_id
end
def down
drop_table :users
end
end
| Ruby |
# Copyright (C) 2012 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | Ruby |
source :gemcutter
gem 'sinatra', :require => 'sinatra/base'
gem 'thin', '~> 1.3'
gem 'pg'
gem 'sinatra-activerecord'
gem 'google-api-client', '>= 0.4.4', :require => 'google/api_client'
group :development do
gem 'rake'
gem 'sqlite3-ruby'
end
| Ruby |
require 'sinatra.rb'
# Sinatra defines #set at the top level as a way to set application configuration
set :run, false
set :env, (ENV['RACK_ENV'] ? ENV['RACK_ENV'].to_sym : :development)
require './main'
run Sinatra::Application | Ruby |
require 'sinatra/activerecord/rake'
require './main' | Ruby |
class CreateUsers < ActiveRecord::Migration
def up
create_table :users do |t|
t.string :profile_id
t.string :email
t.string :refresh_token
end
add_index :users, :profile_id
end
def down
drop_table :users
end
end
| Ruby |
# Copyright (C) 2012 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | Ruby |
source :gemcutter
gem 'sinatra', :require => 'sinatra/base'
gem 'thin', '~> 1.3'
gem 'pg'
gem 'sinatra-activerecord'
gem 'google-api-client', '>= 0.4.4', :require => 'google/api_client'
group :development do
gem 'rake'
gem 'sqlite3-ruby'
end
| Ruby |
require 'sinatra.rb'
# Sinatra defines #set at the top level as a way to set application configuration
set :run, false
set :env, (ENV['RACK_ENV'] ? ENV['RACK_ENV'].to_sym : :development)
require './main'
run Sinatra::Application | Ruby |
require 'sinatra/activerecord/rake'
require './main' | Ruby |
#
# jQuery File Tree Ruby Connector
#
# Version 1.01
#
# Erik Lax
# http://datahack.se
# 13 July 2008
#
# History
#
# 1.01 Initial Release
#
# Output a list of files for jQuery File Tree
#
#<settings>
#root = "/absolute/path/"
# or
root = File.expand_path(".")
#</settings>
#<code>
require "cgi"... | Ruby |
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
class Test::Unit::TestCase
# Transactional fixtures accelerate your tests by wrapping each test method
# in a transaction that's rolled back on completion. This ensures that the
# test datab... | Ruby |
#!c:/ruby/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired... | Ruby |
#!c:/ruby/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
#... | Ruby |
#!c:/ruby/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired... | Ruby |
#!c:/ruby/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired... | Ruby |
#!c:/ruby/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
#... | Ruby |
#!c:/ruby/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired... | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/breakpointer' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/destroy' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/about' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/runner' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/runner' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/server' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/generate' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/destroy' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/plugin' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/breakpointer' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/console' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/about' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/server' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/console' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/plugin' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../../config/boot'
require 'commands/process/spawner'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../../config/boot'
require 'commands/process/spawner'
| Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.