(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.
(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.
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const cssLoaderConfig = require('@zeit/next-css/css-loader-config'); | |
const commonsChunkConfig = (config, test = /\.css$/) => { | |
config.plugins = config.plugins.map(plugin => { | |
if ( | |
plugin.constructor.name === 'CommonsChunkPlugin' && | |
// disable filenameTemplate checks here because they never match | |
// (plugin.filenameTemplate === 'commons.js' || | |
// plugin.filenameTemplate === 'main.js') |