Skip to content

Instantly share code, notes, and snippets.

View neteler's full-sized avatar

Markus Neteler neteler

View GitHub Profile
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active April 19, 2024 01:51
Make Firefox fast again
@maphew
maphew / classify-ground-export-aboveground.json
Last active January 11, 2020 22:11
A PDAL pipeline that a) classifies into ground/not-ground, b) adds "Height Above Ground" attribute, and c) exports only above ground points. Adapted from https://lists.osgeo.org/pipermail/pdal/2017-July/001367.html
{
"pipeline": [
"Carmacks_01.laz",
{
"type": "filters.assign",
"assignment": "Classification[:]=0"
},
{
"type": "filters.smrf"
},
@jdries
jdries / Earth Engine
Last active October 13, 2017 09:01
Client API examples
// Compute the Normalized Difference Vegetation Index (NDVI).
var nir = image.select('B5');
var red = image.select('B4');
var ndvi = nir.subtract(red).divide(nir.add(red)).rename('NDVI');
////ZONAL STATS
// Load input imagery: Landsat 7 5-year composite.
var image = ee.Image('LE7_TOA_5YEAR/2008_2012');
@pylover
pylover / a2dp.py
Last active March 11, 2024 03:06
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3
"""Fixing bluetooth stereo headphone/headset problem in debian distros.
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
Licence: Freeware
<?php
function getInput() {
return !empty($_POST['mediawiki']) ? $_POST['mediawiki'] : '';
}
function convertSyntax() {
$mediawiki = getInput();
if(empty($mediawiki)) return '';