Static generators for picture galleries
Fri 25 September 2020 by Torfinn IngolfsenIf 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
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 moreFreeBSD with Debian vm for wireless network
Git resources for newcomers
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 moreCudaText looks nice
Broken theme
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 …
Control mobile information
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 moreEmulation layers
Useful for document handling
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 moredecentralized and local-first services
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 morePelican 4.0.1 is in
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 moreanother git cheatsheet
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 moreAlternatives to Github
git - more to learn
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 …
Slides with Markdown
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 moreGithub cheatsheets
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 moreProgress on Windows
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 moreOutput first
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 morePelican on Windows
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 moreLack of news
The lack of news here just mirrors the fact that I am busy doing other things. Nothing to worry about.
read more