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/sh | |
| export PATH=/usr/local/bin:$PATH; | |
| yum update | |
| yum install docker -y | |
| service docker start | |
| # Docker login notes: | |
| # - For no email, just put one blank space. | |
| # - Also the private repo protocol and version are needed for docker | |
| # to properly setup the .dockercfg file to work with compose |
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
| SET SESSION group_concat_max_len = 1000000; | |
| SELECT GROUP_CONCAT(r1.query SEPARATOR "\n") AS copy_and_paste FROM (SELECT concat("DROP TABLE IF EXISTS ", table_name, ";") AS query FROM information_schema.tables WHERE table_schema = "my-db-name") AS r1; |
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
| { | |
| "type": "package", | |
| "package": { | |
| "name": "typo3-ter/fal_securedownload", | |
| "type": "typo3-cms-extension", | |
| "version": "1.0.0", | |
| "dist": { | |
| "url": "https://typo3.org/extensions/repository/download/fal_securedownload/1.0.0/zip/", | |
| "type": "zip" |
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
| search: array\(([^\(\)]++)\) | |
| replace with: [$1] |
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
| update tx_smiproducts_domain_model_device as child | |
| inner join tx_smiproducts_domain_model_device as parent | |
| on child.l10n_parent=parent.uid | |
| set child.starttime=parent.starttime |
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
| git diff --name-only HEAD v.1.1.0 | grep '.xlf\|.xml' |
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
| find ./ -name '*~' | xargs rm |
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
| UPDATE `fe_users` SET username = CONCAT(md5(rand()), '@example.com'), email = username |
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 Vendor\Product\Hooks; | |
| use TYPO3\CMS\Core\DataHandling\DataHandler; | |
| use TYPO3\CMS\Core\Database\DatabaseConnection; | |
| use TYPO3\CMS\Core\Utility\GeneralUtility; | |
| class DataHandlerHooks { | |
| /** |
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
| $this->view->assign('record', $this->configurationManager->getContentObject()->data); |
NewerOlder