This file contains 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
Paste your HTML in here and click Convert It!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta name="description" content="Exemple code of the HTML Email Basics Course of Treehouse" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>square gallery | Newsletter</title> | |
<!-- | |
This email is based on the idea that the most common design |
This file contains 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 | |
/* | |
Plugin Name: Alex | |
Plugin URI: # | |
Description: Descrição mais concisa. | |
Version: 0.1.0 | |
Author: Alex | |
Author URI: https://github.com/alexrusenhack | |
License: GPL2 | |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
This file contains 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
CREATE DEFINER=`username`@`%` PROCEDURE `nome_da_procedure`() | |
BEGIN | |
Your_Query; | |
END |
This file contains 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
create event event_nome | |
on schedule | |
every 1 day | |
starts '2016-08-09 00:18:00' | |
do | |
call your_schema.your_procedure(); |
This file contains 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
alter event your_schema.your_event on schedule every 1 day starts '2016-08-09 19:00:00'; |
This file contains 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
select * from information_schema.events where event_name = 'your_event_name' and event_schema = 'your_schema'; |
This file contains 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
CREATE DEFINER=`ruzenhack`@`%` FUNCTION `first_name`(name varchar(100)) RETURNS varchar(100) CHARSET utf8 | |
BEGIN | |
declare firstName varchar(100); | |
SET firstName = ucase(substring_index(name, ' ', 1)); | |
RETURN firstName; | |
END |
This file contains 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
CREATE DEFINER=`ruzenhack`@`%` FUNCTION `first_name_capitalized`(name varchar(100)) RETURNS varchar(100) CHARSET utf8 | |
BEGIN | |
declare firstName varchar(100); | |
declare firstNameCapitalized varchar(100); | |
SET firstName = substring_index(name, ' ', 1); | |
SET firstNameCapitalized = concat(ucase(left(firstName,1)),lcase(substring(firstName,2))); | |
RETURN firstNameCapitalized; | |
END |
This file contains 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 type="text/javascipt"> | |
try{ | |
(function(window,document){ | |
head=document.getElementsByTagName('head')[0]; | |
script=document.createElement('script'); | |
// treat the hardcode script tag | |
head.appendChild(script); | |
})(window,document); | |
} catch(e) { | |
console.log('[GTM][Error in tag "nomeDaTag"]: '+e); |
This file contains 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 type="text/javascript"> | |
(function () { | |
var ss = document.createElement('script'); | |
ss.type = 'text/javascript'; | |
ss.async = true; | |
ss.src = '//app.shoptarget.com.br/js/tracking.js'; | |
var body = document.getElementsByTagName('body')[0]; // seleciona o elemento body | |
body.appendChild(ss); // adiciona elemento script antes do fechamento do elemento body | |
})(); | |
</script> |
OlderNewer