alias bc='bc -l'
#+end_src
** IPython
-*** General
-Symlink profile_default/ipython_config.py to profile_math/ipython_config.py
#+begin_src python :tangle ~/.ipython/profile_default/ipython_config.py
c.TerminalInteractiveShell.editing_mode = 'vi'
c.InteractiveShell.colors = 'linux'
c.TerminalInteractiveShell.confirm_exit = False
#+end_src
-*** Math
-#+begin_src python :tangle ~/.ipython/profile_math/startup.py
- from math import *
-
- def deg(x):
- return x * (180 / pi)
-
- def rad(x):
- return x * (pi / 180)
-
- def rad(x, unit):
- return (x * (pi / 180)) / unit
-
- def csc(x):
- return 1 / sin(x)
-
- def sec(x):
- return 1 / cos(x)
-
- def cot(x):
- return 1 / tan(x)
-#+end_src
** MPV
Make MPV play a little bit smoother.
#+begin_src conf :tangle ~/.config/mpv/mpv.conf