Open source software that powers real production systems, and the macOS tooling that keeps high-output engineering teams productive.
I am not going to tell you why you would need to flush your DNS cache (you will know if you need to). So, to flush DNS on a mac simply fire up Terminal and run the following sudo command:
Read more →A free, open source macOS tool that takes long lived AWS keys out of ~/.aws, seals them with the Secure Enclave, and asks for Touch ID before any of them is used. Open a terminal on almost any developer’s Mac and type cat ~/.aws/credentials. Mine printed three AWS access keys and secrets in plain text. […]
Read more →Below is a fairly comprehensive passive penetration testing script with vulnerability scanning, API testing, and detailed reporting. Features Installation Required Dependencies Optional Dependencies Usage Basic Syntax Options Examples: Network Configuration Default Interface: en0 (bypasses Zscaler) To change the interface, edit line 24: The script automatically falls back to default routing if the interface is unavailable. Debug Mode […]
Read more →I always forget the syntax of SCP and so this is a short article with a simple example of how to SCP a file from your laptop to your EC2 instance and how to copy it back from EC2 to your laptop: Copying from Laptop to EC2 scp -i identity_file.pem source_file.extention username@public_ipv4_dns:/remote_path scp: Secure copy protocol-i: Identity […]
Read more →There are a few things that I tweak when I get a new Macbook, one of which is the screenshot format (mainly because it doesnt natively render in Whatsapp). So I thought I would share the code snippet that you can run in Terminal to alter the default image type of your screenshots: For JPEG […]
Read more →If you want to automatically renew your certs then the easiest way is to setup a cron just to call letsencrypt periodically. Below is an example cron job: First create the bash script to renew the certificate Now enter the script in the following format into nano: Now edit the crontab to run the renew […]
Read more →The following code can be used to import the contents of an excel workbook into an array from within a Visual Basic application.
Read more →How CloudScale Backup & Restore backs up a 3 GB WordPress site every night to five destinations at once, restores it server-side, keeps a standby refreshing itself, and rolls back bad plugin updates, all free.
Read more →