Skip to content

Instantly share code, notes, and snippets.

import Plugin from 'src/plugin-system/plugin.class';
// Importing our package
import { log, tag } from '@missionlog';
export default class ExamplePlugin extends Plugin {
init() {
log.info(tag.system, 'example plugin initialized', this);
}
}
const { join, resolve } = require('path');
module.exports = () => {
return {
resolve: {
alias: {
'@missionlog': resolve(
join(__dirname, '..', 'node_modules', 'missionlog')
)
}
}
FROM webdevops/php-apache:7.2
COPY wait-for-it.sh /usr/local/bin/
ENV COMPOSER_HOME=/.composer
ENV NPM_CONFIG_CACHE=/.npm
ENV WEB_DOCUMENT_ROOT=/app/public
ARG USER_ID
ARG GROUP_ID
#!/usr/bin/env bash
TTY: docker exec -i --env COLUMNS=`tput cols` --env LINES=`tput lines` -u __USERKEY__ -t __APP_ID__ zsh
{
"name": "Mediocre Bronze PowerPrint",
"id": "053855fc722e4bc4805a6790a835daa0",
"price": [
{
"net": 602.8037383177569,
"gross": 645,
"apiAlias": "price"
}
],
{
"includes": {
"product": [
"id",
"name",
"price"
],
"price": [
"net",
"gross"
<?php declare(strict_types=1);
namespace Shopware\Core\Checkout\Customer\SalesChannel;
use Shopware\Core\Checkout\Customer\CustomerEntity;
use Shopware\Core\System\SalesChannel\StoreApiResponse;
class CustomerResponse extends StoreApiResponse
{
/**
<?php declare(strict_types=1);
namespace Shopware\Core\Checkout\Customer\SalesChannel;
// SHORTENED FOR READABILITY;
// SEE THE LINK ABOVE FOR FULL SOURCE
/**
* @RouteScope(scopes={"store-api"})
*/
@ndzoesch
ndzoesch / extend.md
Last active January 18, 2019 12:54
TIL you can extend stuff in github readme

Click the arrow! Do it!

📦 Extendable stuff? Extendable stuff!

Github can do stuff!

By using the HTML tags <details> and <summary>, you can create extendable content in github READMEs!

Keybase proof

I hereby claim:

  • I am ndzoesch on github.
  • I am ndzoesch (https://keybase.io/ndzoesch) on keybase.
  • I have a public key whose fingerprint is D794 8D15 EFAD F8FE 6512 CD5E 4C1C B6AA 6683 358C

To claim this, I am signing this object: