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
| const AWS = require('aws-sdk'); | |
| const { | |
| red, green, yellow, | |
| } = require('kleur'); | |
| const s3 = new AWS.S3(); | |
| const partSize = 1024 * 1024 * 5; | |
| const multipartMap = { | |
| Parts: [], | |
| }; |
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
| const colors = { | |
| Reset : "\x1b[0m", | |
| FontBlack : "\x1b[30m", | |
| FontRed : "\x1b[31m", | |
| FontGreen : "\x1b[32m", | |
| FontYellow : "\x1b[33m", | |
| FontBlue : "\x1b[34m", | |
| FontMagenta : "\x1b[35m", | |
| FontCyan : "\x1b[36m", | |
| FontWhite : "\x1b[37m", |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| @author: Olayinka Otuniyi | |
| Created on Wed Dec 10 09:12:17 2019 | |
| """ | |
| import platform | |
| from flask import Flask, render_template | |
| from flask_cors import CORS |
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
| const path = require("path"); | |
| const webpack = require("webpack"); | |
| const HtmlWebpackPlugin = require("html-webpack-plugin"); | |
| const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
| const CopyWebpackPlugin = require("copy-webpack-plugin"); | |
| const autoprefixer = require("autoprefixer"); | |
| module.exports = env => ({ | |
| mode: env, | |
| entry: { |