Skip to content

Instantly share code, notes, and snippets.

sudo apt-get install nginx
sudo apt-get install php5-fpm
sudo apt-get install php5-suhosin
sudo apt-get install php5-cli
sudo vim /etc/php5/fpm/php.ini #changed error reporting
sudo vim /etc/nginx/sites-enabled/default #enabled commented out recipe for PHP-FPM
sudo mkdir /opt/web
sudo chown ubuntu:ubuntu /opt/web
@mwillerich
mwillerich / ello.md
Last active August 29, 2015 14:15 — forked from conatus/ello.md

Ello API

This is a basic exploration of the Ello API. Completely unofficial, your mileage my vary, don't smash their servers as they are likely very busy.

Methods return HTML for their representation where appropriate which is a nice little pattern. Everything returns application/json.

Like this:

{
 "id": ,
@mwillerich
mwillerich / gist:efb9fed51d0430045b31
Created November 23, 2015 16:12
testing TA-828
Testing broadcast:
1. get 2 dev or qa instances under your control, and check out the relevant branch on both machines
2. note down the instances' hostnames or IPs
3. on one of the instances, do this (all commands without the quotes): `rm /mnt/data/www/checkout/shared/config/tokens/* && rm /mnt/data/www/checkout/shared/cache/first-boot`
4. wait for 30 seconds or so, then run `restart checkout`
5. call this (on one of the instances) to create a file "instance-1.txt", which will hold all translations for that instance: `curl http://{instance-hostname or ip}:8000/api/tokens | python -mjson.tool > instance-1.txt`
6. call this on the same instance to create a file "instance-2.txt", which will hold all translations for that instance: `curl http://{other-instance-hostname or ip}:8000/api/tokens | python -mjson.tool > instance-2.txt`
7. both SHOULD create a file that has some text (with curly braces and such) in it
8. run `diff instance-1.txt instance-2.txt | grep ">" | wc -l`
9. you SHOULD get a number as a result t
Adyen Test Card Numbers
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform.
For all cards use the following expiration and CVV2/CVC2/or CID for Amex.
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
06/2016 OR 08/2018 737 7373
@mwillerich
mwillerich / readme.md
Created June 22, 2016 09:28 — forked from vbence86/readme.md
Register a member to a Babel Test Environment through Babel REST API

Register a member

  • Send an HTTP POST Request as follows

URL

https://babel-api-0-elb-external.babeltest.photobox.com/v2/Community/Member/New

HTTP Headers