This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
var dbs = db.getMongo().getDBNames().filter(x => x.startsWith('intro...')) | |
for(var i in dbs){ | |
db = db.getMongo().getDB( dbs[i] ); | |
print( "dropping db " + db.getName() ); | |
db.dropDatabase(); | |
} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
You can run either of the following snippets in your terminal to generate a markdown list of your VS Code extensions.
code --list-extensions | awk '{ print "* [" $1 "](https://marketplace.visualstudio.com/items\?itemName\=" $1 ")" }'
npx https://gist.github.com/elijahmanor/7f9762a4c2296839ad33e33513e88043
NOTE: You can append | pbcopy
to either of the above commands to pipe the output to your Mac's copy/paste buffer.
const delay = ms => | |
new Promise(resolve => { | |
setTimeout(resolve, ms); | |
}); |
npm i -D jest babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime
// babel.config.js
'use strict';
module.exports = {
presets: [
From my Pluralsight course: https://app.pluralsight.com/library/courses/asynchronous-javascript-reasoning/table-of-contents