Skip to content

Instantly share code, notes, and snippets.

View zcsahok's full-sized avatar

Zoltan Csahok zcsahok

  • Budapest, Hungary
View GitHub Profile
@zcsahok
zcsahok / update-tlf-files.md
Last active July 20, 2026 19:53
Configuring a systemd service and timer for periodic updates of TLF support files

Configuring a systemd service and timer for periodic updates of TLF support files

This short guide will enable you to set up a user service to update TLF support files cty.dat and MASTER.SCP.

No root access is needed.

Configure TLF

Instruct TLF to use MASTER.SCP as its callmaster file

@zcsahok
zcsahok / test_strncpy.c
Created January 17, 2021 20:30
strncpy test
#include <stdio.h>
#include <string.h>
/*
output:
w's: 77 77 77 77
short1: 61 77 77 77
short2: 61 62 77 77
short3: 61 62 00 77
long1: 61 77 77 77
long2: 61 62 77 77