Skip to content

Instantly share code, notes, and snippets.

View Odilio's full-sized avatar

Odilio Odilio

View GitHub Profile
import static org.assertj.core.api.Assertions.assertThat;
import java.util.concurrent.TimeUnit;
import org.apache.activemq.artemis.junit.EmbeddedJMSResource;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.codenotfound.jms.Receiver;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsTemplate;
public class Sender {
private static final Logger LOGGER =
LoggerFactory.getLogger(Sender.class);
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jms.connection.CachingConnectionFactory;
import org.springframework.jms.core.JmsTemplate;
@Configuration
public class SenderConfig {
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jms.annotation.EnableJms;
import org.springframework.jms.config.DefaultJmsListenerContainerFactory;
@Configuration
@EnableJms
import java.util.concurrent.CountDownLatch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jms.annotation.JmsListener;
public class Receiver {
private static final Logger LOGGER =
LoggerFactory.getLogger(Receiver.class);
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.artemis</groupId>
<artifactId>spring-jms-artemis</artifactId>
<version>0.0.1-SNAPSHOT</version>
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
<!DOCTYPE html>
<meta charset="utf-8">
<style>
form {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
position: absolute;
left: 10px;
top: 10px;
}
<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")
<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>