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
it 'should not consider as a missing attribute a value that evaluates to false' do | |
subject.params do | |
requires :first | |
optional :false | |
end | |
subject.post '/declared' do | |
error!('expected false', 400) if declared(params, include_missing: false)[:false] != false | |
'' | |
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
hitmail.com | |
rxdoc.biz | |
cox.com | |
126.net | |
126.com | |
comast.com | |
comast.net | |
yandex.com | |
wegas.ru | |
twc.com |
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 TABLE people ( | |
id serial primary key, | |
name text | |
); | |
CREATE TABLE scientists ( | |
university text | |
) INHERITS (people); | |
CREATE TABLE chefs ( |
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_once 'php-webdriver/lib/WebDriver/ClassLoader.php'; | |
$driver = new WebDriver("http://localhost:4444/wd/hub"); | |
$session = $driver->session('chrome'); | |
$session->open('http://google.com/'); | |
// $session->window('current')->postSize(array('width' => 1024, 'height' => 4*1024)); |
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
< HTTP/1.1 200 OK | |
< Server: nginx/0.8.54 | |
< Date: Fri, 15 Jul 2011 10:20:35 GMT | |
< Content-Type: application/json | |
< Transfer-Encoding: chunked | |
< Connection: keep-alive | |
< | |
{ | |
"username": "minhaempresa", | |
"emailAddress": "[email protected]", |
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
{ | |
"username": "minhaempresa", | |
"emailAddress": "[email protected]", | |
"apiKey": "0e4fe7b1c0", | |
"rateLimit": { | |
"max": 10000, | |
"reset": 1313389829, | |
"current": 11 | |
} | |
} |
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_once 'Akna.php'; | |
$usuario = "[email protected]"; | |
$senha = "minhasenha"; | |
$akna = new Akna($usuario, $senha); | |
$contacts = $akna->emailMarketing->contacts; | |
$detalhes = array( |
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
<main> | |
<emkt trans=”11.10″> | |
<nome>Lista de Contatos Importada via FTP</nome> | |
<arquivo>ftp://meuusuario:[email protected]/contatos.csv</arquivo> | |
<separador>;</separador> | |
<campos> | |
<nome col=”0″/> | |
<email col=”1″/> | |
<empresa col=”3″/> | |
</campos> |
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
<?xml version=”1.0″ encoding=”UTF-8″?> | |
<AKNA> | |
<FUNC TRANS=”" KEY=”0dc001e4ca76574defca18cfbbfd”> | |
<RETURN ID=”11″>XML em formato inválido Error: Variável do XML está sem conteúdo ou não foi informada.</RETURN> | |
</FUNC> | |
</AKNA> |
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
<main> | |
<emkt trans="11.05"> | |
<nome>Minha Lista de Contatos</nome> | |
<substituir>S</substituir> | |
<destinatario> | |
<nome>John Doe</nome> | |
<email>[email protected]</email> | |
</destinatario> | |
</emkt> | |
</main> |
NewerOlder