]> git.armaanb.net Git - config.org.git/blobdiff - config.org
ipython: remove unused math profile
[config.org.git] / config.org
index 9bbb0a5bb23f5c0f74086d1a40aa572dd517399a..7a4223cc98ff2661cad63ccca362cd5eccafc9ba 100644 (file)
@@ -845,7 +845,7 @@ No more clogging up init.el.
   finger() {
       user=$(echo "$1" | cut -f 1 -d '@')
       host=$(echo "$1" | cut -f 2 -d '@')
-      echo $user | nc "$host" 79 -N
+      echo $user | nc "$host" 79
   }
 #+end_src
 **** Upload to ftp.armaanb.net
@@ -912,7 +912,6 @@ No more clogging up init.el.
   alias ln='ln -v'
   alias grep='grep -in --color=auto'
   alias mkdir='mkdir -pv'
-  alias wget='wget -e robots=off'
   alias lanex='java -jar ~/.local/share/lxc/lanxchange.jar'
   alias vim=$EDITOR
   alias emacs=$EDITOR
@@ -993,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
@@ -1274,4 +1249,5 @@ Modus operandi.
 ** Tmux
 #+begin_src conf :tangle ~/.tmux.conf
   set -g status off
+  set-window-option -g mode-keys vi
 #+end_src