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 urllib2 | |
| import os | |
| import sys | |
| from BeautifulSoup import BeautifulSoup as bs | |
| # Meta Variables | |
| __filename__ = "lpthw-scrapper.py" | |
| __version__ = 0.2 | |
| __desc__ = "A scrapper program to automatically download the html pages of\ |
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
| /************************************************************************** | |
| * OSM2GEO - OSM to GeoJSON converter | |
| * OSM to GeoJSON converter takes in a .osm XML file as input and produces | |
| * corresponding GeoJSON object. | |
| * | |
| * AUTHOR: P.Arunmozhi <aruntheguy@gmail.com> | |
| * DATE : 26 / Nov / 2011 | |
| * LICENSE : WTFPL - Do What The Fuck You Want To Public License | |
| * LICENSE URL: http://sam.zoy.org/wtfpl/ | |
| * |
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
| "" Vim, not Vi. | |
| " This must be first, because it changes other options as a side effect. | |
| set nocompatible | |
| filetype off | |
| "" General Settings | |
| " Enable syntax highlighting. | |
| syntax on | |
| " Line endings should be Unix-style unless the file is from someone else. |
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
| *.py[co] | |
| # Packages | |
| *.egg | |
| *.egg-info | |
| dist | |
| build | |
| eggs | |
| parts | |
| bin |
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
| Base Url: | |
| http://www.imdaws.com/WeatherAWSData.aspx? | |
| &FromDate=17/11/2011 | |
| &ToDate=17/11/2011 | |
| &State=20 |
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 sys | |
| import urllib2 | |
| import time | |
| from datetime import datetime | |
| from BeautifulSoup import BeautifulSoup | |
| # The following parameters can be changed to suite the requirements of user | |
| # url = "http://www.imd.gov.in/section/nhac/aws/aws00.htm" |
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
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import urllib2 | |
| import time | |
| from datetime import datetime | |
| # The following parameters can be changed to suite the requirements of user |
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
| # Download WordPress | |
| cd /tmp | |
| wget http://wordpress.org/latest.tar.gz | |
| # Extract your WordPress archieve into your server directory | |
| tar zxvf latest.tar.gz | |
| mv wordpress/ /var/www | |
| # Create MySQL Database for WordPress | |
| mysql -u root -p |
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
| /* The CSS styling for the class 'decolor' */ | |
| a.decolor{ | |
| text-decoration: none; | |
| color: #000; | |
| } |
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
| #To visualize branches: | |
| git branch | |
| #To create a new branch: | |
| git branch testbranch | |
| #To change to created branch: | |
| git checkout testbranch | |
| #Track new files: |