Roland's homepage

My random knot in the Web

Articles about freebsd

  1. Install ntpsec on FreeBSD

    A short article on how to install ntpsec on FreeBSD. Tested with 0.9.7 and 1.0.0.

    Note

    There is/was a bug in the ntpdate implementation that set the clock to a completely bogus value. So I’ve since written a simple script that runs from cron to fetch the time from a near NTP server.

    date: 2018-01-28
    modified: 2019-07-30
    reading time: 2 min.
    category: freebsd
    tags: ntp python3
  2. 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 …

    date: 2017-04-18
    reading time: 1 min.
    category: freebsd
  3. Python bindings for libmagic

    This documents how I installed Python bindings for libmagic.

    There are actually different bindings for libmagic. One set is part of the original distribution. It can be found in /usr/src/contrib/file/python/. But in my opinion it is somewhat cumbersome to use and not very Pythonic.

    The implementation from ahupp/python-magic in Github feels more natural.


←  Page 1 Page 2 / 4 Page 3 →