Roland's homepage

My random knot in the Web

Older articles (4/15)

  1. Making a subset of a git repository

    Since I am in the process of making most of my programs available on github, I have been re-shuffling the some git repositories. Especially my collection of scripts (small programs for different purposes). Because some of those scripts are private, I don’t want to publish that repository as a whole.

  2. Writing the README first

    Today I watched Kenneth Reitz’s python for humans video. His statement that “API is all that matters” resonated with me because I sometimes struggle with that.

    Then he mentioned that you should write the README first, before writing any code. This is something that I do sometimes, but not always thoroughly. So I decided to use this as an experiment to refactor my beammech module.

  3. Managing configuration files with ‘deploy’

    The deploy script is a program for managing configuration files. This script grew out of my need for a multi-functional installer for configuration files. I tend to keep those files in a separate git repository rather than changing my $HOME into a git repository.

  4. Updating FreeBSD from source

    Sometimes I need to update my FreeBSD operating system. I prefer to do that from the source code, so that my customizations in (/etc/src.conf) remain.

    At the writing of this article, I’m tracking the 10-STABLE branch. To start this, I removed the contents of /usr/src ...

  5. Switching IPython to Python 3

    More and more, IPython has become my tool of choice as the ultimate calculator and to try out concepts and code for use in my programs.

    While I generally use the terminal-based interactive shell, notebooks offer more capabilities for integrating text, formulas and graphics.

    With Python 2.7 effectively mostly ...

  6. Making saline solution

    The standard recipe for saline solution is 9 grams of salt per liter of water.

    Since most people don’t have an accurate scale, we need to convert the nine grams to a volume. For that we need the bulk density of table salt. For fine table salt, the listed ...

  7. Modifying a FreeBSD port

    Installing software on FreeBSD is made easier by the ports system; a collection of Makefiles and patches that contains instructions on how to build programs and libraries. E.g. building and installing the mpv media player is done in the following way:

    # cd /usr/ports/multimedia/mpv
    # make install clean ...
  8. TeXcalc

    As an engineer, I often do diverse calculations that I want to save in my logbooks which I write in LaTeX. Up to now I’ve either formatted those by hand or used the listings package to include calculations made in IPython.


←  Page 3 Page 4 / 15 Page 5 →