git for .profiles and nbviewer extensions

I just painfully became aware of the importance of adding the different profiles (.bashrc, .bash_profile, .ipython, etc.) to version control. To ignore all but a few relevant files in the home directory, I’d use following as .gitignore:

*
!*/
!.gitignore
!.bash_profile
!.jupyter/
!.ipython/

Moreover, I started to experiment a bit with extensions to jupyter through the nbviewber extensions, motivated by this blog post. The extensions and detailed instructions are available on github. Lastly, Benjamin Winkel pointed out that there’s the possibility of customizing jupyter such that it support a multicursor, cmd+d feature, similar to sublime text and atom. The instructions can be found here, but will hopefully become obsolete as this feature is properly added to the master branch of jupyter.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s