Following structure is expected for your TYPO3 project (adapt script if it differs):
.
├── composer.json
├── composer.lock
├── patches
│ ├── ...
│ └── ...
└── scripts
| Create Dummy ALSA Devices (en mass) | |
| Written by Mike C. Fletcher on April 16, 2012 in Tuxedo. | |
| Since this was a bit of a pain to track down, here's the process, on an Ubuntu Server 12.04 machine, to create many ALSA dummy devices: | |
| $ cat /etc/modprobe.d/alsa-dummy.conf | |
| options snd-dummy enable=1,1,1,1,1,1,1,1,1,1,1,1 pcm_devs=4,4,4,4,4,4,4,4,4,4,4,4 fake_buffer=0,0,0,0,0,0,0,0,0,0,0,0 | |
| $ modprobe snd-dummy | |
| That sample creates 48 dummy devices (on 12 cards), though that's likely more than you'll ever need. The fake_buffer array means they should all have a real internal buffer. The "enable" array is specifying how many cards to create. The pcm_devs array specifies how many pcm devices to have on each card. |
| git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline > new-in-this-release.log |
| <?php | |
| namespace B13\AnyProject\PageErrorHandler; | |
| /* | |
| * This file is part of a b13 extension. | |
| * | |
| * 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. | |
| * |
| <?php declare(strict_types=1); | |
| namespace Armin\Vieweg\ViewHelpers; | |
| use TYPO3\CMS\Core\Core\Environment; | |
| use TYPO3\CMS\Core\Utility\GeneralUtility; | |
| use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface; | |
| use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper; | |
| /** | |
| * Font Awesome SVG ViewHelper |
Following structure is expected for your TYPO3 project (adapt script if it differs):
.
├── composer.json
├── composer.lock
├── patches
│ ├── ...
│ └── ...
└── scripts
| .PHONY: assets css js install help watch build | |
| HAS_DDEV_CONFIG=$(if $(wildcard ../.ddev/config.yaml),1) | |
| IS_IN_DDEV_CONTAINER=${IS_DDEV_PROJECT} | |
| # Generate "ddev exec" prefix if ddev is configured and not running inside the ddev container | |
| COMMAND_PREFIX=$(if $(HAS_DDEV_CONFIG),$(if $(IS_IN_DDEV_CONTAINER),,(ddev exec -s web true >/dev/null || ddev start) && ddev exec -s web -d /var/www/html/Build)) | |
| YARN=$(COMMAND_PREFIX) yarn | |
| GRUNT=$(COMMAND_PREFIX) node_modules/.bin/grunt |
| #!/bin/bash | |
| ## Description: Create and push new git release tag. Deploy via ‹ddev surf deploy ...›. | |
| ## Requirements: You use release tags of the form <releaseChannel>-<major>.<minor>.<bugfix> | |
| # saner programming env: these switches turn some bugs into errors | |
| set -o errexit -o pipefail -o noclobber -o nounset | |
| usage() { | |
| echo "Usage:" |