Skip to content

Instantly share code, notes, and snippets.

Jakub Jirutka jirutka

Block or report user

Report or block jirutka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jirutka / print-fit-linux.ppd
Last active Apr 22, 2020
Modified PPD file for Kyocera TASKalfa 6053ci with support for overwriting the accounting username sent to the print server.
View print-fit-linux.ppd
*PPD-Adobe: "4.3"
*cupsLanguages: "de es fr it pt"
*% PPD file for Kyocera TASKalfa 6053ci
*% Linux Version
*% (C) 2019 KYOCERA Document Solutions Inc.
*% Permission is hereby granted, free of charge, to any person obtaining

Keybase proof

I hereby claim:

  • I am jirutka on github.
  • I am jirutka ( on keybase.
  • I have a public key whose fingerprint is D785 8912 669D 3A20 F4F4 6BD2 F95B D679 104D 3115

To claim this, I am signing this object:

View acme-challenge.conf
# Server challenge directory for Let's encrypt!
location /.well-known/acme-challenge/ {
alias /var/www/acme/;
jirutka / cz-qwerty-ng
Last active Oct 28, 2018
Czech QWERTY keyboard layout revisited
View cz-qwerty-ng
partial alphanumeric_keys
xkb_symbols "qwerty-ng" {
// 2018 by Jakub Jirutka <>
name[Group1]= "Czech (QWERTY/ng)";
// Unmodified, Shift, AltGr, Shift+AltGr
key <TLDE> { [ semicolon, asciitilde, grave, degree ] };
key <AE01> { [ exclam, 1, exclamdown, notsign ] };
jirutka / cz
Created Jun 6, 2018
Keyboard layout for X11 that corresponds to the Apple's Czech – QWERTY
View cz
partial alphanumeric_keys
xkb_symbols "qwerty-mac" {
// This layout corresponds to the Apple's Czech - QWERTY.
// 2018 by Jakub Jirutka <>
include "latin"
name[Group1]= "Czech (QWERTY, Macintosh)";
// Unmodified, Shift, AltGr, Shift+AltGr
jirutka / procs-using-deleted-files
Last active Apr 12, 2018
Find processes that use (maps into memory) files which have been deleted or replaced on disk.
View procs-using-deleted-files
# Usage: procs-using-deleted-files [options]
# Find processes that use (maps into memory) files which have been deleted
# or replaced on disk. If /proc/$PID/map_files is accessible, then it omits
# files that have been replaced by the same files (i.e. content is the same).
# Options:
# -e PATT... Case pattern (POSIX shell's "case") specifying paths to exclude
jirutka / rc-service-pid
Last active Apr 11, 2018
Script for finding PID of running OpenRC service and vice versa.
View rc-service-pid
# Usage: rc-service-pid [-h | SVCNAME | PID]
# Prints list of running OpenRC services with their PIDs (services which PID
# cannot be resolved are omitted). If SVCNAME is provided, prints only PID
# of service with name SVCNAME. If PID is provided, prints name of the
# service that started process with the given PID or its ancestor.
# Source: <>
jirutka / Makefile
Created Nov 13, 2017
Custom OpenLDAP overlay that adds a “virtual” attribute with person’s full name constructed from other attributes.
View Makefile
LDAP_SRC = ../../..
LDAP_INC = -I$(LDAP_BUILD)/include -I$(LDAP_SRC)/include -I$(LDAP_SRC)/servers/slapd
LDAP_LIB = $(LDAP_BUILD)/libraries/libldap_r/ \
CC = gcc
OPT = -O2 -Wall -Wno-discarded-qualifiers -Wno-format-extra-args -pedantic
jirutka / prague-voting-places.json
Created Oct 20, 2017
Voting places in Prague for year 2017 in JSON. Source:
View prague-voting-places.json
"voting_districts": [
"districts_ruian": [
"address": "Pohořelec 111/25, Hradčany, 11800 Praha 1",
"name": "Pobočka Městské knihovny Praha - Pohořelec",
jirutka /
Created Oct 8, 2017
This is a demo script used at Alpine Linux booth at LinuxDays 2017 to demonstrate how is apk-tools and Alpine Linux awesome. Recorded output:
# vim: set ts=4:
# Any copyright is dedicated to the Public Domain.
set -eu
You can’t perform that action at this time.