Skip to content

Instantly share code, notes, and snippets.

View jtpio's full-sized avatar
🌳
Keep it simple

Jeremy Tuloup jtpio

🌳
Keep it simple
View GitHub Profile
@jtpio
jtpio / app.py
Created January 24, 2018 23:17
Dash URL State example
import dash
import dash_core_components as dcc
import dash_html_components as html
from urllib.parse import urlparse, parse_qsl, urlencode
from dash.dependencies import Input, Output
app = dash.Dash()
app.config.suppress_callback_exceptions = True

Keybase proof

I hereby claim:

  • I am jtpio on github.
  • I am jtp_10 (https://keybase.io/jtp_10) on keybase.
  • I have a public key ASARl-fttTZiuVXXuNcEuNolF8xh_E11xUYDmL_6c8AH7go

To claim this, I am signing this object:

@jtpio
jtpio / MathsJam-2018-06_Subset.ipynb
Last active June 20, 2018 06:50
MathsJam June 2018 - Subset
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jtpio
jtpio / ast_visitor_template.py
Last active April 15, 2024 10:31
Template for visiting all Python AST nodes
"""
All the methods were generated based on the list of nodes from the
"Green Tree Snakes" guide:
https://greentreesnakes.readthedocs.io/en/latest/index.html
"""
import ast
class Visitor(ast.NodeVisitor):
@jtpio
jtpio / README.md
Last active December 9, 2022 13:27
Testing using Binder from a gist

Binder Example

Binder

@jtpio
jtpio / README.md
Last active March 29, 2019 10:43
PyBerlin Meetup - Coding Slam - 2019-04-28

PyBerlin Meetup - Coding Slam

2019-04-28

Featuring 5 picks from the Python standard library.

Try it online

The presentation is available online with Binder:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jtpio
jtpio / demo.ipynb
Last active May 5, 2019 13:54
Using the latest CPython in a Jupyter Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jtpio
jtpio / WidgetControl.ipynb
Last active June 29, 2019 16:43
ipywidgets 5.0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jtpio
jtpio / environment.yml
Created July 23, 2019 07:27
Voila Preview extension for JupyterLab
name: voila-preview
channels:
- conda-forge
dependencies:
- jupyterlab=1
- voila=0.1.8