- $LOCAL_HOST: 'localhost' or hostname from local network
- $LOCAL_PORT: open port on local machine
- $REMOTE_HOST: remote hostname visible from remote network
- $REMOTE_PORT: port on $REMOTE_HOST
ssh -L $LOCAL_PORT:$REMOTE_HOST:$REMOTE_PORT $USER@$SERVER
ssh -L $LOCAL_PORT:$REMOTE_HOST:$REMOTE_PORT $USER@$SERVER
I hereby claim:
To claim this, I am signing this object:
import asyncio | |
import sqlalchemy as sa | |
from sqlalchemy import select | |
from sqlalchemy.ext.declarative import declarative_base, declared_attr | |
from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession | |
postgresql_url = "postgresql+asyncpg://localhost:5432/test_sqlalchemy_db" | |
engine = create_async_engine(postgresql_url, echo=True) |
""" A Bokeh visualization of COVID-19 cases per Ukraine region, 2020 """ | |
import json | |
import pandas as pd | |
import geopandas as gpd | |
from bokeh.io import output_notebook, show, output_file, curdoc | |
from bokeh.plotting import figure | |
from bokeh.models import GeoJSONDataSource, LinearColorMapper, ColorBar |
from collections import namedtuple | |
from functools import partial | |
import pytest | |
from aiosmtpd.handlers import Debugging as SMTPDDebuggingHandler | |
from aiosmtpd.smtp import SMTP as SMTPD | |
from aiosmtplib import SMTP | |
RecordedMessage = namedtuple( | |
"RecordedMessage", |