View .gitlab-ci.yml
This file contains 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
image: gradle:7.4-jdk17-alpine | |
stages: | |
- build | |
- test | |
- packaging | |
# Disable the Gradle daemon for Continuous Integration servers as correctness | |
# is usually a priority over speed in CI environments. Using a fresh | |
# runtime for each build is more reliable since the runtime is completely |
View pdf-rotate-aliases.bash
This file contains 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
# Alias definitions to rotate PDF documents | |
# These useful aliases were removed from pdfjam since version 3.02 | |
alias pdf90="pdfjam --landscape --angle 90" | |
alias pdf180="pdfjam --angle 180" | |
alias pdf270="pdfjam --landscape --angle 270" |
View spincheck.sh
This file contains 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 | |
########################################################################### | |
# spincheck.sh | |
# | |
# Determines the power status of given disks without waking them through | |
# usage of smartctl. | |
# | |
# Author: Niels Gandrass | |
# Version: 1.0 | |
# Since: 15.05.2017 |
View to_utm.vba
This file contains 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
Function to_utm(x, y) As Collection | |
Dim coordinates As Collection | |
Set coordinates = New Collection | |
E = 0.00669438 | |
R = 6378137 | |
K0 = 0.9996 | |
E2 = E * E |
View update_git_mirrors.sh
This file contains 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 | |
# Updates all git repository mirrors that sit in current | |
# directory with a folder name ending on .git. | |
# | |
# Also allows to add repositories. See usage. | |
# | |
# To remove a mirrored repository simply delete the folder. | |
function print_usage() { |