- http://stackoverflow.com/questions/804115 (
rebasevsmerge). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebasevsmerge) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
resetvscheckoutvsrevert) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse) - http://stackoverflow.com/questions/292357 (
pullvsfetch) - http://stackoverflow.com/questions/39651 (
stashvsbranch) - http://stackoverflow.com/questions/8358035 (
resetvscheckoutvsrevert)
If you would like to persist data from your ECS containers, i.e. hosting databases like MySQL or MongoDB with Docker, you need to ensure that you can mount the data directory of the database in the container to volume that's not going to dissappear when your container or worse yet, the EC2 instance that hosts your containers, is restarted or scaled up or down for any reason.
Don't know how to create your own AWS ECS Cluster? Go here!
Sadly the EC2 provisioning process doesn't allow you to configure EFS during the initial config. After your create your cluster, follow the guide below.
If you're using an Alpine-based Node server like duluca/minimal-node-web-server follow this guide:
| #!/bin/bash | |
| cd "`dirname $0`" | |
| # The commit/deployment message | |
| MESSAGE='Uh...' | |
| [ -n "${1}" ] && MESSAGE=${1} | |
| # ----- Part 1 - Prep the source/main repo ----- |
| <header class="container"> | |
| <div class="logo"> | |
| <h1 class="logo__heading"> | |
| <img class="logo__image" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/39255/jpng-logo.png" alt="JPNG.svg" /> | |
| </h1> | |
| <small class="logo__subtitle"><em>This logo was originally 300kb, but compressed down to 69kb using the tool below.</em></small> | |
| </div> |
| <div class="svg-bg"> | |
| <label> | |
| <span class="svg-bg__label">Your SVG: <small>(Type or upload)</small> <div class="svg-bg__button" is="file-upload" v-on:load="loaded">Upload SVG</div></span> | |
| <textarea class="svg-bg__input" ref="input" v-model="input"> | |
| </textarea> | |
| </label> | |
| <span class="svg-bg__label">background-image for CSS: | |
| <button class="svg-bg__button" v-on:click="copy">Copy Output</button></span> |
Sliding panels around to give greater emphasis to the active panel. Uses only CSS :hover states with transform/opacity transitions for maximum performance.
Responsively switches to a stacked layout on smaller screens, or by using the .panels--stacked class
| @echo npm.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
| @echo off | |
| "c:\program files\nodejs\X.X.X\node" --max_old_space_size=4096 "c:\program files\nodejs\X.X.X\node_modules\npm\bin\npm-cli.js" %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
| @echo |
| 'use strict' | |
| const test = foo => { | |
| switch (foo) { | |
| case 'ok': | |
| return console.log('this is fine') | |
| /* istanbul ignore next */ | |
| default: | |
| throw new Error('nope') |
| { | |
| "0": { | |
| "link": "https:\/\/www.facebook.com\/Cavanbah\/", | |
| "id": "128923005880", | |
| "name": "Byron Bay", | |
| "location": { | |
| "city": "Byron Bay", | |
| "country": "Australia", | |
| "latitude": -28.642760546087, |