composer config platform.php 7.0.30 # Fake PHP 7.0.30
composer update --with-all-dependencies symfony/* # Update symfony to the latest 7.0.30 compatible version
composer config --unset platform.php # Remove the faked PHP (or remove the entire config section if its empty)
composer update --lock # Rewrite the composer.lock to remove the platform-override and recalculate the hash
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
| cache: | |
| paths: | |
| - /cache/composer | |
| stages: | |
| - composer | |
| - deploy | |
| build: | |
| stage: composer |
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
| <link rel="stylesheet" href="http://leaverou.github.io/awesomplete/awesomplete.css"> | |
| <script src="http://leaverou.github.io/awesomplete/awesomplete.js"></script> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', () => { | |
| const input = document.querySelector('input.blah'); | |
| const awesomplete = new Awesomplete(input); | |
| input.addEventListener("awesomplete-selectcomplete", (ev) => console.log(ev.text)); | |
| input.addEventListener('keyup', (e) => { | |
| var code = (e.keyCode || e.which); | |
| if (code === 37 || code === 38 || code === 39 || code === 40 || code === 27 || code === 13) { |
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
| module Jekyll | |
| module CacheBust | |
| class CacheDigester | |
| require 'digest/md5' | |
| attr_accessor :file_name, :directory | |
| def initialize(file_name:, directory: nil) | |
| self.file_name = file_name | |
| self.directory = directory |
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 is a sample build configuration for Other. | |
| # Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples. | |
| # Only use spaces to indent your .yml configuration. | |
| # ----- | |
| # You can specify a custom docker image from Docker Hub as your build environment. | |
| image: | |
| name: pxdeployment/pipelines | |
| username: $DOCKERHUB_USER_ALT | |
| password: $DOCKERHUB_PASS_ALT | |
| email: xxx@xxx.de |
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
| // Universal event tracking for TYPO3 Powermail XHR submissions. | |
| // | |
| // Note: As of version 4.2.0, Powermail sends a custom event on submit; | |
| // see https://github.com/einpraegsam/powermail/blob/develop/Documentation/Faq/Index.rst#how-can-i-add-a-callback-function-on-ajax-submit | |
| document.addEventListener("DOMContentLoaded", function(event) { | |
| // Step 1 | |
| // Attach an onsubmit handler to all powermail ajax forms, which will | |
| // make the powermail form id available in the window object on submit. | |
| var forms = document.querySelectorAll('form'); | |
| for (var i in forms) { |
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
| #!/usr/bin/env php | |
| <?php | |
| /* | |
| * This file is part of the TYPO3 CMS project. | |
| * | |
| * It is free software; you can redistribute it and/or modify it under | |
| * the terms of the GNU General Public License, either version 2 | |
| * of the License, or any later version. | |
| * | |
| * For the full copyright and license information, please read the |
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
| import moment from 'moment'; | |
| import { | |
| LocaleResolver, | |
| NavigatorDetector, | |
| FallbacksTransformer, | |
| DefaultLocaleTransformer, | |
| } from 'locales-detector'; | |
| // moment locales are in lowercase, need it change en-GB to en-gb | |
| class LowerCaseTransformer { |
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
| stages: | |
| - deploy | |
| # use caching | |
| cache: | |
| key: "$CI_BUILD_REF_NAME/$CI_BUILD_STAGE" | |
| paths: | |
| - .caches/ | |
| variables: |