- Generate TLS certificates for
localhost:
pip install trustme-cli
trustme-cli- Run
wrkon each endpoint, eg:
| const matrizInimigoGrande = [ | |
| [0,0], | |
| [400,0], | |
| [800,0], | |
| [1200,0], | |
| [1600,0], | |
| [0,400], | |
| [400,400], | |
| [800,400], | |
| [1200, 400], |
| const matrizInimigo = [ | |
| [0, 0], | |
| [104, 0], | |
| [208, 0], | |
| [312, 0], | |
| [0, 104], | |
| [104, 104], | |
| [208, 104], | |
| [312, 104], | |
| [0, 208], |
localhost:pip install trustme-cli
trustme-cliwrk on each endpoint, eg:| provider "azurerm" { | |
| version = "= 1.42.0" | |
| } | |
| resource "azurerm_resource_group" "example" { | |
| name = "aksgroup" | |
| location = "West Europe" | |
| } |
| #!/bin/bash | |
| [ -z "$1" ] && echo "Please specify a folder to copy (ex. vendor)" && exit | |
| docker cp $(docker-compose ps|grep phpfpm|awk '{print $1}'):/var/www/html/$1 src/ |
| kubectl get services # List all services | |
| kubectl get pods # List all pods | |
| kubectl get nodes -w # Watch nodes continuously | |
| kubectl version # Get version information | |
| kubectl cluster-info # Get cluster information | |
| kubectl config view # Get the configuration | |
| kubectl describe node <node> # Output information about a node | |
| kubectl get pods # List the current pods | |
| kubectl describe pod <name> # Describe pod <name> | |
| kubectl get rc # List the replication controllers |
| kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod |
| import cv2 | |
| import cv2.cv as cv | |
| def detect(img, cascade_fn='haarcascades/haarcascade_frontalface_alt.xml', | |
| scaleFactor=1.3, minNeighbors=4, minSize=(20, 20), | |
| flags=cv.CV_HAAR_SCALE_IMAGE): | |
| cascade = cv2.CascadeClassifier(cascade_fn) | |
| rects = cascade.detectMultiScale(img, scaleFactor=scaleFactor, |
| *.acn | |
| *.acr | |
| *.alg | |
| *.aux | |
| *.bak | |
| *.bbl | |
| *.bcf | |
| *.blg | |
| *.brf | |
| *.bst |