View split_ca_bundle.pl
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# === | |
# Synopsis: | |
# | |
# sbin/split_ca_bundle.pl /etc/pki/tls/certs/ca-bundle.crt | |
# sbin/split_ca_bundle.pl /etc/pki/tls/certs/ca-bundle.crt |
View installing_confluence_using_another_jre_than_the_embedded_one.txt
How to install Atlassian Confluence (using the "installer" download), using another JRE than the embedded one | |
============================================================================================================= | |
- When: 2019-04 | |
- For Confluence 6.15.1 | |
- On Linux/Unix (actually Fedora 29) | |
- See also: https://jira.atlassian.com/browse/CONFSERVER-57895 "Installing Confluence in OpenSUSE Tumbleweed through the installer fails" | |
So we have a problem because installation of Confluence using the binary INSTALL4J install module fails: |
View test_dumper.pl
#!/usr/bin/perl | |
# === | |
# Testing what Perl's Data::Dumper does with "high" characters e.g. | |
# | |
# å -> iso-8859-1 : 0xE5 | |
# Unicode UTF-16 : 0x00E5 | |
# Unicode UTF-8 : 0xC3A5 | |
# | |
# See also: |
View resize_photos.sh
#!/bin/bash | |
# This program passes shellcheck (www.shellcheck.net) | |
# Author: David Tonhofer | |
# Complexity: Low | |
# License: Public Domain / "The Unlicense" - https://unlicense.org/ | |
# === | |
# | |
# Synopsis: | |
# |
View core.clj
; === | |
; "neighbor" function from Chapter 5 (page 94) of the Joy Of Clojure, 2nd edition. | |
; ...modified and spec-ed! | |
; | |
; Applicable license is the unlicense: http://unlicense.org | |
; except for code taken from "Joy of Clojure, 2nd edition" (i.e. "neighbors-orig"), | |
; which is distributed under the Eclipse License. | |
; | |
; In a Leiningen project called "neighbor", this will be file src/neighbor/core.clj | |
; The project needs to declare these dependencies: |
View clean_root_homedir.sh
#!/bin/bash | |
# === | |
# Author: David Tonhofer | |
# Rights: Public Domain | |
# === | |
set -o nounset | |
ROOT=/root |