Skip to content

Instantly share code, notes, and snippets.

Avatar

Stefan Moises smxsm

View GitHub Profile
@smxsm
smxsm / gist:00bedd891c631af209f3475d0cda9531
Last active Nov 25, 2019
Shopware Backend Order Overview Extension
View gist:00bedd891c631af209f3475d0cda9531
//{block name="backend/order/view/detail/overview"}
// {$smarty.block.parent}
Ext.define('Shopware.apps.RahExtendOrder.view.detail.Overview', {
override: 'Shopware.apps.Order.view.detail.Overview',
/**
* Creates the XTemplate for an address information panel, including department and salutation.
*
* @return [Ext.XTemplate] generated Ext.XTemplate
*/
createAddressTemplate: function () {
@smxsm
smxsm / cloudSettings
Last active Apr 2, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-04-02T16:16:06.011Z","extensionVersion":"v3.2.7"}
@smxsm
smxsm / gist:67a348b79d5cd4119c24b5902ba56f53
Created Jun 9, 2017
jwilder/nginx-proxy - Check if Docker network and container exist
View gist:67a348b79d5cd4119c24b5902ba56f53
#!/bin/bash
##########################################################################
# script to check if the jwilder proxy container is already running
# and if the ngnix-proxy network exists
# run before "docker-compose up -d" if you use nginx-proxy for several projects
# see https://github.com/docker/compose/issues/2075
##########################################################################
if [ ! "$(docker network ls | grep nginx-proxy)" ]; then