---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-ui
spec:
selector:
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
apiVersion: security.openshift.io/v1 | |
kind: SecurityContextConstraints | |
metadata: | |
name: alaz-scc | |
allowHostPID: true | |
allowPrivilegedContainer: true | |
allowHostDirVolumePlugin: true | |
allowedCapabilities: | |
- ALL | |
defaultAddCapabilities: [] |
- For MAC:
After installation, launch VS Code. Now open the Command Palette (F1 or ⇧+⌘+P on Mac) and type shell command to find the Shell Command: Install 'code' command in PATH command.
- F1 -> Open Settings (JSON)
{
"python.linting.pylintArgs": ["--extension-pkg-whitelist=cv2"]
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
import scipy.io | |
mat = scipy.io.loadmat('file.mat') |
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
# First install CUDA https://gist.github.com/fatihbaltaci/e9ac5dde14e17c8b59c3ce4e90bcac0a | |
# Download (cuDNN Library for Linux) from https://developer.nvidia.com/rdp/cudnn-download | |
tar -xzvf cudnn-9.0-linux-x64-v7.5.0.56.tgz | |
#Default /usr/local/cuda | |
CUDA_HOME=<CUDA_PATH> | |
sudo cp cuda/include/cudnn.h $CUDA_HOME/include |
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
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run | |
chmod +x cuda_9.0.176_384.81_linux-run | |
./cuda_9.0.176_384.81_linux-run --extract=`pwd` | |
./cuda-linux.9.0.176-22781540.run |
NewerOlder