These instructions explain how to build OpenSSL 1.1 and the traditional libcrypt (specifically libcrypt.so.1 from older versions of glibc). This enables us to run versions of OpenShift's HAProxy that were linked against OpenSSL 1.1 and the older libcrypt on RHEL/Fedora systems where the runtime platform now only provides OpenSSL 3 and the newer libxcrypt. We need the older libcrypt because the OpenShift HAProxy build depends on it, and the newer libxcrypt is not fully backward compatible with the original libcrypt.
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
| # keybind = alt+physical:one=unbind | |
| # keybind = alt+physical:two=unbind | |
| # keybind = alt+physical:three=unbind | |
| # keybind = alt+physical:four=unbind | |
| # keybind = alt+physical:five=unbind | |
| #keybind = clear | |
| keybind = shift+up=adjust_selection:up | |
| keybind = shift+left=adjust_selection:left |
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
| #!/usr/bin/env bash | |
| # Reset and customise menu bar shortcuts for the Ghostty macOS app. | |
| # Restart the app to apply the new bindings. | |
| set -euo pipefail | |
| # Constants for modifier keys. | |
| CMD="@" | |
| CTRL="^" |
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
| #!/usr/bin/env bash | |
| set -eu | |
| # Detect the host architecture dynamically | |
| host_arch=$(uname -m) | |
| # Map common architecture names to their corresponding Rust target format. | |
| arch_map() { | |
| case "$1" in |
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
| apiVersion: apps/v1 | |
| kind: DaemonSet | |
| metadata: | |
| name: daemon | |
| namespace: kube-system | |
| spec: | |
| template: | |
| spec: | |
| containers: | |
| - name: bpfman-supervisor |
HAProxy version 2.8.5-aaba8d0 2023/12/07 - https://haproxy.org/
Column headers:
- ST=<0|1> (server-template disabled=0, enabled=1)
- Tn (Number of Threads)
- RSS (Memory usage in MB)
I have been collecting memory usage data for HAProxy's server-template feature, where the range is 0..N - this is the ST=1 column.
HAProxy version 2.8.5-aaba8d0 2023/12/07 - https://haproxy.org/
server-template range: 0..N T4 B100 RSS (MB) T4 B1000 RSS (MB) T4 B10000 RSS (MB) T64 B100 RSS (MB) T64 B1000 RSS (MB) T64 B10000 RSS (MB)
--------------------------- ---------------- ----------------- ------------------ ----------------- ------------------ -------------------
0 12 18 81 17 24 86
1 12 22 123 18 32 168
2 13 27 166 19 40 249
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
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| # Store the current backend block. | |
| my $backend_block = ''; | |
| # Flag to start capturing lines into the backend block. | |
| my $capture_block = 0; |
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
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Getopt::Long; | |
| use Digest::MD5 qw(md5_hex); | |
| my $obfuscate = 0; # No obfuscation by default. | |
| my $fix_singular_weight256 = 0; # Conditionally rewrite 'weight 256' |