Leverage page bundles in Hugo

-- Leverage 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...

Fun with mermaid js

Mermaidjs - Markdownish syntax for generating flowcharts … What is Mermaidjs ? Mermaid is a simple markdown-like script language for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs from text via javascript. Keywords: Simplify documentation and avoid heavy tools. Continue reading...

Fun With Animated Background Images

Fun with animation… An animated effect can be easily achived with a jquery based script and with 2 more images. The image in front might be a png image with transparent areas, whereas the background image could be a jpg image just showing some colored pattern. 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...

Tcl/tk screenshot widget

Tcl/tk screenshot widget Purpose: A TclOO class which implements a screen shot widget capable to capture any portion of the screen area. The screenshot functionality not only works “internally” inside tk widgets like for example the image create photo -format window -data $mywidget command, it can be used as a generic screen capture function. Continue reading...

Tcl/tk html3widget

html3widget - a tcl/tk megawidget Purpose: The html3widget is a tcl/tk package which implements a megawidget to render html + css. The code is based on Tkhtml3.0 and as well HV3 which (for the moment) is not actively developed, but still offers a solid base to render html including css support. Continue reading...

How to access a remote sqlite database file: sqlitedb.tcl + sqlitedb.php

sqlitedb.tcl package Purpose: Database connectivity package to establish a connection to a remote sqlite database file via http protocol and with the aid of the SqliteDB PHP interface. Be aware that this package is a proove of concept and far from complete. Continue reading...

How to add search to a static site

How to add search to a static site generated with Hugo… … using lunr.js Since version 0.20 Hugo has a build in capability to create a (customized) index file of available markdown documents down below the content directory tree. Once this index file is available, we can use lunr. Continue reading...

Tcl/Tk xtablelist

XTablelist Package Purpose: A TclOO class to extend the fabulous tablelist widget. TclOO naming conventions: public methods - starts with lower case declaration names, whereas private methods - starts with uppercase naming, so we use CamelCase … widget commands: xtablelist::xtablelist Continue reading...