This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", () => { | |
const urlParams = new URLSearchParams(window.location.search); | |
const utm_source = urlParams.get("utm_source"); | |
const utm_medium = urlParams.get("utm_medium"); | |
const utm_campaign = urlParams.get("utm_campaign"); | |
const utm_content = urlParams.get("utm_content"); | |
const utm_term = urlParams.get("utm_term"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
/** | |
* - Use este parâmetro na URL para evitar o delay: videodelay=false | |
* - Use a classe CSS "video-delay" em todos os componentes e/ou seções que deseja esconder no delay. | |
* - Use a classe CSS "video-delay-reverse" em todos os componentes que ficaram ativos apenas durante o tempo de delay. | |
**/ | |
// Abaixo tem-se as variáveis que armazenam o minuto e o segundo exato do vídeo em que se termina o delay. | |
const videoMinute = 14 | |
const videoSecond = 18 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.projeto.model.Arquivo; | |
import java.io.IOException; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.http.HttpHeaders; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.MediaType; | |
import org.springframework.http.ResponseEntity; | |
import org.springframework.web.bind.annotation.GetMapping; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.alexandreafonso.template.config; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.web.servlet.config.annotation.EnableWebMvc; | |
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; | |
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; | |
import org.springframework.web.servlet.ViewResolver; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.algaworks.email.config; | |
import java.util.Properties; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.PropertySource; | |
import org.springframework.core.env.Environment; | |
import org.springframework.mail.javamail.JavaMailSender; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Singleton | |
public class WeldSe { | |
public static void main(String[] args) { | |
StartMain.main(args); | |
} | |
@Inject @Parameters | |
private List<String> args; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.enterprise.inject.Instance; | |
import javax.inject.Inject; | |
import org.jboss.weld.environment.se.Weld; | |
import org.jboss.weld.environment.se.WeldContainer; | |
public class WeldSe { | |
public static void main(String[] args) { | |
Weld weld = new Weld(); |