Skip to content

Instantly share code, notes, and snippets.

View sidd607's full-sized avatar
πŸ§‘β€πŸ’»

Siddartha Sekhar Padhi sidd607

πŸ§‘β€πŸ’»
View GitHub Profile
#include <iostream>
#include <string>
using namespace std;
class Number;
class Integer;
class Rational;
class Number
{
echo "TEST-1 Google"
foo=$(ping -c 100 google.com | grep rtt)
echo "FOO: $foo"
echo $foo | awk -F' = ' '{print $2}' | awk -F'/' '{print "RTT Stats: \nMin: " $1 "\nAverage: " $2 "\nMaximum: " $3 "\nMdev: "$4}'
echo "RESULT : Poor Internet" &
avg=$(echo $foo | awk -F' = ' '{print $2}' | awk -F'/' '{print $2}')
echo "AVG: $avg"