From: Armaan Bhojwani Date: Mon, 17 May 2021 02:54:49 +0000 (-0400) Subject: ipython: remove unused math profile X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=84ab527af15df0fee848abe2cf45808021e96565 ipython: remove unused math profile --- diff --git a/config.org b/config.org index d9a2abf..7a4223c 100644 --- a/config.org +++ b/config.org @@ -992,35 +992,11 @@ No more clogging up init.el. 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