Virtual Jupyter

Wed 24 July 2019
Jupyter and a Python (almost) (Photo credit: Wikipedia)

Following the isolation of python environements and given I use jupyter notebooks, isolating jupyter kernels inside virtualenv is a logical step.

To do so, you must install a new kernel using the ipython you installed inside your virtualenv:

  1. Create your virtualenv
  2. Install ipython inside your virtualenv (use pip)
  3. Create a new kernel
ipython kernel install --user --name="test"

3. Start your jupyter-notebook. You can now choose your new kernel (listed just below the python3 kernel). You can also change your kernel on an existing notebook.

Kernel selection menu (last item)

Category: how to Tagged: python tools code


Python virtualenv: quick reference

Sun 21 July 2019
Virtual environement (Photo credit: wikipedia)

To isolate python developments, I use virtualenv. This allow me to forget about the specific python version used for each project, avoid interferences with the default python installation and between my projects, is relatively light, and may have other advantages I cannot imagine with my …

Category: programming Tagged: python tools code

Read More

LaTeX makefile updated

Fri 29 March 2019

My default LaTeX makefile evolved. Here is an update:

The makefile looks like:

LATEX=pdflatex
BIBTEX=bibtex
BIB=
RERUN='(There is undefined reference|Rerun to get (cross-references|the bars) right)'

%.pdf:%.tex
    ${LATEX} $<
    @if [ -e $*.bbl ]; then ${BIBTEX} $* && ${LATEX} $< && ${LATEX} $< ; fi
    @if egrep -q $(RERUN) $*.log ; then ${LATEX} $< ; fi

%.aux …

Category: tools Tagged: GNU LaTeX Makefile Writing how to tools

Read More

Back online

Mon 18 February 2019

I've migrated the blog from wordpress to pelican. Static files, quite easy to use.

The migration process went well. The pelican import tool is easy to use and my rst linter highlighted the few errors done by the import tools (mainly empty sections).

There are still few artefacts due to …

Category: tools Tagged: pelican wordpress blog tools

Read More

GPG key renewal

Tue 02 February 2016

[caption id="" align="alignright" width="75" class="zemanta-img"]English: An example of a standard key used for... standard key (Photo credit: Wikipedia)[/caption]

What happen when a PGP key expire? Obvious answer: you can no longer securely use it. Nevertheless, you may not delete it as you must be able to read your encrypted files.

Basics step that should …

Category: network security Tagged: FAQs Help and Tutorials Mail tools

Read More

awesome global shortcut

Mon 04 January 2016

[caption id="" align="alignright" width="200" class="zemanta-img"]Multimedia keyboard Multimedia keyboard (Photo credit: Wikipedia)[/caption]

The awesome window manager does not provide GUI configuration tool.

Here is a litte how to to provide a feature using global shortcut, illustrated with wolume control.

Defining and identifying the feature and the shortcut

The …

Category: how to Tagged: alsa ArchLinux awesome Configuration file FAQs Help and Tutorials Unix window manager tools

Read More

Conference posters

Fri 11 December 2015

[caption id="" align="alignright" width="75" class="zemanta-img"]English: This mindmap (Mind map) consists of r... mindmap needing clarification (Photo credit: Wikipedia)[/caption]

Few weeks ago, I wrote about mindmap in [latex]LaTeX[/latex]. Now I want to precise few ideas and to have all key ideas visible in one sight. I think the best layout is similar …

Category: tools Tagged: LaTeX Poster how to tools

Read More
Page 1 of 4

Next »