This is an anchor-linked version of the excellent, amazing original opus magnum by Michael Tandy.
Counterexample: Royal Opera House, Covent Garden, London, WC2E 9DD, United Kingdom.
Counterexample: 1A Egmont Road, Middlesbrough, TS4 2HT
| # Script that tries to find a windscribe vpn server with decent speeds | |
| # Requires the windscribe command line client, and the speedtest.net | |
| # python cli from here: https://github.com/sivel/speedtest-cli | |
| #!/bin/bash | |
| windscribe disconnect | |
| speed=`speedtest --simple |grep -i download | cut -d ' ' -f 2` |
| #!/usr/bin/env perl | |
| =head1 SYNOPSIS | |
| pandoc -f opml -t markdown --atx-headers [PANDOC OPTIONS] input.opml \ | |
| | perl md-head2dl.pl [OPTIONS] > output.md | |
| =head1 DESCRIPTION | |
| Massage Markdown converted with Pandoc L<http://pandoc.org> from OPML exported from Dynalist <https://dynalist.io>. |
This is an anchor-linked version of the excellent, amazing original opus magnum by Michael Tandy.
Counterexample: Royal Opera House, Covent Garden, London, WC2E 9DD, United Kingdom.
Counterexample: 1A Egmont Road, Middlesbrough, TS4 2HT
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Thu Nov 3 11:56:48 2011 | |
| The main program. The program takes 3 files as input: | |
| #. The red band (any GDAL-compatible format will do) | |
| #. the near-infrarred band (again as above) | |
| #. An output file name |