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
1-tr-18su-ka-8dow-56-oo9-13swx-r-k-ife-0nj-rnq-ihb-dd-p-1-0-z-a.info. | |
292fu2013-1-2-3-htt-4t3l60-zqn673-w9gp7kip0422wemrzsftm-htm-com.info. | |
aljumahiriyahalarabiyahallibiyahashshabiyahalishtirakiyahaluzma.info. | |
anderson-piedmont-spartanburg-greenville-easley-spine-pain-care.info. | |
associationfrancaisedesdirecteursdelaphotographiedelatelevision.info. | |
audio-player-zawqkerrhfoepdnmvbdkslahgjvklahjkfqqqojcgrtsksmcls.info. | |
ausencosandwellascentisaaxwaynegossruddswanheinercrimemellifont.info. | |
australianpublicsectoranti-corruptionconference2009fraudrortsin.info. | |
bewarecrimestoppersassistcorruptpolicepoliticcrimecriminalfraud.info. | |
camp-the-lycian-way-camps-the-lycian-way-camping-lycian-way-map.info. |
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
require 'rspec' | |
require 'stringio' | |
# Custom matcher to test text written to standard output and standard error | |
# | |
# @example | |
# expect { $stderr.puts "Some random error" }.to write(/Some.* error/).to(:stderr) | |
# | |
# @example | |
# expect { $stderr.puts "Some specific error" }.to write('Some specific error').to(:stderr) |
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
var system = require('system'); | |
if (system.args.length < 5) { | |
console.info("You need to pass in account name, username, password, and path to casperJS as arguments to this code."); | |
phantom.exit(); | |
} | |
var account = system.args[1]; | |
var username = system.args[2]; | |
var password = system.args[3]; |
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
# install git | |
sudo apt-get install g++ curl libssl-dev apache2-utils libapache2-mod-wsgi | |
sudo apt-get install git-core | |
# download the Node source, compile and install it | |
git clone https://github.com/joyent/node.git | |
cd node | |
./configure | |
make | |
sudo make install | |
# install the Node package manager for later use |
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
require "hmac" | |
require "hmac-sha2" | |
# reference: | |
# http://docs.amazonwebservices.com/AWSECommerceService/2009-07-01/DG/index.html?BasicAuthProcess.html | |
# http://docs.amazonwebservices.com/AWSECommerceService/2009-07-01/DG/index.html?Query_QueryAuth.html | |
module AmazonSignature | |
def sign_request(params) | |
params.reverse_merge!(:Timestamp => timestamp, :Version => "2009-07-01") | |
params.merge!(:Signature => build_signature(params, "GET")) |
NewerOlder