Instantly share code, notes, and snippets.


Ahad Sheriff ahadsheriff

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ahadsheriff on github.
  • I am ahadsheriff ( on keybase.
  • I have a public key ASAs3GanCTaGcZnrtPEPr2BPFe6ZLDPc0IV9S70dyIBmxAo

To claim this, I am signing this object:

View gist:af75e69bf3656110a18191250e1455a4
Verifying my Blockstack ID is secured with the address 1AKxxEkL6HV91Hrs24qvxEQECAkMYojzSL
import datetime
import os
# Local Website:
website = str(input("Enter the URL of the website you want to test: "))
os.system('ab -n 1000 -c 5 '+ website + ' > LoadTest.txt')
infile = 'LoadTest.txt'
@ echo off
echo Testing local connectivity
ping > nul
if errorlevel 1 goto :ERRORLocal
goto :LocalSuccess
echo Testing remote connectivity
ping > nul
if errorlevel 1 goto :ERRORRemote
Author: Ahad Sheriff
Python script to add users to Linux groups. You can easily change the content
of this script to fit your needs.
Sample CSV file that I used to test is
included as `sampleAccounts.csv`
The data in the csv file must be of the form:
"Full Name", "Office Number", "Phone Extension #", "Department Name"