Open Editor -> File And Code Templates -> Files -> Create new One
- Name: Changelog
- File Name: ${YEAR}-${MONTH}-${DAY}-${NAME}.md
- Extension: md
- Disable Reformat according to style
For Content see below
$mediaId = Uuid::randomHex(); | |
$mediaRepository->create([['id' => $mediaId]], Context::createDefaultContext()); | |
$request = new Request(); | |
$request->headers->set('content_type', 'application/json'); | |
$request->query->set('extension', 'png'); | |
$request->request->set('url', 'https://placekitten.com/200/287'); | |
$mediaFile = $mediaService->fetchFile($request); | |
$fileSaver->persistFileToMedia( |
FROM registry.jetbrains.team/p/prj/containers/projector-phpstorm | |
USER root | |
ENV DOCKER_HOST=tcp://docker:2375 | |
ENV PS1 '${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[01;33m\]@\[\033[01;36m\]\h \[\033[01;33m\]\w \[\033[01;35m\]\$ \[\033[00m\]' | |
ENV DOCKERVERSION=20.10.3 | |
RUN apt-get update && \ | |
apt-get install -y curl git vim && \ |
Open Editor -> File And Code Templates -> Files -> Create new One
For Content see below
#!/usr/bin/env bash | |
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)" | |
set -e | |
export PROJECT_ROOT="${PROJECT_ROOT:-"$(dirname "$CWD")"}" | |
ADMIN_ROOT="${ADMIN_ROOT:-"${PROJECT_ROOT}/vendor/shopware/administration"}" | |
# build admin |
--- process.c | |
+++ process.c | |
@@ -1751,6 +1751,12 @@ int process_cdir_file_hdr(__G) /* ret | |
= (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11); | |
#endif | |
+#ifdef SYMLINKS | |
+ /* Initialize the symlink flag, may be set by the platform-specific | |
+ mapattr function. */ | |
+ G.pInfo->symlink = 0; |
<?php | |
use Composer\InstalledVersions; | |
use Shopware\Core\Framework\DataAbstractionLayer\DefinitionInstanceRegistry; | |
use Shopware\Core\Framework\Plugin\KernelPluginLoader\DbalKernelPluginLoader; | |
use Shopware\Core\Kernel as CoreKernel; | |
use Symfony\Component\Dotenv\Dotenv; | |
use Tinkerwell\ContextMenu\Label; | |
use Tinkerwell\ContextMenu\Submenu; | |
use Tinkerwell\ContextMenu\SetCode; |
app:create
--theme
theme.json
to add a theme as app. Look into documentationTo improve the Developer experience we want to improve the already existing plugin:create
command and invest some more love there.
The tasks here are:
composer.json
configureable using Command flags / ask the userservices.yaml
instead of services.xml
and enable Autowire by default for the Plugin.#!/usr/bin/env bash | |
envFile=$1 | |
# drop first argument | |
shift | |
IFS=$'\n' | |
for line in $(op inject -i $envFile) | |
do |
{ | |
"ignition": { "version": "3.0.0" }, | |
"passwd": { | |
"users": [ | |
{ | |
"name": "shyim", | |
"sshAuthorizedKeys": [ | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBuZPgjmIp/dZ0HzRpoFDLsAqFwRGuFBwJiu9qk22tHP" | |
], | |
"groups": [ |