Create Markdown Table of Content A small utility function to create a table of content section at the beginning of a markdown file.
Purpose Let’s assume the following work-flow:
Usually I use a text editor (preferable with code highlighting for the markdown syntax) for text-writing.
Continue reading...
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 Welcome to the file rename 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.
Continue reading...
Font chooser / font selection dialog Although there are many similar font selection dialogs available, I always wanted to create a dialog which allows to choose a font in an easy and efficient way.
This is a support package for tcl/tk which implements another kind of font selection dialog (or so called font chooser dialog).
Continue reading...
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, don’t miss to enter the “tags” and “categories” taxonomy information.
Continue reading...
Delete all unused Details Purpose This CATScript macro for Catia can be used to delete all unused details which are currently available in one of the available detail sheet(s).
An unused detail hereby is a detail which is not referenced in any of the available drawing views in a CATDrawing.
Continue reading...
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 animation
An animated effect can be easily achieved 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...
ScreenShot Application Create a screen-shot 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 basically 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 Purpose This package is quite small but turned out to be incredibly useful for me. In fact I am using it for almost all GUI related programs I wrote so far. This is probably also one of my very first tcl/tk utility package I wrote.
Continue reading...