Install Multiple Python Versions for Specific Project
- 
Home project: https://github.com/pyenv/pyenv 
- 
Reference to: https://www.tecmint.com/pyenv-install-and-manage-multiple-python-versions-in-linux/ 
Install Multiple Python Versions for Specific Project
Home project: https://github.com/pyenv/pyenv
Reference to: https://www.tecmint.com/pyenv-install-and-manage-multiple-python-versions-in-linux/
| from django.db.model.sql import Query # Query()๋ ๊ฐ๋ฐ์๊ฐ ์ ์ํ QuerySet์ ์ฝ์ด์ ์ค์  SQL์ ์์ฑํด์ฃผ๋ ๊ตฌํ์ฒด๋ค | |
| class QuerySet: | |
| query: Query = Query() # ์ด๊ฒ์ ๋๋ ๋ฉ์ธ์ฟผ๋ฆฌ ๋ผ๊ณ ๋ช ๋ช ํ๋ค. | |
| _result_cache: List[Dict[Any,Any]] = dict() # SQL์ ์ํ๊ฒฐ๊ณผ๋ฅผ ์ฌ๊ธฐ ์ ์ฅํด๋๊ณ ์ฌ์ฌ์ฉํ๋ค (QuerySet Cache) | |
| # QuerySet ์ฌํธ์ถ์ ์ด ํ๋กํผํฐ์ ์ ์ฅ๋ ๋ฐ์ดํฐ๊ฐ ์์ผ๋ฉด SQL์ ํธ์ถํด์ ๋ฐ์ดํฐ๋ฅผ ๊ฐ์ ธ์จ๋ค. | |
| _prefetch_related_lookups: Tuple[str] = () # prefetch_related(์ฌ๊ธฐ์ ์ธ๋ ๊ฐ๋ค) ์ ์ด ํ๋กํผํฐ์ ์ ์ฅํจ | |
| # ์ด๊ฒ์ ๋๋ ์ถ๊ฐ์ฟผ๋ฆฌ(์ )์ด๋ผ๊ณ ๋ช ๋ช ํ๋ค. | 
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker startAn important part of "routing" is handling redirects. Redirects usually happen when you want to preserve an old link and send all the traffic bound for that destination to some new URL so you don't end up with broken links.
The way we recommend handling redirects has changed in React Router v6. This document explains why.
In React Router v4/5 (they have the same API, you can read about why we had to bump the major version here) we had a <Redirect> component that you could use to tell the router when to automatically redirect to another URL. You might have used it like this:
| #! /bin/bash | |
| # ECHO COMMAND | |
| # echo Hello World! | |
| # VARIABLES | |
| # Uppercase by convention | |
| # Letters, numbers, underscores | |
| NAME="Bob" | |
| # echo "My name is $NAME" | 
| #! /bin/bash | |
| # ECHO COMMAND | |
| # echo Hello World! | |
| # VARIABLES | |
| # Uppercase by convention | |
| # Letters, numbers, underscores | |
| NAME="Bob" | |
| # echo "My name is $NAME" | 
sudo apt-get update && sudo apt-get install zshubuntu : sudo vim /etc/passwdubuntu user, and replace bin/bash by bin/zshsh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"