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/bash | |
| set -euo pipefail | |
| set -x | |
| VM_NAME=repro | |
| incus exec --cwd /usr/local/src/ways-to-test-cvmfs $VM_NAME -- bash -l -euo pipefail -x <<EOF | |
| pushd testability/podman/almalinux_10 | |
| rm test.*.done | |
| time make test.510-filechunks.with-systemd.done || true |
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/bash | |
| set -euo pipefail | |
| set -x | |
| VM_NAME=repro | |
| git clone --bare https://github.com/andrey-utkin/ways-to-test-cvmfs ways-to-test-cvmfs.git | |
| git clone ways-to-test-cvmfs.git ways-to-test-cvmfs | |
| git clone --bare https://github.com/andrey-utkin/cvmfs.git cvmfs.git | |
| cd ways-to-test-cvmfs |
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/bash | |
| set -euo pipefail | |
| set -x | |
| # Replicating cvmfs .github/workflows/ci.yml . | |
| # It runs Ubuntu 24.04 VM in Github Actions. | |
| # That VM invokes docker (via compose), | |
| # builds cvmfs in a CentOS 9 container, | |
| # then installs RPM packages in a AlmaLinux 9 container and runs tests in it. |
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/bash | |
| set -euo pipefail | |
| if [[ $# != 1 ]]; then | |
| echo "Usage: $0 <ADDRESS>" >&2 | |
| exit 1 | |
| fi | |
| MAC_ADDRESS=$1 | |
| # microclimate=> create table temperature (time timestamptz default CURRENT_TIMESTAMP, temperature_centicelsius smallint); |
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/bash | |
| set -euo pipefail | |
| OPUS_FILE=$1 | |
| COVER_ART_WEBP=${OPUS_FILE/.opus/.webp} | |
| [[ -f "$OPUS_FILE" ]] | |
| [[ -f "$COVER_ART_WEBP" ]] | |
| FFMETADATA_TMPFILE=$(mktemp --suffix .cover-art.ffmetadata) | |
| PNG_COVER_TMPFILE=$(mktemp --suffix .cover-art.png) |
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 python | |
| # Based on | |
| # https://www.nas.nasa.gov/hecc/support/kb/multiple-cpu-nodes-and-training-in-tensorflow_644.html | |
| # edited to use small obtainable data, picking up the code from | |
| # https://github.com/https-deeplearning-ai/tensorflow-1-public/blob/main/C1/W4/ungraded_labs/C1_W4_Lab_1_image_generator_no_validation.ipynb | |
| # wget https://storage.googleapis.com/tensorflow-1-public/course2/week3/horse-or-human.zip https://storage.googleapis.com/tensorflow-1-public/course2/week3/validation-horse-or-human.zip | |
| import os | |
| import json |
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
| diff -r 15c1801e8901 mod_http_upload/mod_http_upload.lua | |
| --- a/mod_http_upload/mod_http_upload.lua Mon Nov 13 12:37:21 2023 +0100 | |
| +++ b/mod_http_upload/mod_http_upload.lua Mon Nov 13 15:33:32 2023 +0000 | |
| @@ -117,7 +117,7 @@ | |
| local storage_path = module:get_option_string(module.name .. "_path", join_path(prosody.paths.data, module.name)); | |
| lfs.mkdir(storage_path); | |
| -local function expire(username, host) | |
| +local function expire(username, host, max_age) | |
| if not max_age then return true; end |
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/bash | |
| set -e | |
| ORIG_IMAGE="$1" | |
| NATURE_M_IN_PIXEL="6.54" | |
| SCALE=50000 # Nature meters in map meter | |
| SHEET_AVAILABLE_WIDTH_MM=200 | |
| SHEET_AVAILABLE_HEIGHT_MM=287 | |
| GRID_STEP_M=1000 | |
| GRID_THICKNESS=1 |
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
| set -g default-terminal "screen-256color" | |
| # http://superuser.com/a/402084 | |
| set-window-option -g xterm-keys on | |
| ##set -g default-command "reattach-to-user-namespace -l bash" | |
| # Start numbering at 1 | |
| set -g base-index 1 |
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
| --- debug.type 2019-01-04 13:25:05.104072678 +0000 | |
| +++ gentoo.type 2019-01-04 13:35:29.080370338 +0000 | |
| @@ -17322,6 +17322,26 @@ | |
| Called from: [3] /usr/share/cmake/Modules/CMakeInitializeConfigs.cmake | |
| [2] /usr/share/cmake/Modules/CMakeCInformation.cmake | |
| [1] /home/j/work/foss/gentoo/spectrum/spectrum2-2.0.9/CMakeLists.txt | |
| +/usr/share/cmake/Modules/CMakeInitializeConfigs.cmake(30): if(NOT ${_BUILD_TYPE} STREQUAL ) | |
| + Called from: [3] /usr/share/cmake/Modules/CMakeInitializeConfigs.cmake | |
| + [2] /usr/share/cmake/Modules/CMakeCInformation.cmake | |
| + [1] /home/j/work/foss/gentoo/spectrum/spectrum2-2.0.9/CMakeLists.txt |
NewerOlder