Skip to content

Instantly share code, notes, and snippets.

@lossyrob
lossyrob / markdown-details-collapsible.md
Created June 17, 2021 15:00 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets

Dear Geo-Community,

I would like to thank Maria for standing up and sharing her opinion. I think that she is brave for stepping into this discussion. As mentioned by her and Sara, this conversation has become uncomfortable for multiple reasons.

I have been holding back on this conversation because I am working on my local chapter and don’t want to blow up my own projects by expressing my opinions. I am ashamed about this political calculus because I think people should jump in when they see something uncomfortable going on in public. I am an advocate for building a welcoming community and as such feel I need to jump in when I feel that things are not right.

To be clear, my opinions and thoughts are my own and do not represent those of my company, non-profit, local chapter, or my board.

TLDR

import cv2
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plt
def buffer_coastline(img, threshold=135):
arr = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY)
mask = np.ndarray(arr.shape + (3,)).astype(np.uint8)
below = arr < threshold
trait LayerDeleter[ID] {
def delete(id: ID): Unit
}
class S3LayerDeleter(val store: AttributeStore[JsonFormat]) extends LayerDeleter[LayerId] {
/** Implement using S3 DELETE */
}
class HadoopLayerDeleter(val store: AttributeStore[JsonFormat]) extends LayerDeleter[LayerId] {
/** Implement using Hadoop FileSystem */