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
$COMPANY="CompanyName" | |
$PWD="secret" | |
$MERCHANT="MerchantAccountName" | |
wget --http-user=report%Company.$COMPANY --http-password=$PWD \ | |
--quiet --recursive --accept '.csv' --no-check-certificate \ | |
https://ca-live.adyen.com/reports/download/MerchantAccount/$MERCHANT/ |
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 more info: https://gist.github.com/1120938 |
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
#!/bin/bash | |
set -e # exit on error | |
### README | |
# * built for Ubuntu (Lucid Lynx) | |
# * uses GIT via SSH because of !@#$% proxy at work | |
# * installs your desired ruby version (1.9.2-p290 per default) using rbenv | |
# ** including openssl (needed by bundler) | |
# ** including sqlite (probably needed for rails apps) | |
# | |
# Before you start: |
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
#!/usr/bin/env ruby | |
$:.unshift File.join(File.dirname(__FILE__), *%w{ .. lib }) | |
require 'commander/import' | |
require 'jekyll' | |
program :name, 'jekyll' | |
program :version, Jekyll::VERSION | |
program :description, 'Jekyll is a blog-aware, static site generator in Ruby' |
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 'omniauth/oauth' | |
require 'multi_json' | |
module OmniAuth | |
module Strategies | |
class Instapaper < OmniAuth::Strategies::XAuth | |
def initialize(app, consumer_key = nil, consumer_secret = nil, options = {}, &block) | |
client_options = { | |
:title => 'Instapaper', |