Put custom.css in .jupyter/custom/
(if you are running recent version of Jupyter).
Note: Tested only on Chrome. Let me know if something is not working.
import numpy as np | |
import seaborn as sns | |
from scipy.ndimage import rotate | |
def plot_heatmap_triu(m, shape=(10,10)): | |
""" | |
Plot a symmetric matrix as a triangluar heatmap. | |
- m: 2d ndarray of numpy (symmetric) |
To install Filezilla 3.30, first download the updated version from here.
Go to the ~/Downloads folder.
cd ~/Downloads
Now uncompress the downloaded file.
tar -vxjf FileZilla_3.30.0_x86_64-linux-gnu.tar.bz2
source activate thisenv | |
python -m ipykernel install --user --name thisenv |
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
%%javascript
var kernel = Jupyter.notebook.kernel
kernel.execute('kernel_name = ' + '"' + kernel.name + '"')
print(kernel_name)
from jupyter_client import kernelspec
spec = kernelspec.get_kernel_spec(kernel_name)
set imap_user="[email protected]" | |
set imap_pass=`/usr/bin/security find-generic-password -w -a '[email protected]' -s 'Gmail'` | |
set folder=imaps://imap.gmail.com/ | |
set spoolfile=+INBOX | |
set record="+[Gmail]/Sent Mail" | |
set postponed="+[Gmail]/Drafts" | |
# https://www.neomutt.org/guide/reference search sleep_time for additional info | |
set sleep_time=0 # be faster |
Open terminal in inside downloaded folder. When the folder has setup.py scripts probably could by installed as module.
When you using conda install first install build package
# Display information about current conda install
conda info
# Install conda-build in the current env
conda install conda-build
i3-gaps has some packages that are required for it to work so install these things:
sudo apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev libtool automake
You also need to install libxcb-xrm-dev
, but I got Unable to locate package libxcb-xrm-dev
when trying to install from the apt repositories on Ubuntu 16.04. If this happens to you, just install it from source using these commands:
mkdir tmp
# docs/Makefile.dash | |
include Makefile | |
SPHINXBUILD = sphinx-build | |
BUILDDIR = $(shell pwd) | |
PROJECT_NAME = "mne" | |
.PHONY: dashdoc | |
dashdoc: | |
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) -D 'html_theme=epub' $(BUILDDIR)/dashdoc | |
doc2dash -A -v -n $(PROJECT_NAME) -d $(BUILDDIR)/ -f -I index.html -j $(BUILDDIR)/dashdoc | |
@echo |