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 | |
$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 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 | |
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 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
<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 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
{ | |
total: 200, | |
"veiculos": [ | |
{ | |
"idVeiculo": 496288, | |
"caracteristica": "COMFORTLINE", | |
"foto": "81402fb1944bced31ec48e1a1e4ad892b609d839.JPG", | |
"video": "", | |
"placa": "HCQ9095", | |
"valor": "27200.00", |
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
new-host-2:myapp filipe$ rails s | |
/Users/filipe/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.0/lib/bundler/rubygems_integration.rb:187:in `stub_source_index170': uninitialized constant Gem::SourceIndex (NameError) | |
from /Users/filipe/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.0/lib/bundler/rubygems_integration.rb:353:in `stub_rubygems' | |
from /Users/filipe/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.0/lib/bundler/rubygems_integration.rb:250:in `replace_entrypoints' | |
from /Users/filipe/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:14:in `setup' | |
from /Users/filipe/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.0/lib/bundler.rb:116:in `setup' | |
from /Users/filipe/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.0/lib/bundler/setup.rb:7:in `<top (required)>' | |
from /Users/filipe/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:110:in `require' | |
from /Users/filipe/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/c |
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
marcas.h | |
@interface marcas : NSObject<NSCoding> { | |
NSString *marca; | |
NSString *idMarca; | |
} | |
@property(nonatomic, retain) NSString *marca; | |
@property(nonatomic, retain) NSString *idMarca; | |
@end |
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
<item> | |
<title>Evento de teste</title> | |
<link>http://publivida/eventos/evento-de-teste/</link> | |
<pubDate>Mon, 12 Nov 2012 17:55:48 +0000</pubDate> | |
<dc:creator>filipe</dc:creator> | |
<guid isPermaLink="false">http://publivida/?post_type=tribe_events&p=60</guid> | |
<description></description> | |
<content:encoded><![CDATA[]]></content:encoded> | |
<excerpt:encoded><![CDATA[]]></excerpt:encoded> | |
<wp:post_id>60</wp:post_id> |
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
<item> | |
<title>1ª Feirinha Beneficente de Produtos Artesanais do Entrando na Linha Capec</title> | |
<link>http://capec.org.br/site/blog/ai1ec_event/1a-feirinha-beneficente-de-produtos-artesanais-do-entrando-na-linha-capec/?instance_id=</link> | |
<pubDate>Fri, 05 Oct 2012 05:26:20 +0000</pubDate> | |
<dc:creator>capec</dc:creator> | |
<guid isPermaLink="false">http://capec.org.br/site/?post_type=ai1ec_event&p=4111&instance_id=</guid> | |
<description></description> | |
<content:encoded><![CDATA[<img src="http://capec.org.br/site/wp-content/uploads/2012/10/evento-entrando-na-linha.jpg" alt="" title="evento-entrando-na-linha" width="550" height="531"/> | |
Venda de panos de prato artesanais produzidos pelos assistidos da Capec que participam do Programa Entrando na Linha. Toda a renda da venda dos produtos será dividida entre os participantes do programa.]]></content:encoded> |
NewerOlder