Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
# Taken from: https://github.com/appscode/third-party-tools/blob/master/storage/nfs/README.md | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nfs-server | |
namespace: storage | |
spec: | |
selector: | |
matchLabels: | |
app: nfs-server |
This tutorial is designed and broke down to hopefully simplify and better solidify ones understanding to using regular expressions efficiently.
The example I'm going to use for this tutorial is a Email validator the following is the Regex we will be looking at /^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/
Sometimes we need to add redundancy to some service or server which happen to be a public-facing entry point of our infrastructure. For example, imagine we want to add a high availability pair for a load balancer which sits on the edge of network and forwards traffic to alive backend servers.
βββββββββββββββ
β β
βββββββΊβ Backend 1 β
β β β
β βββββββββββββββ
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb | |
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb |
Traditional HTTP requests flow throught the network "pipe" (TCP connection) and the pipe only allows requests to flow in 1 direction ("to" or "from") and only 1 request can be be sent through the at once (Single-plexing).
HTTP 1.1 allows browser to form 6 such TCP connections to the server. This approach was quite expensive as servers held resource descritptors which eats a lot of server memory.
HTTP2 enabled multiplexing thought the same network pipe. The pipe has different streams and each stream carriers an ID which lets client map the responses to its respective client.
Mumshad Mannambeth ( @mmumshad ) proposes, in his Udemy CKA course, to install Kubernetes with kubeadm on local machine. As more and more Mac machines are based on M1 CPUs chips, this Gist proposes a solution to get Vagrant working on Mac M1.
Problem statement: Virtualbox is not supported at the time on M1 chips, as a result, it is not possible to train on local machine. Alternative options for virtualization on Mac are vMWare Fusion or Parallels, or you have to run the workshop on some Cloud Provider (For example: Digital Ocean, Scaleway, Vultr or OVH)
Notice: Provided instructions may not be fully exhaustive, however all required elements should be there to manage to get it work on Mac M1 ( It works on my machine ... π )
I tried with success an installation based on Vagrant + VMWare
This python guide is intended to those who already know python and want a mind refresh or looking for a specific syntax.
-as this guide doesn't elaborate in explaining thing that a programmer would already know -like: variable, function, csv, json-
additionally, this guide is not intended to be a replacement for reading official Python documentation.
guide version: 2.1.0 | python version: 3.10
| Part of Version | Explanation |
version: '2.2' | |
services: | |
es01: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0 | |
container_name: es01 | |
environment: | |
- node.name=es01 | |
- cluster.name=es-docker-cluster | |
- discovery.seed_hosts=es02,es03 | |
- cluster.initial_master_nodes=es01,es02,es03 |