Skip to content

Instantly share code, notes, and snippets.

View ricklupton's full-sized avatar

Rick Lupton ricklupton

View GitHub Profile
@ricklupton
ricklupton / weatherlogger
Created June 7, 2014 09:17
Weather logger script for Trinity clock
#!/usr/bin/perl
(our $ME = $0) =~ s|^.*/||;
use strict;
use warnings;
###############################################################################
# BEGIN user-customizable section
@ricklupton
ricklupton / Adding point mass to a string.ipynb
Created March 20, 2013 16:54
Adding point mass to a string
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ricklupton
ricklupton / KeyTransitions.elm
Created May 12, 2016 16:00
Example needing the "key" attribute for CSS transitions
import Html exposing (Html)
import Html.App exposing (program)
import Html.Events exposing (onClick)
import Html.Attributes
import Svg exposing (..)
import Svg.Attributes exposing (..)
main =

Keybase proof

I hereby claim:

  • I am ricklupton on github.
  • I am ricklupton (https://keybase.io/ricklupton) on keybase.
  • I have a public key ASCHXJuNWJsSBW8TfCc4564zW-u9x1BvVeEEfQC4XkOAeQo

To claim this, I am signing this object:

@ricklupton
ricklupton / .block
Created November 4, 2017 16:42
Custom link classes for d3-sankey-diagram
license: mit
@ricklupton
ricklupton / Uncertainty.ipynb
Last active November 14, 2017 15:44
Dirichlet allocation uncertainty
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@prefix csvw: <http://www.w3.org/ns/csvw#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@ricklupton
ricklupton / README.md
Last active December 14, 2017 12:50
Sankey tutorial
@ricklupton
ricklupton / House price comparison.ipynb
Created July 10, 2018 08:59
UK house price comparison notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ricklupton
ricklupton / .block
Created September 12, 2018 19:52
d3-sankey-diagram links between nodes in same rank
license: mit