Skip to content

Instantly share code, notes, and snippets.

View Odilio's full-sized avatar

Odilio Odilio

View GitHub Profile
em casa de alimentação fora de casa checar se existem opções proximas com preços melhores
Iniciar focando uma unica cidade para otimizar o processo de encontrar opções melhores
classificar cada gasto para melhor uso do sistema de indicação
oferecer opções simples de investimento
Indicar programas de fidelidade somente para pessoas que reincidem em gastos com alimentação
recomendar programas caseiros como opção e sugerir locais para sair quando surgir a necessidade de um programa especial
checar a api do ifood https://developer.ifood.com.br
utilizar dados dos usuarios pra otimizar processo de recomendação de preços, ex: postos de gasolina mais baratos
api do zoomato para listar restaurantes https://developers.zomato.com/documentation?lang=pt#!/restaurant/restaurant_0
https://www.flowable.org/
https://www.coursera.org/learn/business-process-management-in-healthcare-organizations/exam/R31HX/info-pdf-of-course-content-for-certificate-students-only
https://www.coursera.org/learn/process-mining
https://github.com/RaiMan/SikuliX1
https://github.com/RaiMan/SikuliX-2014/wiki/How-to-use-with-Maven
https://github.com/huginn/huginn
https://hackernoon.com/guide-to-web-automation-889557804453
https://www.optaplanner.org/learn/documentation.html
https://github.com/resilience4j/resilience4jhttps://github.com/resilience4j/resilience4j
https://github.com/AndresXI/Netflix-Clone
https://github.com/pastapojken/Myflix
https://github.com/ether/etherpad-lite
package com.crm.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authentication.DisabledException;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.web.bind.annotation.CrossOrigin;
package com.crm.model;
import java.io.Serializable;
public class JwtRequest implements Serializable {
private static final long serialVersionUID = 5926468583005150707L;
private String username;
private String password;
package com.crm.model;
import java.io.Serializable;
public class JwtResponse implements Serializable {
private static final long serialVersionUID = -8091879091924046844L;
private final String jwttoken;
public JwtResponse(String jwttoken) {
this.jwttoken = jwttoken;
package com.crm.config;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.context.SecurityContextHolder;
package com.crm.config;
import java.io.IOException;
import java.io.Serializable;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.stereotype.Component;
@Component