Hello, portainer it's a web GUI for managing of docker images. Is possible work as a local docker so and as remote.
Sunday, October 18, 2020
How run Chrome without CORS security
Hello, it's a script for running chrome without CORS, on MacOSX (write it in one line).
#!/usr/bin/env bash
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args
--user-data-dir="/tmp/chrome_dev_test" --disable-web-security
Saturday, October 17, 2020
[DevOps] NodeJS installation script for hot update
Hello, this is script is needed for the hot switch versions of Node.js on machine. You can have two installed different versions of Node.js. For example, it can be v12 and v14.
So is possible to switch on a different version using only one command. Currently, I work only on Linux based (and macOS as a client system) systems and code will be targeted on these systems
#!/bin/sh
# Install Node.js 14.2.0
sudo su
yum install -y git
curl https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
nvm install v14.13.0
# Relevant for some OSes
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
For getting a list of all installed nodes, you can use
#!/bin/shnvm ls #list all nodesnvm use <version># switch to specific version
Sources:
Subscribe to:
Posts (Atom)