Skip to content

Instantly share code, notes, and snippets.

View sanderson's full-sized avatar

Scott Anderson sanderson

View GitHub Profile
@jedgalbraith
jedgalbraith / gist:5217588
Last active December 15, 2015 06:39
example pagoda worker error handler
# First set the custom error handler at the beginning of the script:
# php docs: http://php.net/manual/en/function.set-error-handler.php
set_error_handler('workerErrorHandler');
# Next define the workerErrorHandler function:
function workerErrorHandler($errno, $errstr, $errfile, $errline)
{
if (!(error_reporting() & $errno)) {
// This error code is not included in error_reporting
@sanderson
sanderson / .pagodarc
Created March 7, 2013 20:57
.pagodarc Example
---
:help: false
:a:
:h: false
:username: your_username
:u: your_username
:password: your_password
:p: your_password
commands:
:init: {}
@notxarb
notxarb / subnets.txt
Last active May 12, 2016 21:35
Pagodabox CIDR addresses
75.126.19.144/28
75.126.23.16/28
184.173.69.128/28
50.97.157.0/26
75.126.59.16/28