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
# Services to upgrade after start: | |
# | |
# healthcheck: | |
# healthcheck: foobox/rancher-healthcheck:0.4.0 | |
# ipsec: | |
# cni-driver: foobox/rancher-net:0.14.0 | |
# network-services: | |
# metadata: foobox/rancher-metadata:0.11.0 | |
# dns: foobox/rancher-dns:0.18.0 | |
# scheduler: |
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
FROM rancher/server:v1.6.30 | |
RUN mkdir -p /var/lib/cattle/etc/cattle/ && \ | |
echo -e "\nbootstrap.required.image=rancher/agent:v1.2.11-fixed" >> /var/lib/cattle/etc/cattle/cattle.properties |
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
<?php | |
class Request { | |
} | |
class Response { | |
public $body = ''; |
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
<?php | |
if (!function_exists('image_affine_matrix_concat')) { | |
function image_affine_matrix_concat() | |
{ | |
return call_user_func_array('imageaffinematrixconcat', func_get_args()); | |
} | |
} | |
if (!function_exists('image_affine_matrix_get')) { |
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
<?php | |
if (!function_exists('imageaffinematrixconcat')) { | |
function imageaffinematrixconcat() | |
{ | |
return call_user_func_array('image_affine_matrix_concat', func_get_args()); | |
} | |
} | |
if (!function_exists('imageaffinematrixget')) { |
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
<?php | |
$file = fopen('test.csv', 'r'); | |
$headers = $data = fgetcsv($file, 1000, ','); | |
while($values = fgetcsv($file, 1000, ',')) { | |
$entry = array_combine($headers, $values); | |
} | |
fclose($file); |
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
<?php | |
function isValidFile($file) { | |
if($file == ".") { | |
return false; | |
} | |
if($file == "..") { | |
return false; | |
} | |
if($file == "index.php") { |
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
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:icalendar-ruby | |
CALSCALE:GREGORIAN | |
X-WR-CALNAME:Deutsche Feiertage | |
X-APPLE-LANGUAGE:de | |
X-APPLE-REGION:DE | |
BEGIN:VEVENT | |
DTSTAMP:20140522T185135Z | |
UID:d96b8130-171f-343c-8fce-1612783984df |
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
<?php | |
namespace TYPO3\CMS\CssStyledContent\Controller; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Core\Utility\MathUtility; | |
class CssStyledContentController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin { | |
/** |
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
<?php | |
declare(strict_types = 1); | |
$path = 'foobar'; | |
var_dump($path); | |
$path = realpath($path); | |
var_dump($path); |
NewerOlder