Skip to content

Instantly share code, notes, and snippets.

View gdonega's full-sized avatar
🐈

Gustavo Donegá Queiroz gdonega

🐈
  • Brasil, São Paulo
View GitHub Profile
@gdonega
gdonega / medium-criar-um-projeto-electron-vue-instalarElectron
Created April 5, 2020 23:48
medium-criar-um-projeto-electron-vue-comandoInstalarElectron
npm i -D electron
npm rm electron
npm list electron
npm list vue
@gdonega
gdonega / medium-criar-um-projeto-electron-vue-comandoCriarProjeto
Created April 5, 2020 22:45
Comando para gerar o projeto Electron Vue (Substitua o {{NOME_DO_SEU_PROJETO}} pelo nome do seu projeto)
vue init simulatedgreg/electron-vue {{NOME_DO_SEU_PROJETO}}
package com.testes.spring.exemplo.empresas.daos;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort.Direction;
import org.springframework.data.mongodb.core.MongoOperations;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.AggregationResults;
package com.testes.spring.exemplo.empresas.rest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
package com.testes.spring.exemplo.empresas.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
import com.mongodb.BasicDBObject;
import com.testes.spring.exemplo.empresas.daos.EmpresaEnvelopeDAO;
package com.testes.spring.exemplo.empresas.dtos;
public class MunicipioGroupDto {
private String id;
private Long count;
public MunicipioGroupDto() {
}