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
name: MH_Seadan_Snippets | |
description: '' | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
/** @CustomFunction */ | |
function regex_format_sku(value) { | |
if (!value) { | |
return ""; |
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
httpd_1 | [INFO] vhost-gen: no customized template found | |
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/main.yml | |
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml | |
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml | |
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/main.yml | |
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml | |
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/mass.yml | |
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/mass.yml | |
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/mass.yml | |
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/main.yml |
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
### | |
### --------------------------------------------------- | |
### D E V I L B O X R U N - T I M E S E T T I N G S | |
### --------------------------------------------------- | |
### | |
### All the following settings are applied during | |
### $ docker-compose up | |
### | |
### No need to rebuild any docker images! | |
### |
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
.tree, .tree * { | |
font-size: 16px | |
} | |
.tree ul, | |
.tree li, | |
.tree ol | |
{ | |
margin : 0px; | |
list-style-type: none; | |
} |
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
// parsing twig | |
$theme = Cms\Classes\Theme::getActiveTheme(); | |
if(($stringContainingTwig = $this['page']['meta_title']) !== null ){ | |
$page_meta_title = Twig::parse($stringContainingTwig, [ | |
'varName' => "variable value!", | |
'separator' => $theme->title_separator ?: ' _ ' , | |
'title' => $this['page']['title'], | |
'business_name' => $theme->business_name, | |
]); |