Skip to content

Instantly share code, notes, and snippets.

Avatar

Kenneth Wong KHwong12

View GitHub Profile
@tylermorganwall
tylermorganwall / submarine_cable_map.R
Last active Nov 30, 2021
Submarine Cable Map Dataviz
View submarine_cable_map.R
library(geojsonsf)
library(sf)
library(rayrender)
#Data source: https://github.com/telegeography/www.submarinecablemap.com
cables = geojson_sf("cable-geo.json")
cablescene = list()
counter = 1
for(i in 1:length(cables$geometry)) {
@willurd
willurd / web-servers.md
Last active Dec 8, 2021
Big list of http static server one-liners
View web-servers.md

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000