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/php | |
<?php | |
$packageArray = []; | |
// Save actual php version for restore at the end | |
$prevPHPVersion = exec('php -r' . escapeshellarg('echo PHP_VERSION;')); | |
list($major, $minor, $patch) = explode('.', $prevPHPVersion); | |
$prevPHPVersion = "$major$minor"; | |
// Update brew repository |
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
const TaskQueue = [ | |
'$q', | |
/** | |
* The TaskQueue will allow to limit parallel requests of Angular $q Promises (Tasks). | |
* While starting the creation and processing of the Promises it will adhere to the configured maxConcurrentTasks. | |
* If a Taks returns another Promise it will also be chained within this restricted environment. | |
* | |
* @param {$q} $q Anuglars $q Service to control Promise creation. | |
* | |
* @return {{ |
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/bash | |
function printHelp { | |
echo """CheckGitHash Agent | |
Dieses Tool prüft, ob die Version eines lokalen Git-Rrepositories, welches in <dir> liegt, mit der Version von <repoUri> übereinstimmt. | |
Dabei wird die lokale Version mit dem <branch> von <repoUri> verglichen. | |
Usage: $0 <dir> <repoUri> [<branch>] |