Skip to content

Instantly share code, notes, and snippets.

View abacha's full-sized avatar

Adriano Bacha abacha

  • São Paulo, SP
  • 03:08 (UTC -03:00)
View GitHub Profile
SELECT A.DATMOV, "
+ " A.CODPROD,"
+ " B.NOMEPROD, "
+ " A.CODCOT, "
+ " C.CGCCPF,"
+ " C.CLASCONT, "
+ " A.QTDE, "
+ " A.IRRF, "
+ " A.RENDTOTRIB, "
+ " B.CNPJ, "
SELECT B.CNPJ ,
B.CODPROD,
B.NOMEPROD,
A.CODCOT,
C.CGCCPF,
C.CLASCONT,
A.IRRF,
A.VALOR,
A.VALORLIQU,
A.DATMOV,
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.bip.informerendimento.vo;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
interface Impressora {
void imprimir();
void imprimirPB();
}
class ImpressoraPDF implements Impressora { }
class ImpressoraHTML implements Impressora { }
class Sistema {
void imprimir(Impressora impressora) {
class Cliente {
void salvar();
void deletar();
}
class Receita {
private Cliente cliente;
public Receita(Cliente cliente) {
this.cliente = cliente
@abacha
abacha / teste.java
Last active October 21, 2015 13:37
class Retangulo {
int largura, altura;
void setAltura(int altura) {
this.altura = altura;
}
void setLargura(int largura) {
this.largura = largura;
}
@abacha
abacha / teste.java
Last active October 20, 2015 20:47
class FormaGeometrica { }
class Quadrado implements FormaGeometrica {
int lado;
}
class Retangulo implements FormaGeometrica {
int ladoA, ladoB;
}
on ^*:hotlink:*//*.*:*:{ }
on *:hotlink:*//*.*:*: http $1
on ^*:hotlink:*www.*:*:{ }
on *:hotlink:*www.*:*: http $1
alias http {
on ^*:hotlink:*//*.*:*:{ }
on *:hotlink:*//*.*:*: http $1
on ^*:hotlink:*www.*:*:{ }
on *:hotlink:*www.*:*: http $1
alias http {
~/projects/graphite-web/examples (master ✔‹ruby-2.0.0›) curl -H 'Accept-Content: application/json' http://localhost/graphite/render\?target\=system.loadavg_1min\&format\=json
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!-- Copyright 2008 Orbitz WorldWide
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0