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
| POSTAL_LOGIN=your-email | |
| POSTAL_PASSWORD=your-pass | |
| POSTAL_URL=http://your-postal-domain | |
| POSTAL_ORGANIZATION=slug-of-your-organization | |
| POSTAL_MAIL_SERVER=slug-of-mail-server |
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
| Meu Dockerfile | |
| FROM ribafs/ubuntu-maria | |
| ENV MYSQL_ROOT_PASSWORD root | |
| ENV MYSQL_ROOT_DATABASE testes | |
| RUN apt-get update | |
| EXPOSE 3306 | |
| ADD ["script.sql", "/tmp/script.sql"] # Cria o banco e muda a senha para vazia | |
| CMD ["start-mysql"] | |
| RUN mysql -uroot -p${MYSQL_ROOT_PASSWORD} -e "CREATE DATABASE testes" |
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
| /* | |
| * | |
| * This CSS template will customize WordPress.org login pages: | |
| * | |
| * Login page: /wp-login.php | |
| * Register page: /wp-login.php?action=register | |
| * Lost Password page: /wp-login.php?action=lostpassword | |
| * | |
| * @site https://tudoparawp.com.br | |
| * @author Guga Alves |
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
| // Add sums to all chart labels in Mautic. | |
| Mautic.chartLabelSum = function () { | |
| if ( | |
| typeof Mautic.chartObjects !== 'undefined' | |
| && Mautic.chartObjects.length | |
| ) { | |
| var total, numeric, updated, totalStr; | |
| mQuery.each(Mautic.chartObjects, function (i, chart) { | |
| updated = false; | |
| if ( |
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
| <script> | |
| // Coloque em qualquer parte do código | |
| document.addEventListener('DOMContentLoaded', function () { | |
| // Aqui você coloca o ID do seu formulário que será manipulado | |
| document.getElementById("myForm").onsubmit = function(e) {myFunction(e)}; | |
| function myFunction(e) { | |
| // altere aqui a url do seu mautic |
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
| server { | |
| listen 80; | |
| listen [::]:80; | |
| # HTTP Authentication on | |
| #include common/acl.conf; | |
| server_name mautic.example.com www.mautic.example.com; | |
| access_log /var/log/nginx/mautic.example.com.access.log rt_cache; |
This gist is now deprecated in favor of our official documentation: https://documentation.portainer.io/api/api-examples/ which contains up to date examples!
Please refer to the link above to get access to our updated API documentation and examples.
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
| <?php | |
| /** | |
| * Class WebinarJam | |
| * Implements the WebinarJam API as documented | |
| * https://s3.amazonaws.com/webinarjam/files/WebinarJamAPI.pdf | |
| */ | |
| class WebinarJam { | |
| public static $API_URL = 'https://app.webinarjam.com/api/v2/'; |
NewerOlder