- Install plugin Standard
- For vettur choose formatter VS Code Typescript
export function useScrollHandler() { | |
const offsets: Array<Number> = []; | |
let touchStartY = 0; | |
let activeSection = 0; | |
let inMove = false; | |
const mountHandler = () => { | |
calculateSectionOffsets(); | |
window.addEventListener('keydown', handleKeyDown); | |
window.addEventListener('DOMMouseScroll', handleMouseWheelDOM); // Mozilla Firefox |
https://gist.github.com/gintsgints/8d049cf122c1f2e49c5805dbce0d4653
# Update packages first
sudo apt-get update
sudo apt-get upgrade -y
Use instructions - https://gist.github.com/gintsgints/8d049cf122c1f2e49c5805dbce0d4653
# Update packages first
sudo apt-get update
sudo apt-get upgrade -y
Based on this - https://patrick.easte.rs/post/traefik-tls-k8s/ And this - https://docs.traefik.io/v1.7/user-guide/kubernetes/
kubectl create secret generic traefik-cert --from-file=yourcert.crt --from-file=yourkey.key
Based on - https://stackoverflow.com/questions/56320930/renew-kubernetes-pki-after-expired/56334732#56334732
$ cd /etc/kubernetes/pki/
$ mv {apiserver.crt,apiserver-etcd-client.key,apiserver-kubelet-client.crt,front-proxy-ca.crt,front-proxy-client.crt,front-proxy-client.key,front-proxy-ca.key,apiserver-kubelet-client.key,apiserver.key,apiserver-etcd-client.crt} ~/
$ kubeadm init phase certs all --apiserver-advertise-address <IP>
$ cd /etc/kubernetes/
$ mv {admin.conf,controller-manager.conf,mv kubelet.conf,scheduler.conf} ~/
https://www.dropwizard.io - Cool.
Getting started - https://www.dropwizard.io/1.3.12/docs/getting-started.html#setting-up-using-maven Swagger support - https://github.com/smoketurner/dropwizard-swagger Example project - https://github.com/jecklgamis/dropwizard-kotlin-example
Switch docker to latest age version. You need to switch deamon and client.
http://collabnix.com/building-arm-based-docker-images-on-docker-desktop-made-possible-using-buildx/
Then enable Experimental features.
You can check result by issuing: