This file contains 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
class Calculator::FedEx::Base < Calculator::ActiveShipping | |
def carrier | |
ActiveMerchant::Shipping::FedEx.new(:key =>Spree::ActiveShipping::Config[:fedex_api_key], | |
:password =>Spree::ActiveShipping::Config[:fedex_api_password], | |
:account => Spree::ActiveShipping::Config[:fedex_account_number], | |
:login => Spree::ActiveShipping::Config[:fedex_meter_number]) | |
end | |
def to_s | |
super.gsub("Fed Ex", "FedEx") |
This file contains 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
class Calculator::FedEx::TwoDay < Calculator::FedEx::Base | |
def self.description | |
"FedEx 2 Day" | |
end | |
end |
This file contains 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
/*global clearTimeout: false, setTimeout: false | |
*/ | |
var sys = require("sys"); | |
var http = require("http"); | |
var events = require("events"); | |
var user_agent_name = "VSS/4.0.0"; | |
var createRequestWithHeaders = function (request, httpClient, method, path, |
This file contains 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
/*globals | |
encode_multipart_message: false | |
setTimeout: false, clearTimeout: false | |
*/ | |
require("./multipart_encode_verification"); | |
var httped = require("./httped"); | |
var events = require("events"); | |
var sys = require("sys"); | |
var user_agent_name = "Node-Agent/4.0.0"; |
This file contains 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
for f in `grep -nH -rl template --include=*.rb .` | |
do sed -e 's/template\./view./' -i $f | |
done |
This file contains 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
for f in `grep -nH -rl response --include=*.rb .` | |
do sed -e 's/response\./rendered./' -i $f | |
done |
This file contains 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
for f in `grep -nH -rl assigns --include=*.rb .` | |
do sed -e 's/assigns\[\(:.*\)\] = \(.*\)$/assign(\1, \2)/' -i $f | |
done |
This file contains 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
sveit@bartlett:/usr/local/var/lib$ sudo -u couchdb /usr/local/bin/couchdb | |
Apache CouchDB 1.1.0a09cd7a5-git (LogLevel=info) is starting. | |
[error] [<0.103.0>] {error_report,<0.31.0>, | |
{<0.103.0>,crash_report, | |
[[{initial_call,{couch_stats_aggregator,init,['Argument__1']}}, | |
{pid,<0.103.0>}, | |
{registered_name,[]}, | |
{error_info,{exit,{{badmatch,{error,enoent}}, | |
[{couch_stats_aggregator,init,1}, | |
{gen_server,init_it,6}, |
This file contains 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
# | |
# OpenSSL example configuration file. | |
# This is mostly being used for generation of certificate requests. | |
# | |
# This definition stops the following lines choking if HOME isn't | |
# defined. | |
HOME = . | |
RANDFILE = $ENV::HOME/.rnd |
This file contains 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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
OlderNewer