Skip to content

Instantly share code, notes, and snippets.

View JaiDoubleU's full-sized avatar

Jason Shannon JaiDoubleU

  • Calgary, Alberta, Canada
View GitHub Profile
@rpkyle
rpkyle / app.py
Created June 27, 2020 14:47
Dash for Python Stock Ticker Sample App
import dash
from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html
from pandas_datareader import data as web
from datetime import datetime as dt
app = dash.Dash('Hello World',
external_stylesheets=['https://codepen.io/chriddyp/pen/bWLwgP.css'])
@marco79cgn
marco79cgn / spotify-now-playing.js
Last active October 29, 2024 11:18
A Scriptable iOS widget that shows what‘s playing on Spotify
let spotifyCredentials
let widget = await createWidget()
Script.setWidget(widget)
Script.complete()
async function createWidget() {
let widget = new ListWidget()
let spotifyIcon = await getImage("spotify-icon.png")
widget.backgroundColor = new Color("1e2040")