Skip to content

Instantly share code, notes, and snippets.

View jeffersonchaves's full-sized avatar
😎
Focusing

Jefferson Chaves jeffersonchaves

😎
Focusing
  • Instituto Federal do Paraná - IFPR
  • Foz do Iguaçu - PR
View GitHub Profile
public class SellerRepository {
private Connection conn;
public SellerRepository(){
ConnectionFactory connectionFactory = new ConnectionFactory();
conn = connectionFactory.getConnection();
}
public List<Seller> getSellers(){
public class Seller {
private String Id;
private String name;
private String email;
private LocalDate birthDate;
private Double BaseSalary;
//private Department department;
public String getId() {
public class ConnectionFactory {
public Connection getConnection(){
String database = "";
String user = "";
String pass = ""
try {
CREATE TABLE department (
Id int NOT NULL AUTO_INCREMENT,
Name varchar(60) DEFAULT NULL,
PRIMARY KEY (Id)
);
CREATE TABLE seller (
Id int NOT NULL AUTO_INCREMENT,
Name varchar(60) NOT NULL,
Email varchar(100) NOT NULL,
@jeffersonchaves
jeffersonchaves / gist:b7876c39240b062e5fc0749609e74141
Created March 15, 2023 02:28 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
programa
{
inclua biblioteca Util
inteiro listaSorteados[50] //maior numero de dezenas possível
funcao inicio()
{
mega()
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
CREATE TABLE `tb_jogadores` (
`id` int(11) NOT NULL,
`nome_jogadores` text DEFAULT NULL,
`alt` float DEFAULT NULL,
`peso` int(11) DEFAULT NULL,
`nascimento` date DEFAULT NULL,
`posicao` text DEFAULT NULL,
`id_times` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- Criação do banco de dados
CREATE DATABASE IF NOT EXISTS passarinho_api;
USE passarinho_api;
-- Estrutura da tabela
CREATE TABLE `tb_recados` (
`id` int NOT NULL AUTO_INCREMENT,
`texto` text,

Configurar execução do Vue no windows

Por padrão o privilégio para excutar scripts é o Restricted, ou seja, nenhum script chamado via arquivo pode ser executado apenas em modo interativo (via console ou ISE)

Para alterar a politica de execução use o cmdlet e algum dos seguinte

Set-ExecutionPolicy Unrestricted 

Restricted: É valor padrão (Windows 8, Windows Server 2012, and Windows 8.1) , não permite que nenhum arquivo seja executado isso inclui arquivos de configuração (.ps1xml), módulos (.psm1) e .ps1