get monit
sudo apt-get install monit
monit configuration is in ~/.monitrc
{ | |
"metadata": { | |
"language": "Julia", | |
"name": "Julia Benchmark Plotly Barchart" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
import base64 | |
import io | |
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from dash.dependencies import Input, Output, State | |
from dash.exceptions import PreventUpdate | |
import dash_table |
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from dash.dependencies import Input, Output, State | |
import csv | |
import random | |
import json | |
def get_data(): |
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from dash.dependencies import Input, Output, State | |
import csv | |
import random | |
def get_data(): |
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from dash.dependencies import Input, Output | |
DATA = [ | |
{"value": "MTL", "label": "Montreal", "x": [1, 2, 3], "y": [4, 1, 2]}, | |
{"value": "NYC", "label": "New York", "x": [1, 2, 3], "y": [2, 4, 5]}, | |
{"value": "SF", "label": "San Fransisco", "x": [1, 2, 3], "y": [1, 8, 3]}, | |
{"value": "HOU", "label": "Houston", "x": [1, 2, 3], "y": [3, 4, 12]}, |
dash_user
itsdangerous
.user.TOKEN
dash_user_data
itsdangerous
.The users cookies have no expiry, they are validated by the python package itsdangerous
.
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: sentimentextor | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: sentimentextor |
#!/bin/bash | |
if [ -z ${1} ]; then | |
echo "usage: backup [static|dynamic]" | |
exit 1 | |
fi | |
# see https://sipb.mit.edu/doc/safe-shell/ | |
set -euf -o pipefail |
import numpy as np | |
import plotly | |
py = plotly.plotly(username='bpostlethwaite', key='xxxxxxxxxx') | |
numletters = 5 | |
letterblock = 100. | |
pad = 10. |