Skip to content

Instantly share code, notes, and snippets.

@jqtrde
jqtrde / map.geojson
Created September 25, 2015 17:47 — forked from anonymous/map.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jqtrde
jqtrde / map.geojson
Created September 24, 2015 19:21 — forked from anonymous/map.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jqtrde
jqtrde / map.geojson
Last active September 18, 2015 00:08 — forked from anonymous/map.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jqtrde
jqtrde / Dockerfile
Last active August 29, 2015 14:26 — forked from klokan/Dockerfile
GDAL in Docker - stable GDAL with JP2KAK, MRSID and ECW: https://registry.hub.docker.com/u/klokantech/gdal/
FROM debian:7
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update \
&& apt-get -qq -y --no-install-recommends install \
autoconf \
automake \
build-essential \
curl \
@jqtrde
jqtrde / the-art-of-the-pass.md
Created July 26, 2015 23:45
Wenger on Passing.

On the Art of the Pass

Interviewer: What’s the secret? Is it timing, technique - what do you need to do to be a world class passer?

Wenger: First off, I would like to say that it’s the essence of our sport, because passing is experiencing — me giving away the ball to somebody else. So I love that because it’s the basic act of generosity, you know. Passing is being generous. And then, you have being generous in different ways. That means, you have that quality of the passing and the timing of the pass - you understand very well that if I give you the ball early you will have more time available to give the ball to somebody else. If I give you the ball a fraction of a second late, your opponent will have time to close you down and put you in trouble.

Then, I can give you as well, if I’m very intelligent, a pass that gives you already the best possible opportunity to see a solution and to give you a pass that makes the next solution available. Then I’m already in the second deg

@jqtrde
jqtrde / while-read.md
Created July 7, 2015 18:26
Iterating through lines in a file using bash

while read line: do echo $line < file.txt

@jqtrde
jqtrde / panchunk.py
Last active August 29, 2015 14:24 — forked from celoyd/panchunk.py
# Beta-quality Landsat 8-oriented windowed pansharpener by Charlie Loyd
# python3 panchunk.py $SCENE/*B{4,3,2,8}.TIF ${SCENE}-pansharp.tif
# Then you may want something like this to brighten it up:
# convert -channel B -gamma 0.96 -channel RGB -sigmoidal-contrast 40,14% ${SCENE}-pansharp.tif ${SCENE}-pretty.tif
# But that will strip geo tags.
import asyncio
import rasterio as rio