144

wifi test

``If you are reading this your wifi is working``
Posted by: Guest on June-09-2020
2

speed test

``Use Googles M-Lab Test, very reliable``
Posted by: Guest on October-05-2021
4

speedtest

``````#pip3 install speedtest-cli
import speedtest

def get_final_speed():
roundedspeed = round(rawspeed)
finalspeed = roundedspeed / 1e+6
return finalspeed

#function that loops and calls on the above function
def looped_av(y):
finalspeeds = 0
for i in range(y):
x = get_final_speed()
print(f'{i+1}. {x}mb/s')
return finalspeeds

while True:
repeat = input('1, 2, 3 or press {ENTER} to quit\n>>>')
if repeat == '1':
#single iteration
x = get_final_speed()
elif repeat == '2':
#2 iterations and finds the average speed
x = looped_av(2)
elif repeat == '3':
#finds out how accurate the user wants the average to be, pretty pointless i know
times_through = int(input('how many times do you want the test to run?\n>>>'))
x = looped_av(times_through)
else:
#breaks from the loop
break``````
Posted by: Guest on January-31-2021
3

speed test

``internet speed``
Posted by: Guest on April-28-2021
3

speed test

``````//Quintin is 'n klip haha
const string tempfile = "tempfile.tmp";
System.Net.WebClient webClient = new System.Net.WebClient();

System.Diagnostics.Stopwatch sw = System.Diagnostics.Stopwatch.StartNew();
sw.Stop();

System.IO.FileInfo fileInfo = new System.IO.FileInfo(tempfile);
long speed = fileInfo.Length / sw.Elapsed.Seconds;

Console.WriteLine("File size: {0}", fileInfo.Length.ToString("N0"));
Console.WriteLine("Speed: {0} bps ", speed.ToString("N0"));

Console.WriteLine("Press any key to continue...");
``200 OK``