Skip to content

Instantly share code, notes, and snippets.

@Aditya-Zutshi
Aditya-Zutshi / ahn4.py
Created April 22, 2022 06:54 — forked from breinbaas/ahn4.py
Sample of using the ArcGIS REST API for AHN4 DTM height data
import urllib.request
from tifffile import imread # pip install tifffile==2022.4.8 or add to requirements.txt
import numpy as np
class Tile:
def __init__(self):
self.xmin = 0
self.xmax = 0
self.ymin = 0
@Aditya-Zutshi
Aditya-Zutshi / hvplot_interactive.py
Created October 31, 2021 22:57 — forked from MarcSkovMadsen/hvplot_interactive.py
Example of using hvPlot .interactive with Panel
import pandas as pd
import hvplot.pandas
import panel as pn
pn.extension(sizing_mode="stretch_width")
PALETTE = [
"#ff6f69",
"#ffcc5c",
"#88d8b0",
@Aditya-Zutshi
Aditya-Zutshi / How to download streaming video.md
Created July 6, 2021 02:36 — forked from danfinlay/How to download streaming video.md
How to download a streaming video with Google Chrome

How to download streaming video

Streaming just means a download that they don't want you to keep. But Chrome's developer tools make it easy to access what's really going on under the hood.

Open Developer Tools

From the page where you want to download some things, go into your chrome menu to open the developer tools. You can either:

1.  (On a mac): Command-option-J
2. (On a PC): Control-alt-J
@Aditya-Zutshi
Aditya-Zutshi / 0-startup-overview.md
Created January 17, 2021 19:30 — forked from dideler/0-startup-overview.md
Startup Engineering notes