Skip to content

Instantly share code, notes, and snippets.

View scubamut's full-sized avatar

scubamut

  • Individual
  • Johannesburg and London
View GitHub Profile
@scubamut
scubamut / vscode_shortcuts.md
Created June 9, 2020 14:44 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@scubamut
scubamut / dash_app_template.py
Last active February 23, 2018 09:08 — forked from alysivji/dash_app_template.py
Dash app template
# standard library
import os
# dash libs
import dash
from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html
import plotly.figure_factory as ff
import plotly.graph_objs as go
@scubamut
scubamut / app.py
Last active August 29, 2015 14:19 — forked from vgoklani/app.py
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
@app.route('/index')
def index(chartID = 'chart_ID', chart_type = 'bar', chart_height = 350):
chart = {"renderTo": chartID, "type": chart_type, "height": chart_height,}
series = [{"name": 'Label1', "data": [1,2,3]}, {"name": 'Label2', "data": [4, 5, 6]}]
title = {"text": 'My Title'}