Skip to content

GabrielTavares99/desktop-open-gates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPEN-GATES

  • Criar variáveis de ambiente:

    • BD_NOME
    • BD_HOST
    • BD_SENHA
    • QRCODE_SALT
    • BD_USUARIO
    • EMAIL_SISTEMA
    • EMAIL_SISTEMA_SENHA
  • Banco de dados

    • Criar banco de dados com o nome [opengates]
    • Rotar o script [cria-tudo.sql]

new File(PrincipalTerminal.class.getClassLoader().getResource("oi.html").getPath()).exists()

Date(util) --> Date(SqlDate) Pegar timestamp e criar o outro objeto timestamp = getTime() - long new Date(timestamp)

// mail.attach(new URL("http://urltofile.extension"), "Name", "Description");

// EmailAttachment attachment = new EmailAttachment(); // attachment.setPath("/tmp/ola.jpg"); // attachment.setDisposition(EmailAttachment.ATTACHMENT); // attachment.setDescription("Picture of Weverson"); // attachment.setName("John"); // email.attach(attachment);

Releases

No releases published

Packages

No packages published