Skip to content

Instantly share code, notes, and snippets.

View johnmathews's full-sized avatar

John Mathews johnmathews

View GitHub Profile
@johnmathews
johnmathews / pelicanconf.py
Created January 7, 2021 11:39
my pelican settings file
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from pelican_jupyter import markup as nb_markup
# SITE META
AUTHOR = 'John Mathews'
SITENAME = 'JohnMathews.eu'
PATH = 'content'
TIMEZONE = 'Europe/Amsterdam'
DEFAULT_LANG = 'en'
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
import plotly.graph_objs as go
import json
from datetime import timedelta as td
from datetime import datetime
### Keybase proof
I hereby claim:
* I am johnmathews on github.
* I am wrfl (https://keybase.io/wrfl) on keybase.
* I have a public key ASDGqjzqrOtTTutT9c-GFKP02fwobGdVvsYtU99WYlZPZQo
To claim this, I am signing this object:
@johnmathews
johnmathews / 0_reuse_code.js
Created June 14, 2016 13:26
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console