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
<div class="page-content page-container" id="page-content"> | |
<div class="padding"> | |
<div class="row container d-flex justify-content-center"> | |
<div class="col-md-12"> | |
<div class="card px-3"> | |
<div class="card-body"> | |
<h4 class="card-title">Todo list com Vue</h4> | |
<div class="add-items d-flex"> <input type="text" class="form-control todo-list-input" placeholder="o que eu preciso fazer hoje?"> <button class="add btn btn-primary font-weight-bold todo-list-add-btn">criar</button> </div> | |
<div class="list-wrapper"> | |
<ul class="d-flex flex-column-reverse todo-list"> |
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
body { | |
background-color: #f9f9fa | |
} | |
.flex { | |
-webkit-box-flex: 1; | |
-ms-flex: 1 1 auto; | |
flex: 1 1 auto | |
} |
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
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>JerseyLab</groupId> | |
<artifactId>JerseyLab</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://xmlns.jcp.org/xml/ns/javaee" | |
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" | |
id="WebApp_ID" version="4.0"> | |
<display-name>JerseyLab</display-name> | |
<welcome-file-list> | |
<welcome-file>index.html</welcome-file> | |
<welcome-file>index.jsp</welcome-file> | |
<welcome-file>index.htm</welcome-file> |
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
# Loads default set of integrations. Do not remove. | |
default_config: | |
# Example configuration.yaml entry | |
light: | |
- platform: mqtt | |
name: "Lampada da Sala" | |
unique_id: ifpr_sala_lampada | |
state_topic: "ifpr/sala/lampada" |
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
sensor: | |
- platform: mqtt | |
name: "Temperatura" | |
unique_id: ifpr_sala_temperatura | |
state_topic: "ifpr/sala/temperatura" | |
unit_of_measurement: "°C" | |
value_template: "{{ value_json.temperatura }}" | |
json_attributes_topic : "ifpr/sala/temperatura" |
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
mqtt: | |
sensor: | |
- name: "Temperatura" | |
state_topic: "ifpr/sala/temperatura" | |
unique_id: ifpr_sala_temperatura | |
unit_of_measurement: "°C" | |
qos: 0 |
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
CREATE TABLE products ( | |
id int(11) NOT NULL AUTO_INCREMENT, | |
name varchar(60) NOT NULL, | |
price double NOT NULL, | |
description text NOT NULL, | |
imageUri varchar(1024) NOT NULL, | |
categoryId int(11) NOT NULL, | |
PRIMARY KEY (Id), | |
FOREIGN KEY (categoryId) REFERENCES categories (id) | |
); |
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
[ | |
1: { | |
nome: "bulbasaur", | |
altura: 7, | |
peso: 69, | |
habilidade: [ | |
{ | |
ability: { | |
name: "overgrow", | |
url: "https://pokeapi.co/api/v2/ability/65/" |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Casas</title> | |
<style> |