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
| #!/bin/bash | |
| # Script to install nginx, configure domain, and enable HTTPS with certbot | |
| # Usage: sudo ./setup-nginx-ssl.sh | |
| set -e # Exit on error | |
| # Color codes for output |
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
| require('dotenv/config') | |
| const express = require('express') | |
| const multer = require('multer') | |
| const AWS = require('aws-sdk') | |
| const uuid = require('uuid/v4') | |
| const app = express() | |
| const port = 3000 |
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
| image: node:10.15.3 | |
| pipelines: | |
| default: | |
| - step: | |
| image: node:10.15.3 | |
| caches: | |
| - node | |
| - gradle | |
| script: |
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
| 100% — FF | |
| 95% — F2 | |
| 90% — E6 | |
| 85% — D9 | |
| 80% — CC | |
| 75% — BF | |
| 70% — B3 | |
| 65% — A6 | |
| 60% — 99 | |
| 55% — 8C |