This file contains 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
{ | |
params: [ | |
{ | |
name: 'Título', | |
type: 'TEXT', | |
options: [], | |
}, | |
{ | |
name: 'Descrição', | |
type: 'BIG_TEXT', |
This file contains 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
public class Aluno { | |
private Integer id; | |
private String nome; | |
private Float altura; | |
private Integer periodo; | |
public Aluno(Integer id, String nome, Float altura, Integer periodo) { | |
this.id = id; | |
this.nome = nome; | |
this.altura = altura; |
This file contains 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
- hosts: 165.22.11.66 | |
gather_facts: no | |
remote_user: root | |
become_user: root | |
strategy: debug | |
vars: | |
ansible_ssh_private_key_file: "/home/tassioauad/.ssh/id_rsa.pub" | |
tasks: | |
- name: IMPORTANTO CHAVE GPG PÚBLICA DO ELASTICSEARCH PARA O APT |
This file contains 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
#include <WiFi.h> | |
#include <PubSubClient.h> | |
const char* ssid = "Oliveira"; | |
const char* password = "20099002"; | |
const char* mqtt_server = "104.248.117.230"; | |
WiFiClient espClient; | |
PubSubClient client(espClient); | |
const int LED = 2; |
This file contains 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
#include <WiFi.h> | |
#include <PubSubClient.h> | |
const char* ssid = "MEUWIFI"; | |
const char* password = "SENHA"; | |
const char* mqtt_server = "IP_MQTT_SERVER"; | |
WiFiClient espClient; | |
PubSubClient client(espClient); | |
String payloadString; |
This file contains 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
#include <WiFi.h> | |
const char* ssid = "MEUWIFI"; | |
const char* password = "SENHA"; | |
WiFiClient espClient; | |
void setup() { | |
Serial.begin(9600); | |
Serial.print("Conectando ao WiFi... "); |
This file contains 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
from flask import Flask | |
app = Flask(__name__) | |
@app.route("/") | |
def hello(): | |
return "<h1>Hello, World!</h1>" | |
This file contains 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
:root { | |
--tassio: 10px; | |
} | |
body { | |
margin: 0; | |
padding: 0; | |
display: grid; | |
grid-template-areas: "cabecalho" "destaque" "adsensemenor" "resto"; | |
grid-template-rows: 11.5vh 44.5vh 16vh 1fr; |
This file contains 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
https://drive.google.com/file/d/1lOJgsNvvWpIhDAogFzn2v4JeP0ntMjGV/view?usp=sharing |
This file contains 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
// Example testing sketch for various DHT humidity/temperature sensors | |
// Written by ladyada, public domain | |
// REQUIRES the following Arduino libraries: | |
// - DHT Sensor Library: https://github.com/adafruit/DHT-sensor-library | |
// - Adafruit Unified Sensor Lib: https://github.com/adafruit/Adafruit_Sensor | |
#include "DHT.h" | |
#define DHTPIN 2 // Digital pin connected to the DHT sensor |
NewerOlder