This file contains 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
# Source: https://gist.github.com/8d941690a087b0de0e2731a52cfb1f51 | |
############################################################### | |
# Building Event-Driven Microservices In Kubernetes With Dapr # | |
# https://youtu.be/-4sHUvfk2Eg # | |
############################################################### | |
# Additional Info: | |
# - https://dapr.io | |
# - What is microservices architecture?: https://youtu.be/F-37_gV2tMs |
This file contains 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 | |
# | |
# Copyright 2017 Otto Seiskari | |
# Licensed under the Apache License, Version 2.0. | |
# See http://www.apache.org/licenses/LICENSE-2.0 for the full text. | |
# | |
# This file is based on | |
# https://github.com/swagger-api/swagger-ui/blob/4f1772f6544699bc748299bd65f7ae2112777abc/dist/index.html | |
# (Copyright 2017 SmartBear Software, Licensed under Apache 2.0) | |
# |
This file contains 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
# 1.install gource using HomeBrew | |
$ brew install gource | |
# 2.install avconv | |
git clone git://git.libav.org/libav.git | |
cd libav | |
# it will take 3-5 minutes to complie, be patient. | |
./configure --disable-yasm | |
make && make install |
This file contains 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
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
This file contains 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
const AWS = require('aws-sdk'); | |
const fs = require('fs'); | |
const mime = require('mime-types') | |
const path = require("path"); | |
// Base AWS config. | |
// AWS Reference: Make sure the profile exists in ~/.aws/credentials | |
// See managing access keys: | |
// https://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html | |
// https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html#id_users_create_console |
This file contains 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
const AWS = require('aws-sdk'); | |
const fs = require('fs'); | |
const mime = require('mime-types') | |
const path = require("path"); | |
// Base AWS config. | |
// AWS Reference: Make sure the profile exists in ~/.aws/credentials | |
// See managing access keys: | |
// https://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html | |
// https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html#id_users_create_console |