Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
wget "http://www.gov.pe.ca/civicaddress/download/dodownload.php3?county=QUN&downloadformat=tab&downloadfields[]=street_no&downloadfields[]=street_nm&downloadfields[]=comm_nm&downloadfields[]=apt_no&downloadfields[]=county&downloadfields[]=latitude&downloadfields[]=longitude&downloadfields[]=pid&downloadfields[]=unique_id&downloadfields[]=wastecompost&downloadfields[]=bluebag" | |
wget "http://www.gov.pe.ca/civicaddress/download/dodownload.php3?county=KNS&downloadformat=tab&downloadfields[]=street_no&downloadfields[]=street_nm&downloadfields[]=comm_nm&downloadfields[]=apt_no&downloadfields[]=county&downloadfields[]=latitude&downloadfields[]=longitude&downloadfields[]=pid&downloadfields[]=unique_id&downloadfields[]=wastecompost&downloadfields[]=bluebag" | |
wget "http://www.gov.pe.ca/civicaddress/download/dodownload.php3?county=PRN&downloadformat=tab&downloadfields[]=street_no&downloadfields[]=street_nm&downloadfields[]=comm_nm&downloadfields[]=apt_no&downloadfields[]=county&downloadfields[]=latitude&downloadfields[]=l |
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 | |
$mysqli = new mysqli("localhost", "loc", "[password redacted]", "loc"); | |
if ($mysqli->connect_errno) { | |
printf("Connect failed: %s\n", $mysqli->connect_error); | |
exit(); | |
} | |
if ($_POST) { |
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 | |
import serial, sys | |
from time import strftime | |
print "Connecting to AMRUSB-1. Press Control+C to abort." | |
logfilename = 'amrusb-1-' + strftime("%Y%m%d%H%M%S") + 'log' | |
f = open(logfilename, 'w') |