Skip to content

Instantly share code, notes, and snippets.

View araichev's full-sized avatar

Alexander Raichev araichev

View GitHub Profile
@araichev
araichev / test.py
Last active March 14, 2018 02:23
Plotly Dash Scattermapbox bug?
import dash
from dash import dependencies as dd
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objs as pg
# Config
app = dash.Dash()
app.scripts.config.serve_locally = True
@araichev
araichev / autocompile_rapydstuff.py
Last active February 18, 2019 22:11
A little command line Python 2.7 script to compile RapydScript and RapydCSS files upon save. See the docstring for more details.
#!/usr/bin/env python
"""
Description
-----------
This little Python 3 script watches RapydScript/PyScss files contained
within a subdirectory of the directory from which it's run and executes the
commands
``rapydscript <filename>.pyj -o <filename>.js`` and
``pyscss <filename>.sass -o <filename>.css``
whenever a RapydScript file ``<filename>.pyj`` or a PyScss file