Setup fail2ban to block bots and script kiddies accessing a Node.js app behind an nginx reverse proxy
Setup fail2ban to stop bot HTTP and HTTPS connections on nodejs apps running through nginx proxy_pass Install fail2ban: sudo yum…
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!
git log --graph --decorate --oneline
zip -er FILENAME.zip FILESorFOLDERStoCOMPRESS ex: zip -er ThisFolder.zip This\ Folder/ You will be prompted for a password and will have…
query.$or.push(sequelize.literal(`to_json(array(select jsonb_array_elements("${hook.service.options.name}"."metadata"->'referenceIds') ->> 'id'))::jsonb ?| array['${query.$search}']`));
# Allow .jpeg to be requested with .jpg location ~ (.+).jpg(.*) { try_files $uri $1.jpeg$2 =404; } This will try…
#!/bin/bash # # Script to split a string based on the delimiter declare my_string declare my_array my_string="Ubuntu;Linux Mint;Debian;Arch;Fedora" IFS=';' read…
Troubleshoot with scp -vvvv Could be SCP protocol isn’t supported, and you need to use SFTP However, in my case,…
WARNING: don’t do this unless it’s for a secondary user on your Mac. This will prevent any user from decrypting…
Open the “Accessibility Inspector” app to try to determine each element Example with some UI Scripting for Messages app to…