This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install colima | |
brew install docker | |
brew install kubectl | |
brew install tfswitch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// USAGE | |
// take some promises | |
const promises = [ | |
Promise.resolve("200"), | |
Promise.resolve("201"), | |
Promise.reject("500"), | |
Promise.reject("400") | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webpack = require('webpack'); | |
const config = require('@ionic/app-scripts/config/webpack.config.js') | |
// Here we override the dev and prod configs | |
// by adding .[chunkhash] to the output filename | |
// | |
// If the code for the chunk changes, so will the filename | |
// and browser will use the new chunk instead of the cached chunk | |
// | |
// Note that main.js and vendor.js will also become |