If I want to put picture galleries on the web, I should look at static generators for picture galleries, as I have no need of comments and all that stuff. Some possible candidates are curator, fgallery, lazygal, Sigal, Sitelen Mute. The question then, is how to choose one? curator is written in Python (good), but is a bit old (Python 2?). fgallery is written in perl, and has a bigger list of dependencies than the other candidates. lazygal looks quite all right, Python >= 3.7 (good) and can do lots of stuff. Sigal requires Python >= 3.5 (good), can do the same things that lazygal can, it supports relative output, and more. It doesn't have support for facedetect, if you need that. Sitelen Mute requires perl (like fgallery) and has a quite big list of dependencies, so even if it has facedetect, I think I'll opt out of using it.

Hmm, it seems like I have decided to try Sigal then.


Open source KVM over IP

Mon 03 August 2020 by Torfinn Ingolfsen

Pi-KVM is a very interesting project. It allows you to build a fully functional KVM over IP solution using cheap hardware and open source software. Source at Github: pikvm/pikvm The KVM supports virtual CD-ROM and virtual flash drive too. You can power on / off the server via ATX power …

read more

FreeBSD with Debian vm for wireless network

Sun 02 August 2020 by Torfinn Ingolfsen

New hardware doesn't always have working drivers in FreeBSD. The developers do a great job, but there are not enough of them. On the other side, it seems like hardware companies pour out an endless stream of new hardware every month.

I wanted to see if I could use a …

read more

Git resources for newcomers

Wed 22 July 2020 by Torfinn Ingolfsen

When I first started learning git, Learning git branching was a great way for me to understand how things works. As it turns out Resources to learn Git has a lot more, all of it useful.

read more

CudaText looks nice

Mon 24 February 2020 by Torfinn Ingolfsen

CudaText looks nice. A lot of features, and written in Pascal too. If I set $EDITOR correctly, it will let me edit my blog posts too, directly from the Makefile. Perhaps I should spend some time learning it.

Ok, middle button (mouse) paste doesn't work out of the box, instead …

read more

Broken theme

Mon 25 November 2019 by Torfinn Ingolfsen

For some reason, the simple theme was broken, at least on my machine. So I downloaded pelican-themes and changed to the tuxlite_tbs theme. Also, I need to set ${EDITOR} on my machine. Broken seems to be a theme here...

Update: but now I need to do cd ..; git clone --recursive …

read more

Control mobile information

Mon 25 November 2019 by Torfinn Ingolfsen

Currently the user of a smartphone have very little control over what data he or she shares, and who gets access to data data. The best option today is to assume that everyone who has asked for access to any of your data, has, in fact, acces to /all/ of …

read more

Emulation layers

Mon 05 August 2019 by Torfinn Ingolfsen

I find it interesting that we now have Anbox and Darling in addition to Wine. I have used Wine successfully in the past, even with a usb label printer once (which didn't follow the usb specification well and misbehaved under Linux and *BSD). Today, the only Windows applications I need …

read more

Useful for document handling

Sat 20 July 2019 by Torfinn Ingolfsen

Often I find articles about useful tools online, that I need to find back to later. Page dewarping by Matt Zucker (code on Github) is one such article. It will be useful for scanning old documentation. His noteshrink tool and Compressing and enhancing hand-written notes article is also interesting, perhaps …

read more

decentralized and local-first services

Sat 13 July 2019 by Torfinn Ingolfsen

The article Run your own social which I found via BoingBoing is interesting. If you put the question of why anyone would want another time-thief in their life (yes, a new service will come as an addition, not as a replacement) it explains a way to do it, not only …

read more

Pelican 4.0.1 is in

Sat 13 July 2019 by Torfinn Ingolfsen

Long time since I posted here. Time has passed, and now Pelican 4.0.1 is out, I installed that on my new workstation (along with a few other missing tools). That's all.

Ok, it seems I managed to break it again. Will this change fix anything?

As it turns …

read more

another git cheatsheet

Tue 19 March 2019 by Torfinn Ingolfsen

I found another git cheat sheet, which looks very nice. Found at git - the simple guide.

Also, Pro Git is an entire book about Git, available under a Creative Commons license. Cool!

read more

Alternatives to Github

Tue 05 June 2018 by Torfinn Ingolfsen

Alternatives to Github, some offer a hosted experience, some requires self-hosting. Check out Gitea which requires Go, GitLab, Bitbucket by Atlassian, GitPrep which calls itself a Github clone, Kallithea, Phabricator which is used by FreeBSD among others. There are probably more as well.

read more

git - more to learn

Fri 25 May 2018 by Torfinn Ingolfsen

For some reason, the submodule ("output") had a detached head, and no matter how much I tried

git submodule init
git submodule update

the HEAD was still detached. In the end, I just changed into the output directory and did a git checkout master - the existing content was going to …

read more

Slides with Markdown

Thu 24 May 2018 by Torfinn Ingolfsen

I should check out Landslide, Marp, pandoc, Hacker Slides and other Markdown-powered slide generators. Not my idea, I read the article 4 Markdown-powered slide generators by Scott Nesbitt. All inspiration comes from there.

Landslide is (mostly) Python which is nice. Marp is an Electron app, so a bit "heavier" on …

read more

Github cheatsheets

Tue 27 February 2018 by Torfinn Ingolfsen

There are two slightly different git "cheat sheets" that you can download from Github, one blue and one green in color. The blue one refers to Github Training while the green one refers to Github Education. Also, contents and wording is slightly different between them. Still, they are both useful …

read more

Progress on Windows

Tue 13 February 2018 by Torfinn Ingolfsen

Ok, I have figured out how to get date the Makefile in Windows, using powershell and a powershell script. The script is simple

get-date -UFormat '%Y-%m-%d %H:%M:%S'

yes, that is all. From the Makefile, I run it as

powershell -File .\ScriptDate.ps1

the Makefile fragment looks …

read more

Output first

Mon 12 February 2018 by Torfinn Ingolfsen

As the original article says; you have to commit and push the output directory before pushing the source files. Don't forget it again!

read more

Pelican on Windows

Mon 12 February 2018 by Torfinn Ingolfsen

Installing Pelican on Windows is quite easy. You need Python of course, then it is just 'pip install pelican' followed by 'pip install MarkDown' and Pelican is installed. All this from PowerShell.

Unfortunately, my setup uses a Makefile (originally I set up this under Linux). So I need make, the …

read more

Lack of news

Wed 29 November 2017 by Torfinn Ingolfsen

The lack of news here just mirrors the fact that I am busy doing other things. Nothing to worry about.

read more