Enter the virtualenv and run Django shell:
cd /srv/funkwhale/
source virtualenv/bin/activate
./manage shell
Import Funkwhale models:
SENDGRID_API_KEY=Paste key from https://app.sendgrid.com/settings/api_keys here | |
SENDER=me@example.com | |
RECIPIENTS=${SENDER},you@example.com | |
NWS_STATION=KMIC | |
MIN_PRECIP=25 |
from datetime import datetime | |
import logging | |
import requests | |
logger = logging.getLogger(__name__) | |
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(message)s") | |
# Start Configuration | |
NWS_STATION = "KMIC" | |
MIN_PRECIP = 10 |
Enter the virtualenv and run Django shell:
cd /srv/funkwhale/
source virtualenv/bin/activate
./manage shell
Import Funkwhale models:
version: "3" | |
services: | |
dremio: | |
image: dremio/dremio-oss:latest | |
container_name: dremio-oss | |
ports: | |
- "9047:9047" | |
- "31010:31010" | |
- "45678:45678" |
### A Pluto.jl notebook ### | |
# v0.15.1 | |
using Markdown | |
using InteractiveUtils | |
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error). | |
macro bind(def, element) | |
quote | |
local el = $(esc(element)) |
{ | |
"name": "mopidy-play", | |
"version": "1.0.0", | |
"description": "", | |
"main": "play-mopidy-playlist.js", | |
"scripts": { | |
"start": "node play-mopidy-playlist.js", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "Brian Dunnette", |