This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(isset($_REQUEST['file'])) { | |
echo '<html> | |
<!-- | |
-\- | |
\-- \- | |
\ - -\ | |
\ \\ | |
\ \ | |
\ \\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Sample a Motorola Surfboard modem's signal. | |
This script is meant to be run with the Motorola SB6121 Surfboard Modem. | |
If you run it on a different modem, it might not work, but it's worth a try... | |
It should be run as a cron job, every minute (or whatever interval you'd like) | |
into a text file. The file can later be used by a json parser to analyze the |