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
const payload = { | |
name: model.name, | |
email: model.email, | |
source: ENV.quizFonte, // outbrain, taboola, facebook, google, affiliate | |
referer: window.document.referrer, | |
query_string: queryArray, | |
questions: questionsAndAnswers, | |
krux_id: this._getParam('krux_id'), | |
sub_id: this._getParam('sub_id'), | |
fbclid: this._getParam('fbclid'), |
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
<style type="text/css"> | |
.hp-pulse-wrapper{z-index:99995} | |
.hp-pulse{height:18px;width:18px;position:absolute} | |
.hp-pulse:before,.hp-pulse:after{position:absolute;margin-top:-63px;margin-left:-63px;content:' ';background-color:rgba(0,126,229,0.1);border-radius:72px;height:144px;width:144px;opacity:0} | |
.hp-pulse:before{-webkit-animation:pulse-zero 1.5s ease-out infinite;animation:pulse-zero 1.5s ease-out infinite} | |
.hp-pulse:after{-webkit-animation:pulse-one 1.5s ease-out infinite;animation:pulse-one 1.5s ease-out infinite} | |
.hp-pulse-button{cursor:pointer;height:82px;width:82px;border-radius:41px;border:none;position:absolute;z-index:100002;top:-32px;left:-32px;background-color:transparent} | |
.hp-pulse-button:after{content:' ';display:block;position:absolute;top:32px;left:32px;background-color:#007ee5;box-shadow:0 0 0 3px #fff,0 3px 8px 3px rgba(0,0,0,0.2);width:18px;height:18px;border-radius:9px} | |
.hp-pulse-button.has-children:after{display:none}@-webkit-keyframes pulse-zero{0%{opacity:1;-webkit-trans |
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
<div class="arrow-wrapper"> | |
<span class="arrow top left arrow1"></span> | |
<span class="arrow top right arrow1"></span> | |
<span class="arrow middle left arrow2"></span> | |
<span class="arrow middle right arrow2"></span> | |
<span class="arrow bottom left arrow3"></span> | |
<span class="arrow bottom right arrow3"></span> | |
</div> | |
<style type="text/css"> |
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
import Ember from 'ember'; | |
const { | |
computed | |
} = Ember; | |
export default Ember.Component.extend({ | |
patients: computed.mapBy('group', 'patient_name'), | |
groupPain: computed.mapBy('group', 'pain_value'), |
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
➜ ~ cd Desktop | |
➜ Desktop git clone https://github.com/code-corps/code-corps-ember | |
Cloning into 'code-corps-ember'... | |
remote: Counting objects: 5254, done. | |
remote: Compressing objects: 100% (93/93), done. | |
remote: Total 5254 (delta 28), reused 0 (delta 0), pack-reused 5157 | |
Receiving objects: 100% (5254/5254), 1.78 MiB | 940.00 KiB/s, done. | |
Resolving deltas: 100% (3363/3363), done. | |
Checking connectivity... done. | |
➜ Desktop code |
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
import Ember from 'ember'; | |
export default Ember.Mixin.create({ | |
BrazilianBanks: [ | |
{ 'code': '001', 'name': 'Banco do Brasil'}, | |
{ 'code': '237', 'name': 'Bradesco'}, | |
{ 'code': '341', 'name': 'Itau'}, | |
{ 'code': '104', 'name': 'Caixa Econômica Federal'}, | |
{ 'code': '033', 'name': 'Banco Santander Banespa'}, |
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 | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, "https://ecommerce.redecard.com.br/pos_virtual/wskomerci/cap_teste.asmx"); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_POST, true); | |
$data = array( | |
'TOTAL' => "1.00", | |
'TRANSACAO' => "04", |
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 | |
require 'class.phpmailer.php'; | |
//chama a classe de envio de email e define config inicial | |
$mail = new PHPMailer(); | |
$mail->CharSet = "UTF-8"; | |
$mail->IsSMTP(); | |
$mail->Host = "plantaosexy-mail.com"; | |
$mail->SMTPAuth = true; |
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
<div class="itens"> | |
<?php | |
$x=0; | |
$query = new WP_Query( 'cat=3' ); | |
$total = $query->post_count; | |
if ( $query->have_posts() ) { | |
while ( $query->have_posts() ) { | |
$query->the_post(); |
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
{ | |
total: 200, | |
"veiculos": [ | |
{ | |
"idVeiculo": 496288, | |
"caracteristica": "COMFORTLINE", | |
"foto": "81402fb1944bced31ec48e1a1e4ad892b609d839.JPG", | |
"video": "", | |
"placa": "HCQ9095", | |
"valor": "27200.00", |
NewerOlder