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
import os | |
import math | |
import csv | |
from openpyxl.reader.excel import load_workbook | |
files = os.listdir('files/') | |
for filename in files: | |
filename = filename.split(".")[0] | |
wb2 = load_workbook("files/"+filename+'.xlsx') | |
output_writer = csv.writer(open("csvfiles/"+filename+'.csv','wb')) | |
sheet = wb2.get_sheet_by_name(name = 'Sheet1') |
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
import osmnodepbf | |
foo = osmnodepbf.Parser("some.osm.pbf") | |
tags = foo.return_tags(refresh=True) # To see what tags are available | |
railways_stations = foo.parse({"railway":"station"}) |
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
#!/bin/bash | |
# /etc/init.d/selenium | |
# debian-compatible selenium-grid startup script. | |
# Based on jenkins startups | |
# Praneeth Bodduluri <lifeeth[at]gmail.com> | |
# update-rc.d -n -f selenium start 90 2 3 4 5 . stop 10 0 1 6 . | |
### BEGIN INIT INFO | |
# Provides: selenium-grid | |
# Required-Start: $remote_fs $syslog $network | |
# Required-Stop: $remote_fs $syslog $network |
NewerOlder