This file contains hidden or 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
import urllib.request | |
import time | |
#URL used for test download | |
URL = ('http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz') | |
#Times to download the file | |
NUMBER_OF_DL = 1 | |
#File to save the staticts to | |
STATS_FILENAME = 'stats.csv' | |
This file contains hidden or 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
#!/bin/sh | |
#Check periodicly if my YouSee supplied Netgear CG3000 router has had another nervous breakdown | |
#using this script and cron. | |
#Copyright 2014-2015 Martin Bo Kristensen Grønholdt | |
# | |
#Licensed under the Apache License, Version 2.0 (the "License"); | |
#you may not use this file except in compliance with the License. | |
#You may obtain a copy of the License at | |
# |
NewerOlder