Skip to content

Instantly share code, notes, and snippets.

View deeplook's full-sized avatar

deeplook

View GitHub Profile
@deeplook
deeplook / explore_seam.ipynb
Created March 31, 2020 18:32
Explore seam on textures mapped to spheres
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@deeplook
deeplook / covid19_confirmed.py
Created March 27, 2020 08:02
Scrape from the ESRI COVID-19 dashboard the total worldwide number of infections.
#!/usr/bin/env python
"""
Scrape from the ESRI COVID-19 dashboard the total worldwide number of infections.
This needs:
- Firefox
- conda install -c conda-forge geckodriver
- pip install selenium
@deeplook
deeplook / custom_svg_badges.ipynb
Last active March 26, 2020 20:45
Create custom SVG badges with shields.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@deeplook
deeplook / COVID-19.ipynb
Last active March 19, 2020 22:06
COVID-19 dynamics plot
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@deeplook
deeplook / install_miniconda.py
Last active September 30, 2019 08:05
This project is now continued on https://github.com/deeplook/mcinstall.
#! /usr/bin/env python3
"""
A script to quickly make a fresh Miniconda installation from scratch.
This will download a Miniconda binary from https://repo.continuum.io/miniconda/
like https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh,
unpack and install it locally. It was tested on macOS and Linux ok, but will
fail on Windows (patches welcome).
@deeplook
deeplook / test_tile_caching.ipynb
Last active June 27, 2019 19:57
Test tile caching in ipyleaflet
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@deeplook
deeplook / moebius.ipynb
Last active May 2, 2019 08:46
This generates a Möbius strip using ipyvolume. (3D plots are not rendered inside this gist!)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@deeplook
deeplook / camera_state.ipynb
Last active April 25, 2019 08:28
Save/restore ipyvolume camera state
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@deeplook
deeplook / ipychat_simple.ipynb
Last active April 15, 2019 11:45
A very simple multi-party chat ipywidget.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.