show all pods
oc get pods
rsh into a pod, eg:
oc rsh mongodb-1-vs19d
start mongo as admin
mongo -u $MONGODB_USER -p $MONGODB_PASSWORD $MONGODB_DATABASE
| const path = require('path'); | |
| const UglifyJsPlugin = require("uglifyjs-webpack-plugin"); | |
| // see: https://stackoverflow.com/a/28989476 | |
| var webpack = require("webpack"); | |
| console.log("the __dirname is: " + __dirname); | |
| module.exports = { | |
| mode: "production", |
| /* vertical align button in absolute div */ | |
| /* https://css-tricks.com/centering-css-complete-guide */ | |
| /* whitespace between inline-blocks */ | |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |