When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
# Stop all containers | |
docker stop `docker ps -qa` | |
# Remove all containers | |
docker rm `docker ps -qa` | |
# Remove all images | |
docker rmi -f `docker images -qa ` | |
# Remove all volumes |
# http://editorconfig.org/#file-format-details | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
#Put home.py in a working directory. Put page_1.py and page_2.py in a folder named pages. | |
import streamlit as st | |
import pandas as pd | |
def initialize(): | |
# the data | |
st.session_state.df1 = pd.DataFrame({'A':[1,2],'B':[3,4]}) | |
st.session_state.df2 = pd.DataFrame({'A':[1,2],'B':[3,4]}) | |
# the shadow data |