Skip to content

Instantly share code, notes, and snippets.

View lb1a's full-sized avatar

lb1a lb1a

  • Freiburg, Baden-Württemberg, Germany
View GitHub Profile
@lb1a
lb1a / sanitize-tree.sh
Created May 2, 2012 09:52 — forked from hach-que/sanitize-tree.sh
Automatic formatter for Git index!
#!/bin/bash
# This script automatically calls expand and indent
# on either:
#
# * The entire tree or
# * The files changed since last commit (if invoked as pre-commit)
#
# You should make a symbolic link from .git/hooks/pre-commit
# to this file and it will automatically sanitize the data in
@lb1a
lb1a / cheesecake.md
Created August 1, 2012 09:47 — forked from hmans/cheesecake.md
Motherfucking Cheesecake

Für @dielilly <3

Zutaten:

Für den Boden:

  • 150g Vollkornbutterkekse
  • 2 EL Zucker
  • Prise Zimt
  • 60g geschmolzene Butter
@lb1a
lb1a / osr example
Created December 18, 2012 16:29 — forked from anonymous/osr example
>>> from osgeo import gdal, osr
>>> ds = gdal.Open('C:/Users/kshannon/Desktop/test.tif')
>>> sr = osr.SpatialReference()
>>> sr.ImportFromWkt(ds.GetProjection())
0
>>> sr.ExportToProj4()
'+proj=sinu +lon_0=0 +x_0=0 +y_0=0 +a=6371007.181 +b=6371007.181 +units=m +no_defs '
>>>
@lb1a
lb1a / nginx-uberspace.md
Created July 27, 2016 07:44 — forked from lluchs/nginx-uberspace.md
nginx auf dem Uberspace

nginx auf dem Uberspace

Installation

Lade die neueste "mainline"-Version (hier 1.7.9) von http://nginx.org/en/download.html herunter und entpacke sie:

$ wget http://nginx.org/download/nginx-1.7.9.tar.gz 
$ tar xf nginx-1.7.9.tar.gz