Hide object keys when console.log-ging in JavaScript
When doing a console.log on an object, you can overwrite the inspect prototype key to hide anything you don’t want…
When doing a console.log on an object, you can overwrite the inspect prototype key to hide anything you don’t want…
git log --all --name-only --pretty=format:%H -- {glob} example: git log --all --name-only --pretty=format:%H -- index*
defaults write com.apple.loginwindow TALLogoutSavesState -bool false
Error you get running docker: docker-compose: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation…
For me, this was due to an incompatible version of complete being used with the WireGuard wg and wg-quick commands…
brew install coreutils md5sum ${filename} or sha256sum ${filename}
Create the HTML email Open it in Safari and make sure it looks good Go to the Share button and…
echo | openssl s_client -showcerts -servername {domain} -connect {domain}:443 2>/dev/null | openssl x509 -inform pem -noout -text echo | openssl…
Setup fail2ban to stop bot HTTP and HTTPS connections on nodejs apps running through nginx proxy_pass Install fail2ban: sudo yum…
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf Took a 7MB PDF to 700K!