Mikrotik 951G-2HnD Restore Configuration Script

image from mikrotik.com I Recently changed my router from TP Link's Archer C2 and now Mikrotik's 951G-2HnD after running weeks of unpatched system.  TP Link or most of the consumer WiFi routers are left vulnerable from KRACK and yet people are constantly accessing their bank accounts or confidential work materials or servers.  A sample successful attack can … Continue reading Mikrotik 951G-2HnD Restore Configuration Script

Advertisements

Automate MySQL Backup & Send To Email As Attachment On FreeBSD 11

Wow!!! I googled and modified a cron script for almost an hour or two just to get this working. I can't believe that it's quite hard to find a bash script to do this three basic  functionalities. Sharing a very simple script to dump a database, archive it and send it to an email. https://gist.github.com/allaniftrue/0ad52f931f317872b6a070425ea061bdContinue reading Automate MySQL Backup & Send To Email As Attachment On FreeBSD 11

Git filename

Stumbled upon a git issue where the images with uppercase can not be committed after changing the filenames to all lowercase. To solve it you just move it to the same folder with the new letter capitalization. git mv FileName.jpg filename.jpg