Skip to content

Instantly share code, notes, and snippets.

View ttwd80's full-sized avatar

Titi Wangsa bin Damhore ttwd80

View GitHub Profile

Kubernetes the hard way

docker pull gcr.io/google.com/cloudsdktool/cloud-sdk:latest && \
    docker run --rm -it -v ${HOME}/.config/gcloud:/root/.config/gcloud \
        gcr.io/google.com/cloudsdktool/cloud-sdk /bin/bash

Based on commit ca96371e4d2d2176e8b2c3f5b656b5d92973479e

@ttwd80
ttwd80 / gist:a9554e73ee7575584978
Last active February 20, 2016 00:09
s3 post signature
http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-authentication-HTTPPOST.html
calculating a signature.
it has a few componenets.
a. security policy
b. secret access key
c. YYYMMMDDD
d. region
e. service
--
create a function that accepts 5 parameters
test