#!/usr/bin/env bash
for file in `find /path/to/your/directory/ -type f -name "*"`
do
echo -E -- ${file} -- && cat -- ${file} ;
done > /path_to_your_new_file/nameFile.txt
min-height: calc(100% - 160px);
<?php
$url = "https://afisha.yandex.ru/export/json/";
$KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer" $KEY,
"Accept: */*",
"Cache-Control: no-cache",
"Connection: keep-alive",
"Host: afisha.yandex.ru",
"accept-encoding: gzip, deflate",
"cache-control: no-cache"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
<select name='spaceSelect' onChange="spaceSelect(this.value)">
<option value='Sdesk' <?php if($_GET['spaceSelect'] == 'Sdesk') {echo "selected";}?>>ServiceDesk</option>
<option value='LOTUS' <?php if($_GET['spaceSelect'] == 'LOTUS') {echo "selected";}?>>Collaboration</option>
<option value='EDTeam' <?php if($_GET['spaceSelect'] == 'EDTeam') {echo "selected";}?>>Enterprise Desktop Team</option>
<option value='ISD' <?php if($_GET['spaceSelect'] == 'ISD') {echo "selected";}?>>Information Security Department</option>
<option value='SD' <?php if($_GET['spaceSelect'] == 'SD') {echo "selected";}?>>SAS/DWH</option>
<option value='DevOps' <?php if($_GET['spaceSelect'] == 'DevOps') {echo "selected";}?>>DevOps</option>
<option value='FIM' <?php if($_GET['spaceSelect'] == 'FIM') {echo "selected";}?>>Identity Management</option>
<option value='RA' <?php if($_GET['spaceSelect'] == 'RA') {echo "selected";}?>>Remote Access</option>
</select>