Skip to content

Instantly share code, notes, and snippets.

View Odilio's full-sized avatar

Odilio Odilio

View GitHub Profile
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
package com.crm.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
package com.bootstrap.springboot.service;
import java.util.ArrayList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;
1- Acordar antes do Sol
2 - Meditação guiada
3 - NoFap (energia vital)
4 - Banho gelado
5 - Exercício físico
6 - 3 litros de água por dia
7 - 30 páginas de leitura por dia
8 - 100% presença naquilo que está fazendo
9 - Minimalismo (filtrar)
<html>
<head>
<script src="https://d3js.org/d3.v5.min.js"></script>
</head>
<body>
<p> Teste </p>
<script>
d3.select("body").append("p").text("d3.js");
</script>
<html>
<head>
<script src="https://d3js.org/d3.v5.min.js"></script>
</head>
<body>
<script>
var svg = d3.select("body").append("svg");
var dataset = [ 7, 11, 15, 18, 25 ];
svg.selectAll("circle")
<!DOCTYPE html>
<meta charset="utf-8">
<style>
form {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
position: absolute;
left: 10px;
top: 10px;
}
Softwares para projetos
https://www.youtube.com/watch?v=Jyq4Uz3y5Ng
https://www.solarize.com.br/software-pv-sol
https://www.pvsyst.com/
https://www.electrographics.com.br/produtos/solergo
Projeto eletrico - basico
https://www.youtube.com/watch?v=qoLl7cTKtWs
Projeto eletrico - 24 volts
https://www.youtube.com/watch?v=idiLW7bpLeE
Edital do bnb hubine - fundeci