Skip to content

Instantly share code, notes, and snippets.

View aliir74's full-sized avatar
🎯
Focusing

Ali Irani aliir74

🎯
Focusing
View GitHub Profile
@aliir74
aliir74 / xapi_attr.py
Created December 19, 2018 13:13 — forked from anonymous/xapi_attr.py
Adds additional attributes to OSM file gathered by XAPI as requested by Osmosis
import os
import sys
import time
import xml.etree.ElementTree as etree
def main(file_name):
output_file = '{}_attr{}'.format(*os.path.splitext(file_name))
time_stamp = time.strftime('%Y-%m-%dT%H:%M:%SZ', time.localtime())
@aliir74
aliir74 / gist:f760f662bdbc0c618eeab39abee29769
Created September 8, 2018 08:46
bundle exec rake test:db
set_config
------------
(1 row)
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
rake aborted!
Errno::ENOENT: No such file or directory - phantomjs
/home/ali/Downloads/openstreetmap-website/test/application_system_test_case.rb:7:in `popen'