start new:
tmux
start new with session name:
tmux new -s myname
/* | |
Taken and cribbed from blog.datalicious.com/free-download-all-australian-postcodes-geocod | |
May contain errors where latitude and longitude are off. Use at own non-validated risk. | |
*/ | |
SET NAMES utf8; | |
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | |
DROP TABLE IF EXISTS postcodes_geo; |
def calculate_downtime_minutes | |
check_id = 387085 | |
user = "[email protected]" | |
pass = "***" | |
key = "***" | |
today = DateTime.now.to_date | |
last_sunday = today - today.wday |