Skip to content

Instantly share code, notes, and snippets.

View skbly7's full-sized avatar
🌐
Somewhere in universe

Shivam Khandelwal skbly7

🌐
Somewhere in universe
View GitHub Profile
@skbly7
skbly7 / cisco_create_guest_user.py
Created February 1, 2018 21:49
Scripted guest account creation in Cisco Wireless Controllers
controller = '10.0.0.0' # Cisco controller IP
username = 'admin'
password = 'password_here'
user_file = 'users.csv'
description = 'ISEC User'
# Check WLAN ID from Controller!
# http://10.0.0.0/screens/apf/wlan_list.html
wlanID = '4' # IIIT-Guest
###################################################
@skbly7
skbly7 / ad-remove.css
Created December 18, 2017 11:49
iChrome extension advertisement remove for free
/*
Just copy past this into your iChrome settings to get rid of advertisment for free.
Settings -> Advanced -> Custom CSS
These ads can't be removed by your AdBlock and other such extensions,
as they appear inside a extension (new tab), and those adblock extensions aren't initialized by then.
*/
iframe, .ad-unit {
display:none;
@skbly7
skbly7 / cric_score
Created March 24, 2015 09:35
cricket score as Ubuntu notification.
#!/usr/bin/env python
import requests
from bs4 import BeautifulSoup
import pynotify
from time import sleep
def sendmessage(title, message):
pynotify.init("Test")
notice = pynotify.Notification(title, message)
notice.show()
return