Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Tássio Auad tassioauad

:octocat:
View GitHub Profile
View input.json
{
params: [
{
name: 'Título',
type: 'TEXT',
options: [],
},
{
name: 'Descrição',
type: 'BIG_TEXT',
View Aluno.java
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;
View playbook-elastic-ssl.yml
- 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
View acendedorremoto.c
#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;
View alomqtt.c
#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;
View connectwifi.c
#include <WiFi.h>
const char* ssid = "MEUWIFI";
const char* password = "SENHA";
WiFiClient espClient;
void setup() {
Serial.begin(9600);
Serial.print("Conectando ao WiFi... ");
View app.py
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "<h1>Hello, World!</h1>"
View zdnet.css
: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;
View Imagem
https://drive.google.com/file/d/1lOJgsNvvWpIhDAogFzn2v4JeP0ntMjGV/view?usp=sharing
View dht11.cpp
// 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