wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zipor
curl -LO https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip| kubectl run myubuntu --image ubuntu --rm -ti --restart=Never --overrides=' | |
| { | |
| "metadata": { | |
| "labels": { | |
| "diditwork": "itdid" | |
| } | |
| }, | |
| "spec": { | |
| "containers": [ | |
| { |
| #!/bin/bash | |
| # curl https://gist.githubusercontent.com/jeremyje/5d2b3746f4454ef24aaa723e208b7a50/raw/install-docker.sh | bash | |
| # Based on https://docs.docker.com/install/linux/docker-ce/debian/ | |
| function InstallForDebian { | |
| sudo apt-get update | |
| sudo apt-get -y remove docker docker-engine docker.io | |
| sudo apt-get -y install \ | |
| apt-transport-https \ |
| #!/bin/bash | |
| require_root() { | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" 1>&2 | |
| exit 1 | |
| fi | |
| } | |
| update_apt() { |
| for f in $(find deploy/templates -regex '.*\.ya*ml'); do envsubst < $f > "./deploy/generated/$(basename $f)"; done |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json file in /etc/docker:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
| mix.webpackConfig({ | |
| plugins: [ | |
| new purgeCss({ | |
| paths: glob.sync([ | |
| path.join(__dirname, 'resources/views/**/*.blade.php'), | |
| path.join(__dirname, 'resources/assets/js/**/*.vue') | |
| ]), | |
| extractors: [ | |
| { | |
| extractor: class { |
Following mining and findings performed on EVGA GeForce GTX 1070 SC GAMING Black Edition Graphics Card cards.
First run nvidia-xconfig --enable-all-gpus then set about editing the xorg.conf file to correctly set the Coolbits option.
# /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
| #!/bin/bash | |
| # Input: ./extract_kubecfg_cert.sh my-cluster-name username | |
| # Output: ./my-cluster-name-ca.crt ./username.crt ./username.key | |
| # Exit on error | |
| abort(){ | |
| echo $1 && exit 1 | |
| } | |
| # Prerequistes |