Skip to content

Instantly share code, notes, and snippets.

View atul10595's full-sized avatar
🏠
Working from home

Atul Jain atul10595

🏠
Working from home
View GitHub Profile
@atul10595
atul10595 / osrm-backend-on-linux.md
Created April 1, 2019 17:41
Host OSRM backend server on your machine.
@atul10595
atul10595 / pickleapi.py
Last active October 22, 2019 08:09
read pickle file, python
import pickle
from server.modules.logging.logger import log_error
def read_file(filename):
# file = 'static/data/pickle/r_data_20.pkl'
file = filename
data = None
with (open(file, "rb")) as openfile:
data = pickle.load(openfile)