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 | |
| # Custom scripts here | |
| echo "This is an extended entrypoint!" | |
| # Run the original entrypoint located at | |
| # /docker-entrypoint.sh | |
| exec /docker-entrypoint.sh "$@" |
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
| #!/bash/bin | |
| git clone https://github.com/phpmyadmin/phpmyadmin.git | |
| php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php composer-setup.php | |
| composer update --no-dev |
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
| .mauticform-row{ | |
| display: inline !important; | |
| } | |
| .mauticform-input, | |
| .mauticform-textarea, | |
| .mauticform-selectbox { | |
| width: 100% !important; | |
| display: inline; | |
| } |
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
| <?php | |
| function add_async_attribute($tag, $handle) { | |
| // add script handles to the array below | |
| $scripts_to_async = array('my-js-handle', 'another-handle'); | |
| foreach($scripts_to_async as $async_script) { | |
| if ($async_script === $handle) { | |
| return str_replace(' src', ' async="async" src', $tag); | |
| } | |
| } |
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
| <?php | |
| function add_defer_attribute($tag, $handle) { | |
| // add script handles to the array below | |
| $scripts_to_defer = array('my-js-handle', 'another-handle'); | |
| foreach($scripts_to_defer as $defer_script) { | |
| if ($defer_script === $handle) { | |
| return str_replace(' src', ' defer="defer" src', $tag); | |
| } | |
| } |
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
| /** | |
| * este código peguei aqui: https://medium.com/@jan_linhart/the-simplest-way-how-to-submit-a-form-data-to-mautic-1454d3afd005#.k5gmcrvjf | |
| * Push data to a Mautic form | |
| * | |
| * Basicamente precisa ter um form do mautic com o campo email e este campo precisa se chamar "email"e | |
| * depois alterar as linhas 19 e 21 com os seus dados | |
| * e colar todo esse conteúdo dentro do functions do seu wordpress. só. | |
| * | |
| * @param array $data The data submitted by your form |
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
| find ./my_dir/*.sql.gz -mtime +30 -type f -delete |
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
| ############# | |
| # EDITE SEU ARQUIVO .HTACCESS | |
| # E COLE ESTE TEXTO NO FINAL | |
| ############# | |
| ## CACHE | |
| <IfModule mod_deflate.c> | |
| SetOutputFilter DEFLATE |
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
| ####################################################### | |
| ################# MAUTIC 1.4.X ####################### | |
| ###################################################### | |
| # | |
| # orangeweb.com.br | |
| # mautic 1.4.1 | |
| # | |
| # MAUTIC14_SEGMENTS_UPDATE ~ 3 min | |
| # MAUTIC14_CAMPAIGN_REBUILD ~ 3 min |
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
| <?php | |
| /** | |
| * Template Name: Elementor | |
| * | |
| * @package WordPress | |
| * @subpackage Orangeweb | |
| * @since 1.0.0 | |
| * | |
| * 2016 - Desenvolvido por Agência Orangeweb - www.orangeweb.com.br | |
| */ |