Apache connection reset: http://docs.typo3.org/typo3cms/InstallationGuide/Troubleshooting/Apache/Index.html
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
| #!/bin/bash | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| NO_COLOR='\033[0m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[0;33m' | |
| NO_COLOR='\033[0m' |
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 | |
| error_reporting(E_ALL); | |
| function bin(int $n): string | |
| { | |
| $bin = str_pad(decbin($n), 8, '0', STR_PAD_LEFT); | |
| return substr($bin, 0, 4) . ' ' . substr($bin, 4, 4); | |
| } |
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); | |
| /** | |
| * This file is part of the SqlFtw library (https://github.com/sqlftw) | |
| * | |
| * Copyright (c) 2017 Vlasta Neubauer (@paranoiq) | |
| * | |
| * For the full copyright and license information read the file 'license.md', distributed with this source code | |
| */ | |
| // phpcs:disable Squiz.Arrays.ArrayDeclaration.ValueNoNewline |
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
| { | |
| "fields": [ | |
| "id", | |
| "startTime", | |
| "priority", | |
| "malePriority", | |
| "lastFourDaysMaleViewsInCity1", | |
| "commissionPerVisit", | |
| "lastFourDaysViewsInCity1", | |
| "lastFourDaysViews" |
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
| - rule for Rewriter extension for Chrome | |
| - makes gist editation window on GitHub much bigger | |
| "match": ["rows=\"17\""], "substitute": "rows=\"80\"", "url": ["https://gist.github.com"]; |
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 Dogma\Tester; | |
| /** | |
| * Tester\Assert with fixed order of parameters | |
| */ | |
| class Assert extends \Tester\Assert | |
| { |
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 | |
| // extension: http | |
| // version: 2.1.4 | |
| namespace { | |
| define('http\Client\Curl\HTTP_VERSION_1_0', 1); | |
| define('http\Client\Curl\HTTP_VERSION_1_1', 2); | |
| define('http\Client\Curl\HTTP_VERSION_ANY', 0); |
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 Abc { | |
| public $a = 1; | |
| protected $b = 2; | |
| private $c = 3; | |
| } | |
| $resource = tmpfile(); |
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
| -- variable lengh replacements without PCRE UDF extension | |
| -- replaces only one different matched string in each pass! | |
| -- replace string of variable length with known beginning and end | |
| SET @start = 'xxx'; | |
| SET @finish = 'yyy'; | |
| SET @replacement = ''; | |
| UPDATE `table` SET | |
| `text` = REPLACE( |
NewerOlder