Skip to content

Instantly share code, notes, and snippets.

View nagellette's full-sized avatar
🎯
Focusing

Necip Enes Gengeç nagellette

🎯
Focusing
View GitHub Profile
@denguir
denguir / cuda_install.md
Last active May 3, 2024 08:01
Installation procedure for CUDA & cuDNN

How to install CUDA & cuDNN on Ubuntu 22.04

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@borja-munoz
borja-munoz / createCSVwithEWKB.py
Created May 2, 2021 11:01
Read geospatial file with Fiona and write CSV file with EWKB geometries using Shapely
import csv
import logging
import fiona
from shapely import geos, wkb
from shapely.geometry import shape
output_file = file_name + ".processing.csv"
with fiona.open(file_name, "r") as source:
@AlexandraKapp
AlexandraKapp / osrm_docker_windows.md
Last active May 3, 2024 08:53
How to set up your own OSRM backend with Docker on Windows

How to set up your own OSRM backend with Docker on Windows

The OSRM docker quick start provides a great explanation on how to set up the container: https://hub.docker.com/r/osrm/osrm-backend/

Yet - for Docker on Windows minor changes were necessary for me (otherwise I'd get "File not found" or "Permission" errors).

This is how it worked for me:

1. Pull the image

@ericrobskyhuntley
ericrobskyhuntley / geojson-merge.py
Created March 20, 2019 14:55
Python script to merge all GeoJSON files in a directory into a single GeometryCollection and write as a GeoJSON.
import os
import glob
import geojson
json_dir_name = "./"
json_pattern = os.path.join(json_dir_name,'*.geojson')
file_list = glob.glob(json_pattern)
collection = []
@4rzael
4rzael / main.md
Last active April 25, 2024 04:41
GIS with pySpark.
NOTE : Take a look at the comments below !

GIS with pySpark : A not-so-easy journey

Why would you do that ?

Today, many datas are geolocalised (meaning that they have a position in space). They're named GIS datas.

It's not rare that we need to do operations on those, such as aggregations, and there are many optimisations existing to do that.

@wangruohui
wangruohui / Install NVIDIA Driver and CUDA.md
Last active April 23, 2024 02:03
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS