Source https://stackoverflow.com/a/53590694 + minor updates
# install chromium, its driver, and selenium
apt-get update
apt install chromium-chromedriver
pip install selenium
Debug. For more info https://help.github.com/en/github/authenticating-to-github/error-permission-denied-publickey#always-use-the-git-user
start the ssh-agent in the background
eval "$(ssh-agent -s)"
check added keys
ssh-add -l -E md5
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
- Django-cachalot http://django-cachalot.readthedocs.io/en/latest/
- Johnny Cache https://github.com/jmoiron/johnny-cache (deprecated)
- Cache Machine https://cache-machine.readthedocs.io/en/latest/
init.py:
import johnny.cache
johnny.cache.enable()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start from golang base image | |
FROM golang:1.21-alpine as builder | |
# Set the current working directory inside the builder stage | |
WORKDIR /app | |
# copy go mod | |
COPY ./backend/go.mod ./backend/go.sum ./ | |
# Install atlas gorm provider |