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.
$ python -m SimpleHTTPServer 8000
{ | |
"0":{ | |
"day":{ | |
"description":"Sunny", | |
"image":"http://openweathermap.org/img/wn/01d@2x.png" | |
}, | |
"night":{ | |
"description":"Clear", | |
"image":"http://openweathermap.org/img/wn/01n@2x.png" | |
} |
library(tidyverse) | |
#------------------------------------ | |
# Have x-axis labels offset slightly for clarity using guide_axis(n.dodge = 2), | |
# but also have different length tickmarks to make it look nicer. | |
# See https://twitter.com/ecologyofgavin/status/1344102509585997824 | |
# Derived from https://stackoverflow.com/a/51312611/6615512 | |
# Requires ggplot 3.0.0 or greater | |
#------------------------------------ |
#!/bin/bash | |
# -------------------------------------------------------------------------------------------- | |
# Installs Ruby using rbenv/ruby-build on the Raspberry Pi (Raspbian) | |
# | |
# Run from the web: | |
# bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) | |
# -------------------------------------------------------------------------------------------- | |
# Set the Ruby version you want to install |
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.
$ python -m SimpleHTTPServer 8000