Skip to content

Instantly share code, notes, and snippets.

View deadbok's full-sized avatar

Martin Bo Kristensen Grønholdt deadbok

  • Denmark
View GitHub Profile
@deadbok
deadbok / dl_speed.py
Last active August 29, 2015 14:00
Simple tool to take some statistics of download speed.
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'
#!/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
#