:wq

Get me out of here! 🚀

Toolkit

Cheatsheet

Frequently used constants

Boltzmann constant \(k_{\text{B}} = 1.380649 \times 10^{-23} \mathrm{\,J\,K^{-1}}\) k
Planck constant \(h = 6.62607015 \times 10^{-34} \mathrm{\,J\,s}\) h
Reduced Planck constant \(\hbar = 1.054571817 \times 10^{-34} \mathrm{\,J\,s}\) hbar
Elementary charge \(e = 1.602176634 \times 10^{-19}\mathrm{\,C}\) e
Avogadro constant \(N_{\text{A}} = 6.02214076 \times 10^{23}\mathrm{\,mol^{-1}}\) N_A
Atomic mass constant \(m_{\text{u}} = 1.66053906660 \times 10^{-27}\mathrm{\,kg}\) value('atomic mass constant')

Length

\(1 \,\text{Bohr} = 0.529177210903 \times 10^{-10} \,\text{m}\) value('Bohr radius')
\(1 \,\text{Ang} = 1.88972612462577 \,\text{Bohr}\) value('Angstrom star')

Energy

\(1 \,\text{eV} = 1.602176634 \times 10^{-19} \,\text{J}\) value('electron volt')
\(1 \,\text{Ry} = 2.1798723611035 \times 10^{-18} \,\text{J}\) value('Rydberg constant times hc in J')
\(1 \,\text{Ry} = 13.605693122994 \,\text{eV}\) value('Rydberg constant times hc in eV')
\(1 \,\text{Hartree} = 2 \,\text{Ry} = 4.359744722207 \times 10^{-18} \,\text{J}\)

LaTeX

Coding

Computer and system settings

MacOS

Adjust the spacing of menu bar apps

To adjust the spacing of menu bar apps, open the Terminal and run the following commands:

1
2
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 8
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 8
Normally, the value of 8 looks good. And you need a logout or restart to take effect. To see the current settings if you have set them:
1
2
defaults -currentHost read -globalDomain NSStatusItemSelectionPadding
defaults -currentHost read -globalDomain NSStatusItemSpacing
To cancel the changes:
1
2
defaults -currentHost delete -globalDomain NSStatusItemSelectionPadding
defaults -currentHost delete -globalDomain NSStatusItemSpacing

0%