-
A modern theme for cgit
cgit is a lightweight web frontend for git repositories. As opposed to modern git forges such as GitLab, Gitea and Forgejo, cgit provides view-only access, and does not have attached bells and whistles such as issue tracking or pull requests. This allows cgit to be… »
-
htmlcc: Statically compiled HTML templates for C
This article presents htmlcc, an HTML templating engine for C utilising static compilation.
Motivation
Web applications are not commonly written in C; one notable counterexample is cgit, a web frontend for git repositories. HTML output in cgit is implemented from scratch, using bespoke… »
-
Foreground segmentation with JBIG2 for improved PDF compression: pdf-segmented
Motivation
JBIG2 is an efficient image compression format for bi-level (bi-tonal) images, which is supported by the PDF file format and common PDF viewers. To date, tooling for producing documents using JBIG2 (particularly open source tooling) has been limited; I have previously presented file-jbig2pdf,… »
-
What is a registrar? – A ‘who's who’ of public hospital doctors
What, exactly, is a medical registrar? As a medical student, I was told ‘a registrar is a doctor in a training program’. A survey of Google search results shows this view is widespread:
A medical registrar is a doctor who undergoes advanced training in a
-
Investigating a proprietary Android 2FA system
This article concerns an Android app used as part of a proprietary two-factor authentication (2FA) system. Investigation of the app and 2FA protocol reveals some interesting design decisions.
Overview
The 2FA system is similar to well-known offerings such as Duo Security and Okta Verify.… »
-
Investigating a historical Android anti-root protection system
This article concerns a specialised Android app used as part of a proprietary authentication protocol, developed in the late 2010s. Given the intended use case, the app features a number of aggressive security measures – the app uses FLAG_SECURE and does not run when developer… »