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 { createLogger, format, Logger, transports } from 'winston'; | |
const { Console } = transports; | |
export const getLogger = (): Logger => { | |
const consoleTransport = new Console({ | |
format: format.combine( | |
format.colorize(), | |
format.timestamp({ | |
format: 'DD.MM.YYYY HH:mm:ss', |
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
/** | |
* Defines a basic command | |
* | |
* @export | |
* @interface Command | |
*/ | |
export interface Command { | |
/** | |
* The name of the command | |
* |
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
FROM php:7.4.2-fpm as symfonyStage | |
RUN apt-get update | |
RUN apt-get install -y wget | |
RUN wget https://get.symfony.com/cli/installer -O - | bash | |
RUN mv $HOME/.symfony/bin/symfony /usr/local/bin/symfony | |
FROM php:7.4.2-fpm as composerStage |
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
version: "2" | |
services: | |
shopware: | |
image: shopware:6.1.0-rc2 | |
build: | |
dockerfile: ./Dockerfile | |
context: . | |
volumes: | |
- ./:/sw6 | |
ports: |
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/bash | |
FIRST_ARG=$1 | |
set -a REMOTES | |
getLatestCommit() { | |
git rev-parse HEAD | |
} |
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
[ | |
{ | |
"metadata": { | |
"id": "b1b0f283-8246-4e90-832e-a6c409d378d1", | |
"publisherId": "mads-hartmann.bash-ide-vscode", | |
"publisherDisplayName": "mads-hartmann" | |
}, | |
"name": "bash-ide-vscode", | |
"publisher": "mads-hartmann", | |
"version": "1.3.3" |
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/bash | |
while [[ true ]]; do | |
CURRENT_DATE=$(date "+%d.%m.%Y %H:%M:%S") | |
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
clear | |
echo "$CURRENT_DATE Checking for branch: $CURRENT_BRANCH" | |
if [[ $(git fetch -q origin $CURRENT_BRANCH && git log --oneline $CURRENT_BRANCH...origin/$CURRENT_BRANCH | wc -l) -gt 0 ]]; then | |
git push -q -u origin $CURRENT_BRANCH > /dev/null |
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
(function ($) { | |
var defaultOptions = { | |
searchField: '', | |
elements: [], | |
initialDisplay: 'block' | |
}; | |
var options = {}; |
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
{% if app.session.flashbag.peekAll|length > 0 %} | |
{% for type, messages in app.session.flashbag.all %} | |
{% for message in messages %} | |
<div class="{{ type ? type : '' }}"> | |
{{ message|trans({}, domain|default('messages')) }} | |
</div> | |
{% endfor %} | |
{% endfor %} | |
{% endif %} |