---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: varun-test-deployment
This file contains hidden or 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 cv2 | |
import pathlib | |
import datetime | |
import operator | |
import numpy as np | |
import pickle | |
detector = cv2.SURF(200) | |
norm = cv2.NORM_L2 | |
FLANN_INDEX_KDTREE = 1 |
This file contains hidden or 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
1. install in current dir | |
`helm install --namespace=gm-integration -f values-integration.yaml .` | |
2. Upgrade | |
`helm upgrade "gm" -i --namespace=gm-integration -f values-integration.yaml .` | |
3. Delete purge |
This file contains hidden or 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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
- Create file /etc/init.d/tomcat8 with following content
#!/bin/bash
#
# tomcat8
#
# chkconfig: - 80 20
#
### BEGIN INIT INFO
This file contains hidden or 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
Private Sub Worksheet_SelectionChange(ByVal Target As Range) | |
If TypeName(Range("A" & Selection.Row).Value) = "Date" Then | |
Select Case Selection.Column | |
Case 2, 3, 4 | |
ActiveSheet.Unprotect Password:="123" | |
Target.Locked = True | |
ActiveSheet.Protect Password:="123" | |
If DateDiff("d", Range("A" & Selection.Row).Value, Now) = 0 Then | |
If DateDiff("n", Range("A" & Selection.Row).Value, Now) < 2 Then | |
ActiveSheet.Unprotect Password:="123" |