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 | |
set -e | |
# insert a line to a file if the line does not already exist | |
# - first parameter is the file to insert the line | |
# - second parameter is the line to insert. It'll only be inserted if not already exists | |
# - third parameter is optional. This will override the search behavior. | |
# Instead of searching for the line of parameter 2 this term is used. | |
function insertLineIfNotExists { | |
FILE=$1 |
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
<?php | |
namespace Syzygy\SyzygyBase\Command; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Sascha Egerer <[email protected]> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is |
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
<?php | |
// Install https://github.com/dkd/php-cmis-client over composer | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
$httpInvoker = new \GuzzleHttp\Client( | |
array( | |
'defaults' => array( | |
'auth' => array( | |
'admin', | |
'admin' |