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
package br.com.enovar.ecollaboration.domain; | |
import com.thoughtworks.selenium.DefaultSelenium; | |
import com.thoughtworks.selenium.Selenium; | |
public class GoogleSearch { | |
public static void main(String[] args) { | |
Selenium selenium = new DefaultSelenium("localhost", 4444, "*safari", "http://www.google.com.br/"); | |
selenium.start(); |
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
By Klaus Wuestefeld | |
1) Torne-se excelente. | |
Seja realmente bom em alguma coisa. Não fique só choramingando ou | |
querendo progredir às custas dos outros. Não pense q pq vc sentou 4 | |
anos numa faculdade ouvindo um professor falar sobre software q vc | |
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo | |
aula. Ele pratica. Instrumentistas geniais nao aprendem a tocar tendo | |
aula. Eles praticam. Pratique. Chegue em casa depois do trabalho e da |
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
package br.com.enovar.edashboard.service; | |
import static org.mockito.Mockito.mock; | |
import static org.mockito.Mockito.times; | |
import static org.mockito.Mockito.verify; | |
import static org.mockito.Mockito.when; | |
import org.junit.Before; | |
import org.junit.Test; |
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
package org.benevides.correios.domain; | |
import org.junit.Before; | |
public class SedexShippingCalculatorTest { | |
ShippingCalculator shippingCalculator; | |
ShippingHelper helper = new ShippingHelper(); | |
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
package org.benevides.shop.infra; | |
import org.junit.After; | |
import org.junit.Before; | |
import com.google.appengine.api.datastore.dev.LocalDatastoreService; | |
import com.google.appengine.tools.development.ApiProxyLocal; | |
import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig; | |
import com.google.appengine.tools.development.testing.LocalServiceTestHelper; | |
import com.google.apphosting.api.ApiProxy; |
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
package org.benevides.shop.infra; | |
import static org.hamcrest.Matchers.*; | |
import static org.junit.Assert.assertThat; | |
import java.math.BigDecimal; | |
import org.benevides.shop.model.Categoria; | |
import org.benevides.shop.model.Produto; | |
import org.junit.Before; |
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
var http = require('http'); | |
var config = { | |
user: 'postgres', | |
database: 'database', | |
port: 5432, | |
host: 'host', | |
password: 'pass' | |
}; | |
var pg = require('pg'); |
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
(define (soma1 x) | |
(if (null? x) | |
'() | |
(cons (+ 1 (car x)) (soma1 (cdr x))))) |
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
(define (inclui x ls) | |
(reverse (cons x (reverse ls))) | |
) |
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
var http = require('http') | |
var info = { | |
"comparativo": [ | |
{ | |
"mes": "Janeiro", | |
"valor": "2000" | |
}, | |
{ | |
"mes": "Fevereiro", |
OlderNewer