Skip to content

Instantly share code, notes, and snippets.

View guisjlender's full-sized avatar

Guilherme Sjlender guisjlender

View GitHub Profile
private BoletoFactory gerarBoleto(BoletoDTO boleto) {
BoletoFactory boletoReturn = new BoletoFactory();
boletoReturn.setBanco(BoletoFactory.CEF);
boletoReturn.setAgencia("0231");
boletoReturn.setCodBeneficiario("436276"); // cta anuidades
boletoReturn.setCarteira("24");
boletoReturn.setNossoNumero(boleto.getNossoNumero());
boletoReturn.setLogoBanco("img/caixa.png");
protected function refreshData():void
{
for(var i:int=0;i<_arvoreCorporativaCaminhoes.length;i++)
{
_arvoreCorporativaCaminhoes[i].children = new ArrayCollection(_arvoreCorporativaCaminhoes[i].children.source);
refreshRecursiveChildren(_arvoreCorporativaCaminhoes.source[i]);
}
tr.dataProvider = _arvoreCorporativaCaminhoes;
}
@guisjlender
guisjlender / comandos-google-search-mobile.md
Created December 10, 2013 11:48
Comandos Google Search Mobile
  • “Me acorde em 20 minutos”
  • “Abra o Gmail” ou programas de terceiros como “Abra o Whatsapp”
  • “Envie um e-mail para Larry Page”
  • “Lembrete: comer pizza no Tecnoblog”
  • “Mapa do Campo de Marte”
  • “Crie um evento na agenda: reunião às 11h da manhã”
@guisjlender
guisjlender / commands-vagrant.md
Created December 9, 2013 12:59
Comandos básicos para se tranalhar com o Vagrant

Comandos básicos do Vagrant

Init

  • vagrant init [box-name] [box-url]
  • Cria o arquivo Vagrantfile com as configurações do box que você informou no [box-name], caso você não tenha o box ainda adicionado é obrigatório passar o [box-url] para que ele possa baixa-lo

Up

  • vagrant up
    • Cria e inicia a instancia após o comando vagrant init