Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.