What this will cover
- Host a static website at S3
- Redirect
www.website.com
towebsite.com
- Website can be an SPA (requiring all requests to return
index.html
) - Free AWS SSL certs
- Deployment with CDN invalidation
const assert = require('assert').strict | |
const allocateTrailers = (carLengths, trailerLength) => { | |
let remainder = trailerLength; | |
const trailers = []; | |
let used = 0 | |
while (used < carLengths.length) { | |
remainder = trailerLength; | |
const trailer = []; |
//+------------------------------------------------------------------+ | |
//| IndRange.mq4 | | |
//| Copyright 2016, MetaQuotes Software Corp. | | |
//| https://www.mql5.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "Copyright 2016, MetaQuotes Software Corp." | |
#property link "https://www.mql5.com" | |
#property version "1.00" | |
#property description "The indicator creates an Range chart" | |
#property strict |