initial setup
This commit is contained in:
commit
784926e111
|
@ -0,0 +1 @@
|
|||
.ipynb_checkpoints
|
|
@ -0,0 +1,7 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
RUN pip install --upgrade pip \
|
||||
&& pip install jupyter notebook
|
||||
|
||||
CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--allow-root", "--no-browser"]
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# how to run
|
||||
## build
|
||||
podman build -t pst -f Dockerfile
|
||||
or
|
||||
docker build -t pst -f Dockerfile
|
||||
|
||||
## run
|
||||
pacman -S slirp4netns && podman run --network=slirp4netns -p 8888:8888 pst
|
||||
or
|
||||
docker run -p 8888:8888 pst
|
||||
|
||||
K = 28
|
||||
L = 8
|
||||
M = ((K+L)*47)%11+1 = 10
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "7c90184c-5f76-4277-b0ad-aeec2ac37d30",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.10.15"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
Loading…
Reference in New Issue