This file contains hidden or 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
''' | |
Tested only with Linksys WRT54G Router. Not sure if it will work with other routers. You might need to modify the url and header according to your router. | |
I still need to further clean the output to retrieve the list/name of devices rather than complete HTML in the response. | |
''' | |
import urllib2 | |
from BeautifulSoup import BeautifulSoup | |
url = 'http://192.168.1.1/DHCPTable.asp' | |
headers= {'Authorization':'Basic XXXXX-25_CHARACTER_TOKEN_GOES_HERE'} |
This file contains hidden or 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
" | |
" Kumar Shwetabh's Vim Configuration | |
" | |
" Features/Plugins Used | |
" 1. pathogen | |
" 2. NERDTree. | |
" 3. vim-coffee-script | |
" 4. conque | |
" 5. gundo | |
" 6. xpt |
This file contains hidden or 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
import os | |
import pywapi | |
import string | |
''' | |
CurrentWeatherWall | |
Set you desektop wallpaper as per the current weather condition | |
OS: Ubuntu {I have tested on Ubuntu 11.10} | |
See the import statements for Python module dependencies |
NewerOlder