This file contains hidden or 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
<?php | |
/************************************************************************ | |
* REQUIRED | |
* | |
* Access Key ID and Secret Acess Key ID, obtained from: | |
* http://aws.amazon.com | |
***********************************************************************/ | |
define('AWS_ACCESS_KEY_ID', 'TODO'); | |
define('AWS_SECRET_ACCESS_KEY', 'TODO'); |
This file contains hidden or 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
<?php | |
/** | |
Amazon Seller Central Order Notifier | |
Send me a "push" notification for new orders (after polling) | |
*/ | |
// Disable error reporting for AWS' shitty sdk | |
error_reporting(E_ALL & ~E_NOTICE); | |
chdir(dirname(__FILE__)); | |
require_once('.config.inc.php'); |
This file contains hidden or 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/python | |
# cropamz.py | |
# by Dan Nunn | |
# 2016-08-20 | |
from pyPdf import PdfFileWriter, PdfFileReader | |
import sys | |
import os.path | |
# Default the filename to the first argument, otherwise use package.pdf |