What this will cover
- Host a static website at S3
- Redirect
www.website.comtowebsite.com - Website can be an SPA (requiring all requests to return
index.html) - Free AWS SSL certs
- Deployment with CDN invalidation
| [Desktop Entry] | |
| Encoding=UTF-8 | |
| Name=Postman | |
| Exec=postman | |
| Icon=/opt/Postman/resources/app/assets/icon.png | |
| Terminal=false | |
| Type=Application | |
| Categories=Development; |
| #!/bin/sh | |
| script=`basename "$0"` | |
| if [ $# -gt 0 ] && [ "$1" = "-e" ]; then | |
| e="-e" | |
| fi | |
| echo "Removing old Postman tarballs" | |
| rm -f $(ls Postman*.tar.gz) |
| // === Arrays | |
| var [a, b] = [1, 2]; | |
| console.log(a, b); | |
| //=> 1 2 | |
| // Use from functions, only select from pattern | |
| var foo = () => [1, 2, 3]; |
See: Google Documentation on Start the emulator from the command line for more info
| #!/usr/bin/env sh | |
| set -- $(locale LC_MESSAGES) | |
| yesptrn="$1"; noptrn="$2"; yesword="$3"; noword="$4" | |
| parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) | |
| input_sink=$(pacmd stat |grep -o -P "(?<=Default source name: ).*") | |
| output_sink=$(pacmd stat |grep -o -P "(?<=Default sink name: ).*") | |
| echo "Input:" $input_sink |