Skip to content

Instantly share code, notes, and snippets.

View sthagen's full-sized avatar
🏔️
above snow inside ☁️

Stefan Hagen sthagen

🏔️
above snow inside ☁️
View GitHub Profile
@sthagen
sthagen / geo_interface.rst
Created March 6, 2020 21:19 — forked from sgillies/geo_interface.rst
A Python Protocol for Geospatial Data

Author: Sean Gillies Version: 1.0

Abstract

This document describes a GeoJSON-like protocol for geo-spatial (GIS) vector data.

Introduction

Keybase proof

I hereby claim:

  • I am sthagen on github.
  • I am stefanhagen (https://keybase.io/stefanhagen) on keybase.
  • I have a public key ASCR_oVOd30zOqjDn6r-EFsHpe0eKf0HiA-Qjs0dm0PI8wo

To claim this, I am signing this object:

@sthagen
sthagen / go-shebang-story.md
Created October 5, 2019 07:02 — forked from posener/go-shebang-story.md
Story: Writing Scripts with Go

Story: Writing Scripts with Go

This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.

Why Go is good for scripting?

While python and bash are popular scripting languages, C, C++ and Java are not used for scripts at all, and some languages are somewhere in between.

name: Elixir CI
on: push
jobs:
build:
runs-on: ubuntu-latest
container:
@sthagen
sthagen / compiling_building_c_cpp_notes.md
Created June 22, 2019 18:47 — forked from gubatron/compiling_building_c_cpp_notes.md
Things to remember when compiling and linking C/C++ programs

Things to remember when compiling/linking C/C++ software

by Angel Leon. March 17, 2015.

Include Paths

On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constans, and functions can be found.

With gcc and llvm include paths are passed with -I/path/to/includes, you can pass as many -I as you need.

In Windows, cl.exe takes include paths with the following syntax: /I"c:\path\to\includes\ you can also pass as many as you need.

### Keybase proof
I hereby claim:
* I am sdrees on github.
* I am stefanhagen (https://keybase.io/stefanhagen) on keybase.
* I have a public key whose fingerprint is 2C06 803C B4FB FE2F F7D7 CC58 7890 A9A6 BD44 04E8
To claim this, I am signing this object: