This file contains 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
#!/usr/bin/env python | |
import requests | |
import sys | |
import getpass | |
username = 'aexxxxxx' | |
print ('LDAP pass ') | |
pa = str(getpass.getpass()) | |
with requests.session() as s: | |
page = s.post('https://netaccess.iitm.ac.in/account/login' , data={ 'userLogin':username, 'userPassword':pa, 'submit':''}) |
This file contains 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
# Author : Mohammed Ajmal | |
# GNU Public License | |
# Tested to work well in Ubuntu 16.04 | |
# use ` chmod +x removeproxy.sh ` to give executable permissions | |
gsettings set org.gnome.system.proxy mode 'none' |
This file contains 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
PASCAL_CLASSES = [ | |
'none', | |
'aeroplane', | |
'bicycle', | |
'bird', | |
'boat', | |
'bottle', | |
'bus', | |
'car', | |
'cat', |
NewerOlder