This script was written for the Ubiquiti USG. This script gets various anti-ad hosts files, merges, sorts, and uniques, then installs.
Installation: Download the script to the directory
/usr/local/sbin/buildhosts-unifi.sh, make it executable. Then create a cronjob to run it once a week:
# cat /etc/cron.d/buildhosts # Run buildhosts every Thursday at 4:44AM # I like the number 4! 44 4 * * 4 root /usr/local/sbin/buildhosts-unifi.sh
This script was written for routers running DD-WRT. This script gets various anti-ad hosts files, merges, sorts, and uniques, then installs.
This script grabs the locations of all Tesla chargers, including Superchargers and private chargers from teslamotors.com
No longer works, Tesla took down their list of webpages
This script grabs all of the supercharger pages from teslamotors.com and parses them for the GPS coordinates. It will do a Google Maps lookup if it cannot directly find the coordinates on the page. Currently the script is unable to lookup Chinese superchargers.
Copyright © 2013 Matthew Headlee
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.