I hereby claim:
- I am EliasJorgensen on github.
- I am eliasjorgensen (https://keybase.io/eliasjorgensen) on keybase.
- I have a public key whose fingerprint is 1CE8 CBB4 4C48 1701 B7FB 0526 CF57 BF93 EE14 401A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import React from 'react' | |
// Bootstrap centering solution from https://stackoverflow.com/questions/18153234/center-a-column-using-twitter-bootstrap-3 | |
const Center = (props) => ({ | |
<div className='row'> | |
<div className='col-md-2 col-md-offset-5'> | |
{props.children} | |
</div> | |
</div> | |
}) |
In some cases you may need to send data from your Docker containers to your local machine. This could be for sending data to a local webserver or something else entirely, but as it isn’t something that Docker directly supports, we need a bit of a workaraound to achieve it. Luckily, this is why this gist exists. No need to scour the web for hours and contemplate your existance in search for a solution, i’ve already done that part for you!
So there are two ways of achieving this, depending on if you’re running Ubuntu or macOS, as Docker runs inside of a VM on macOS.
.bashrc
(or whatever shell you’re using):// source: https://webapps.stackexchange.com/a/104172 | |
////////////////////////////// | |
// AFTER.JS Module | |
////////////////////////////// | |
var After = function () { | |
this._totalTime = 0; | |
}; |