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/[email protected]" | |
| }, | |
| "night":{ | |
| "description":"Clear", | |
| "image":"http://openweathermap.org/img/wn/[email protected]" | |
| } |
| 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