Roland's homepage

My random knot in the Web

Articles tagged with "FreeBSD"

  1. FreeBSD 13.1 install on a Lenovo IdeaPad 5

    When I originally got this machine, I needed it for $WORK. That is no longer the case, so I wanted to install FreeBSD 13.1 in combination with ZFS to gain experience with the latter.

    TL;DR Nice and quiet. Slightly faster than my i7-7700 workstation. Except for wifi, everything works.

  2. Cleaning up old port configurations

    On FreeBSD, ports save their configuration parameters under /var/db/ports. When you de-install a port, this configuration remains behind. This is how to clean old configurations up.

  3. Command-line versus GUI program

    TL;DR

    When you are exploring a problem, in general first write a command-line program whenever possible.

    It will take less effort to write then a full-blown GUI.

    Introduction

    Recently I wrote a program to remove the protection from ms-excel files.

    The original version was written as a command-line program. Later I re-used the relevant code for a GUI program for use on ms-windows. This was mainly for the benefit of some colleagues who are not comfortable with using the command-line.

    In this article I want to contrast the two programs.

  4. Attempting a conky replacement in Python (part 2)

    In part 1 we say that a simple replacement for conky for generating a statusline for i3 can be achieved. But since it uses the subprocess module to call external programs it is pretty CPU intensive.

    The question now is if we can reduce that? For that we’re going to use mmap to look at the mailbox, and call sysctlbyname(3) using ctypes to get the remaining system information. Note that sysctl et al and the names used are specific to FreeBSD.


Page 1 / 3 Page 2 →