Create Markdown Table of Content

Create Markdown Table of Content Purpose A small utility function to create a table of content section at the beginning of a markdown file. Let’s assume the following workflow: Usually I use a text editor (preferable with code highlighting for the markdown syntax) for text-writing. Continue reading...

Recursive directory listing for Hugo

How to program a recursive directory listing I came across the idea to create a summary page showing all files which are stored in a directiory down below Hugo’s /static folder. Here is a brief description of how such a shortcode could be implemented. Continue reading...

File rename utility

File rename utility Welcome to the filerename utility Purpose: This utility renames all files of a given directory so that the last modified date of each individual file is added as prefix at the very beginning of the filename. I am pretty sure one can find already tons of software applications out there which support such a functionality (or maybe not). Continue reading...

Font selection dialog

Font chooser / font selection dialog This is a support package for tcl/tk which implements another kind of font selection dialog (or so called font chooser dialog). Although there are many similar font selection dialogs available, I always wanted to create a dialog which allows to choose a font in a most easy and efficient may. Continue reading...

Tag Cloud for Hugo

Tag & Categories Cloud for Hugo Tags and categories are a great choice for organizing content. In this post I’d like to show how to layout & program a tag cloud for hugo, a static site generator. When creating a new article in the content folder, dont’t miss to enter the “tags” and “categories” taxonomy information. Continue reading...

Leverage page bundles in Hugo

Page Bundles in Hugo Page bundles are available in hugo (a static web site site generator which is great fun) for quite a while now. I always wanted to store files (assets and images, etc…) which belongs to an article in the same directory as the article itself - or at least in a sibling directory down below the content tree. Continue reading...

Yet another Screenshot application

ScreenShot Application Create a screenshot and copy it as image to the clipboard. Right now an executable for windows and as well the source code is provided. The software is published as open source. This application is basicly a proof of concept how complicated it would be to just take the [tcltk-starter-package] ( /blog/2019/08/04/19-08-04_tcltk_starter_package/ ) (available on this site) plus a few support packages (already developed) and glue all together to a small application. Continue reading...

Tcl/tk savedefault package

Tcl/tk savedefault package Purpose: This is probably one of my very first utility package I wrote. So, when attempting to create and design a (hopefully) user friendly graphical user interface (GUI), quite early, the first questions that need to be adressed are: Continue reading...

Tcl/TK - Starter package

Programming in Tcl/TK - Starter package What is Tcl/TK ? Tcl/TK (Tool Command Language) is a very powerful but easy-to-learn dynamic and open source programming language. The motivation for this article is to give a beginner, who wants to learn the language some usefull information and as well a “starter package” which includes the required software to start with (see download link below). Continue reading...

Using Hashover commenting system for Hugo static websites

Motivation: As an initial approach, the Disqus commenting platform was used on this site. Disqus is nicely integrated in Hugo and so getting this service up and running a static site is not a big deal. (Hugo is a static site generator which allows you to create web sites completely independently of any web service and off-line on your local computer). Continue reading...