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
--- | |
ECOM00001: | |
description: "The AWS Access Key Id you provided does not exist." | |
level: alert | |
ECOM00002: | |
description: "Overtime Limit Exceeded" | |
level: retry | |
ECOM00003: | |
description: "The specified bucket does not exist." | |
level: alert |
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 | |
# base code found here: http://stackoverflow.com/questions/3085990/post-a-file-string-using-curl-in-php | |
$delimiter = '----WebKitFormBoundary'.uniqid(); | |
$data = create_post($delimiter, array( | |
'bingo' => 'yes' | |
), array( | |
'file' => array( | |
'filename' => 'data.txt', |
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
// something comparable to PHP range method. Supports numbers and letters. | |
function range(start, end, step) { | |
start || alert('must have 1+ params'); | |
if (!end) {end = start; start = 0;} | |
var step = step || 1; | |
var range = []; | |
var is_num = !isNaN(start); | |
start = !is_num ? start.charCodeAt(0) : start; | |
end = !is_num ? end.charCodeAt(0) : end; | |
step = !is_num ? Math.max(Math.round(step), 1) : step; |
NewerOlder