$ conda install -c conda-forge tmux$ conda config --set auto_activate_base false
# It creates ~/.condarc with following content:
auto_activate_base: false$ conda install ipykernel
$ python -m ipykernel install --user --name lal --display-name "python-lal"
# It modifies ~/Library/Jupyter/kernels/ or ~/.local/share/jupyter/kernels/$ pip -V
$ python -m site$ conda create -n py37 python=3.7
$ conda activate py37
$ conda deactivate
$ conda env list
$ conda env remove -n py37$ conda install xxx
$ conda install -c conda-forge xxx$ python3 -m http.server$ virtualenv <myenv>
$ source myenv/bin/activate
$ deactivate$ pip freeze > requirements.txt
$ pip install -r requirements.txt
$ sudo port install ghc
- Installation (Mac)
- Installation (Ubuntu)
$ sudo apt-get install texlive-full- tikz-feynman : Drawing nice Feynman diagrams
- tikz-3dplot : A simple package for making 3-d coordinates
- Others
\usepackage{amsmath} % AMS math
\usepackage{amssymb} % AMS symbols
\usepackage{physics} % \bra \ket ...
% Text Color
\usepackage{xcolor}
\newcommand{\red}{\textcolor{red}}
\newcommand{\blue}{\textcolor{darkblue}}
% Hyperlink
\usepackage[colorlinks]{hyperref}
\definecolor{darkblue}{HTML}{2E3092}
\hypersetup{colorlinks=true,linkcolor=darkblue,citecolor=darkblue,urlcolor=darkblue}
\usepackage{amsthm} % AMS theorem
\theoremstyle{definition}
\newtheorem{example}{Example}[section]
\newtheorem*{solution*}{Solution}\usepackage[sc]{mathpazo}
\linespread{1.05} % Palladio needs more leading (space between lines)
\usepackage[T1]{fontenc}# .gitignore**/.DS_Store