Skip to content

Instantly share code, notes, and snippets.

Hari Krishna Dara haridsv

Block or report user

Report or block haridsv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
haridsv /
Last active Jul 15, 2016 — forked from konradkonrad/
restore yank-last-arg and yank-nth-arg in ipython 5
# ~/.ipython/profile_default/startup/
from IPython import get_ipython
from prompt_toolkit.enums import DEFAULT_BUFFER
from prompt_toolkit.keys import Keys
from prompt_toolkit.filters import HasFocus, HasSelection, ViInsertMode, EmacsInsertMode
ip = get_ipython()
insert_mode = ViInsertMode() | EmacsInsertMode()
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
# create our directories
You can’t perform that action at this time.