Minio FS mode:
- Deploy minio in fs mode with below yaml in a file like
$ kubectl create -f my-minio-fs.yaml
## Create persistent volume claim for minio to store data.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-minio-fs-pvc
spec:Minio FS mode:
$ kubectl create -f my-minio-fs.yaml## Create persistent volume claim for minio to store data.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-minio-fs-pvc
spec:| class Solution: | |
| def countPaths(self, grid: List[List[int]]) -> int: | |
| rows, cols = len(grid), len(grid[0]) | |
| dp = {} | |
| def dfs(r, c, previous_val): | |
| if r < 0 or r == rows or \ | |
| c < 0 or c == cols or \ | |
| grid[r][c] <= previous_val: | |
| return 0 |
| wget http://swcdn.apple.com/content/downloads/57/38/071-97382-A_OEKYSXCO6D/97vrhncortwd3i38zfogcscagmpwksdzce/InstallAssistant.pkg |
Before install nvidia-docker, you will need these first:
Then download these file:
| import numpy as np | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| sale=pd.read_csv('sale.csv') | |
| X=np.array(sale.iloc[:,1:4]) | |
| Y=np.array(sale.iloc[:,-1]) | |
| a=X.max() | |
| b=X.min() | |
| X=(X-b)/(a-b) |
| # Byte-compiled / optimized / DLL files | |
| __pycache__/ | |
| *.py[cod] | |
| *$py.class | |
| # C extensions | |
| *.so | |
| # Distribution / packaging | |
| .Python |
| # TRAINS SDK configuration file | |
| api { | |
| # Notice: 'host' is the api server (default port 8008), not the web server. | |
| api_server: http://172.105.115.87:8008/ | |
| web_server: http://172.105.115.87:8080/ | |
| files_server: http://172.105.115.87:8081/ | |
| # Credentials are generated in the webapp, http://172.105.115.87:8080//profile | |
| credentials {"access_key": "ZGQS4XZQJXTXAVCGQ0KD", "secret_key": "d@Pk552&-H5E71Mfvw8b8es+rYeAl1KrahjN0j@tX-G!r1vIdP"} | |
| } | |
| sdk { |
| #include <iostream> | |
| #include <string> | |
| #include <stdlib.h> | |
| using namespace std; | |
| int main() | |
| { | |
| for (int i = 0; i < 2; i++) | |
| { |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| # In[7]: | |
| import random | |
| def test_y(x): | |
| return 4*x+5+random.uniform(0.1,0.2) |