This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# vim: set ts=4: | |
# | |
# Install dependencies on Alpine: | |
# apk add ruby ruby-io-console ruby-json ruby-nokogiri ruby-xmlrpc bind-tools | |
# gem install opennebula-cli | |
# | |
#---help--- | |
# Usage: oneimage-upload [options] | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The MIT License | |
Copyright 2018-2019 Jakub Jirutka <[email protected]>. | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# vim: set ts=4: | |
# | |
# Any copyright is dedicated to the Public Domain. | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# | |
set -eu | |
APK_KEY_URI='https://alpinelinux.org/keys/[email protected]' | |
APK_KEY_SHA1='3af08548ef78cfdedcf349880c2c6a1a48763a0e' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"voting_districts": [ | |
1001 | |
], | |
"districts_ruian": [ | |
30531 | |
], | |
"address": "Pohořelec 111/25, Hradčany, 11800 Praha 1", | |
"name": "Pobočka Městské knihovny Praha - Pohořelec", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LDAP_SRC = ../../.. | |
LDAP_BUILD = $(LDAP_SRC) | |
LDAP_INC = -I$(LDAP_BUILD)/include -I$(LDAP_SRC)/include -I$(LDAP_SRC)/servers/slapd | |
LDAP_LIB = $(LDAP_BUILD)/libraries/libldap_r/libldap_r.la \ | |
$(LDAP_BUILD)/libraries/liblber/liblber.la | |
LIBTOOL = $(LDAP_BUILD)/libtool | |
CC = gcc | |
OPT = -O2 -Wall -Wno-discarded-qualifiers -Wno-format-extra-args -pedantic | |
DEFS = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#---help--- | |
# 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: <https://gist.github.com/jirutka/5cf0e731dbc39a3a6fff0c6e1a2c2510> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#---help--- | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
partial alphanumeric_keys | |
xkb_symbols "qwerty-mac" { | |
// This layout corresponds to the Apple's Czech - QWERTY. | |
// 2018 by Jakub Jirutka <[email protected]> | |
include "latin" | |
name[Group1]= "Czech (QWERTY, Macintosh)"; | |
// Unmodified, Shift, AltGr, Shift+AltGr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
partial alphanumeric_keys | |
xkb_symbols "qwerty-ng" { | |
// 2018 by Jakub Jirutka <[email protected]> | |
name[Group1]= "Czech (QWERTY/ng)"; | |
// Unmodified, Shift, AltGr, Shift+AltGr | |
key <TLDE> { [ semicolon, asciitilde, grave, degree ] }; | |
key <AE01> { [ exclam, 1, exclamdown, notsign ] }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Server challenge directory for Let's encrypt! | |
# | |
location /.well-known/acme-challenge/ { | |
alias /var/www/acme/; | |
} |