Roland's homepage

My random knot in the Web

Older articles (2/16)

  1. Building gphoto2-ffi on FreeBSD

    Download

    Clone the repository from https://github.com/jbaiter/gphoto2-cffi.

    > cd ~/github
    > git clone https://github.com/jbaiter/gphoto2-cffi
    

    Build

    I had to specify where to find the include files.

    > env C_INCLUDE_PATH=/usr/local/include python3 setup.py build
    

    Install and clean-up

    # python3 setup.py install
    # python3 setup.py clean ...
  2. Removing big files from git history

    By accident I checked 60-odd full-size photographs into the git history of my website. I shrunk them in a next commit, but the history was still there leading to a bloated .git directory. This took a lot of time when making backups. This documents how I cleaned up this mess.

  3. Using gnuplot from Python

    According to my revision control systems (rcs in those days), I’ve been using gnuplot to make graphs since at least 2002. And I’ve got it set up via a custom gnuplotrc to match the style of the TeX documents I often use the graphs in.

    At work we have an Instron 3369 machine for material testing. Recently, I wanted to visualize some tensile test data in ways that I couldn’t get into the test report.

  4. PDF tricks

    This article contains several useful tricks for manipulating PDF files.

    The focus of this article is on Open Source and Free software, that are available for UNIX-like operating systems. These tools are made for use on the command-line of a shell.

  5. Adding text or graphics to a PDF file

    Using Acrobat Reader’s ability to add text et cetera has proven unreliable for me. On multiple occasions I have lost all the text added to a PDF file. When your filling in 20-plus pages worth of permit forms this is a huge waste of time and extremely annoying.

    So I set out to find another way using the free and open-source tools I have available.


←  Page 1 Page 2 / 16 Page 3 →