- DNS Clear
sudo killall -HUP mDNSResponder - DNS Info
scutil --dns - Debug DNS Lookup
dig domainname.local
sudo route add -host 192.168.0.x -interface tun0
| #!/bin/sh | |
| # Kube Admin Reset | |
| kubeadm reset | |
| # Remove all packages related to Kubernetes | |
| apt remove -y kubeadm kubectl kubelet kubernetes-cni | |
| apt purge -y kube* | |
| # Remove docker containers/ images ( optional if using docker) | |
| docker image prune -a |
| # Use container with installed chromium and $PUPPETEER_EXECUTABLE_PATH | |
| # https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md | |
| FROM node:20.2.0-alpine | |
| RUN apk add --update-cache \ | |
| chromium \ | |
| nss \ | |
| freetype \ | |
| harfbuzz \ | |
| ca-certificates \ |
| docker run -it --rm -p 5000:5000 \ | |
| --add-host=host.docker.internal:host-gateway |
| echo "Hash;Author;Date;Commit" > 'report.csv' | |
| git log --pretty=format:'%h;%an;%ad;%s' --author='Author 1' >> 'report.csv' | |
| git log --pretty=format:'%h;%an;%ad;%s' --author='Author 2' >> 'report.csv' | |
| # |
| // npm install -D glob spritesmith spritesheet-templates | |
| const fs = require('fs'); | |
| const glob = require('glob'); | |
| const Spritesmith = require('spritesmith'); | |
| const templater = require('spritesheet-templates'); | |
| const icons = glob.sync('./src/icons/*.png'); | |
| const spritePath = `${__dirname}/sprite.png`; | |
| const spriteRelativePath = `/sprite.png`; |