Skip to content

Instantly share code, notes, and snippets.

[
{
"name": "billing_account_id",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "service",
"type": "RECORD",
"mode": "NULLABLE",
#!/bin/sh
#
# redis Startup script for Redis Server
#
# chkconfig: - 90 10
# description: Redis is an open source, advanced key-value store.
#
# processname: redis-server
# config: /etc/redis.conf
# pidfile: /var/run/redis.pid
{
"tracking": {
"slug": "dhl",
"tracking_number": "123456789",
"title": "Title Name",
"smses": [
"+18555072509",
"+18555072501"
],
"emails": [
{
"meta": {
"code": 200
},
"data": {
"tracking": {
"active": true,
"id": "52e0dfd21246ff7488066941",
"slug": "russian-post",
"tracking_number": "RA223547577RU"
{
"meta": {
"code": 200
},
"data": {
"tracking": {
"active": true,
"slug": "russian-post",
"tracking_number": "RA223547577RU"
}
#!/bin/bash
function getpublickey()
{
x=$(curl -fs http://169.254.169.254/latest/meta-data/public-keys/)
if [ $? -eq 0 ]; then
for i in $x; do
index=$(echo $i|cut -d = -f 1)
format=$(curl -s http://169.254.169.254/latest/meta-data/public-keys/$index/)
echo $(curl -s http://169.254.169.254/latest/meta-data/public-keys/$index/$format)
@teddychan
teddychan / _aws_cors_sample_overview.md
Created December 30, 2015 16:01 — forked from iansheridan/_aws_cors_sample_overview.md
AWS CORS sample xml files, solution for Firefox JS/Font access issues

AWS CORS sample xml files

Overview

These are sample files of what can be done for AWS S3 bucket CORS settings

{
"meta": {
"code": 409,
"error_message": "The tracking number is required.",
"error_type": "MissingParameter"
},
"data": {}
}
{
"meta": {
"code": 400,
"error_message": "The courier is not supported.",
"error_type": "InvalidContent"
},
"data": {}
}