Small D3.js exercise to draw a circle of fifths diagram
-
-
Hadoop 3 default ports
Here is a listing of the default port numbers in Hadoop 3.
-
Custom D3.js Visualization in a Jupyter Notebook
Sometimes you want to create a visualization that is far from straightforward with the standard data visualisation tools like matplotlib, pandas, seaborn or bokeh. In this article I'll discuss an approach to create custom D3.js powered visualizations withing a Jupyter notebook.
-
Open a source file from web page with PyCharm protocol handler
When developing a web application of non-trivial size it can be challenging to find the relevant source file or class that is responsible for something you see on a web page.
PyCharm (currently my main development environment for python) provides a
pycharm://
protocol handler, which makes it possible to link … -
Git annex: hook to prevent adding files the wrong way
UPDATE Oct 2019: since the recent v7 repository version of git annex, the problem (and solution) described below are not that relevant anymore. See the largefiles feature for example.
For managing my photo (and video) collection, which is too large to fit on my laptop drive, I use Git Annex …
-
Pretty CSV viewing on the Command Line
CSV (comma separated values) files are to data formats what FAT32 is to file systems: everybody loves to hate them, but you can't find a more widely supported alternative.
For example, viewing CSV files in a command line environment is typically pretty annoying. You can't make much from this, right …
-
Dynamic Pelican settings
Context
When porting my blog from Drupal to Pelican, I wanted to preserve my clean URLs as much as possible for old blog entries. In Pelican you typically achieve this by making sure each article has a
slug
metadata entry with the desired clean URL and setting up_SAVE_AS …
-
Dialog popup in Jupyter notebook
-
Quick and easy tag cloud in Pelican
Here's a quick (and dirty?) trick to create a tag cloud in Pelican without plugins and minimal amount of code.
Define a jinja filter in
pelicanconf.py
to convert a tag's article count to a CSSfont-size
value. For example like this:import math JINJA_FILTERS = { 'count_to_font_size …
-
Switching my blog to Pelican
For several years my blog was powered by Drupal. At the time (when I studied and worked in academia) I was an active Drupal developer, so that was a logical choice, and Drupal served me well.
When occupation and family situation changed however, my Drupal interest and involvement slowly decreased …