- Get to know Debian with very minimal install to run RoonServer
- Use Debian as Linux Docker Engine platform for dev/test
- Download Debian live standard (no desktop manager, link)
- add user to sudo
su root
| import re | |
| import requests | |
| import urllib | |
| PDOK = "https://api.pdok.nl/bzk/locatieserver/search/v3_1/free" | |
| def query_pdok(query): | |
| query_params = { |
| import ndjson | |
| def redact(patient: dict) -> dict: | |
| for key in ["name", "telecom"]: | |
| patient.pop(key, None) | |
| return patient | |
| with open("patient.ndjson") as f: |
su rootUpcoming Python libraries with a Rust runtime that are useful for the composable data stack:
| black | |
| ipywidgets | |
| isort | |
| jedi-language-server | |
| jupyterlab | |
| jupyterlab_pygments | |
| jupyterlab_rise | |
| pygments |
| poetry run python -m ipykernel install --user --name pymedphys |
| // Google Fonts | |
| @import url(http://fonts.googleapis.com/css?family=Zilla+Slab|Zilla+Slab+Highlight|Inter|Fira+Code:400italic,700italic,400,700); | |
| // Font Variables | |
| $zilla-slab: "Zilla Slab", serif; | |
| $zilla-slab-highlight: "Zilla Slab Highlight", serif; | |
| $inter: "Inter", sans-serif; | |
| $fira-code: "Fira Code"; | |
| // Colours |
| name: python-data-science | |
| channels: | |
| - conda-forge | |
| dependencies: | |
| - python=3.10 | |
| - adlfs | |
| - altair==5.0.1 | |
| - black | |
| - ipykernel | |
| - matplotlib |
| FROM python:3.6-alpine | |
| # Opted for alpine to get a lean docker image as possible | |
| RUN apk add --no-cache openssl | |
| ENV DOCKERIZE_VERSION v0.6.1 | |
| RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ | |
| && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ | |
| && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz | |
| # Python deps for alpine |
| context | shortcut | action |
|---|---|---|
| desktop | ctrl + super + ←/→ | switch to desktop left/right |
| shift + super + ←/→ | move active window to display left/right | |
| super + tab | show virtual desktops | |
| ctrl + super + D | create new virtual desktop | |
| browsing | ctrl + shift + L | auto-fill username and password with Bitwarden |
| ctrl + shift + M | switch Chrome profile |