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 | |
/** | |
* Usage: | |
* php forge-analyse.php <date-from> [<date-until>] | |
* php forge-analyse.php 2012-12-24 2012-12-31 | |
* | |
* @author Oliver Hader <oliver.hader@typo3.org> | |
* @license GPL v2 or any later version | |
* @see http://forge.typo3.org/projects/typo3v4-core/wiki/FriendlyGhost | |
*/ |
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 | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2013 TYPO3 CMS Core-Security Team <security@typo3.org> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
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 | |
PWD=$(pwd) | |
DIR=typo3_src-workspaces | |
git clone -b TYPO3_6-1 git://git.typo3.org/Packages/TYPO3.CMS.git $DIR | |
cd $DIR | |
git remote add github https://github.com/ohader/TYPO3.CMS-Workspaces.git |
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 | |
/*************************************************************** | |
* Extension Manager/Repository config file for ext "newscalendar". | |
* | |
* Auto generated 18-02-2015 17:33 | |
* | |
* Manual updates: | |
* Only the data in the array - everything else is removed by next | |
* writing. "version" and "dependencies" must not be touched! |
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 | |
class Utility | |
{ | |
/** | |
* @param string $data | |
* @param array $allowedClasses | |
* @param bool $extend | |
* @return mixed | |
*/ | |
static public function deserialize(string $data, array $allowedClasses, $extend = false) |
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 | |
// execute with PHP 7.1.0 CGI | |
class Lexer | |
{ | |
// All tokens that are not valid identifiers must be < 100 | |
const T_NONE = 1; | |
const T_STRING = 2; | |
const T_DOT = 8; |
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 | |
/* | |
* Output: | |
* | |
* T | |
* #1:TTT -> 2 ticks (removed echo tick) | |
* #2:TT -> 1 tick (removed echo tick) | |
* #3:TTTT -> 3 ticks (removed echo tick) | |
* #4:TTT -> 2 ticks (removed echo tick) | |
* end:T% * |
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 | |
############################################################################################## | |
# searching for similar documentation *.rst files in e.g. | |
# typo3/sysext/core/Documentation/Changelog organized in | |
# different sub-directories | |
# | |
# @license MIT | |
# @author Oliver Hader <oliver@typo3.org> | |
############################################################################################## |
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 | |
/* | |
Result: | |
Array | |
( | |
[foo.bar] => | |
[foo.down.a] => AA | |
[foo.down.b] => BB | |
[value] => test |
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 | |
/** | |
* Migrates MySQL database table columns that have been stored in a mixed | |
* environment - e.g. database running on `latin1` but using `SET NAMES utf8` | |
* during the connection when writing data to the DMBS. | |
* | |
* Expected source character set: latin1 | |
* Defined target character set: utf8 | |
* Defined target collation: utf8_general_ci | |
* |
OlderNewer