Skip to content

Instantly share code, notes, and snippets.

View almcarvalho's full-sized avatar

Lucas Carvalho almcarvalho

View GitHub Profile
1,abandon
2,ability
3,able
4,about
5,above
6,absent
7,absorb
8,abstract
9,absurd
10,abuse
https://github.com/Eleunit/ESP32_Pixel_Tutorial
lesson 4
lvgl lybrary
8.3.11
arduino > libraries
lvgl
arquivo: lv_conf_template.h
services:
# Define um serviço do tipo "Web Service" para o seu backend Node.js.
- type: web
# Um nome para o seu serviço. Pode ser alterado.
name: curso-basico
# O ambiente de execução. Render geralmente detecta isso, mas é bom especificar.
runtime: node
# O plano da instância. 'free' é o plano gratuito, ideal para começar.
plan: free
# O branch do seu repositório que será usado para o deploy.
if (user) {
if (user.dataVencimento) {
const diferencaEmMilissegundos = new Date().getTime() - user.dataVencimento.getTime();
const diferencaEmDias = Math.floor(diferencaEmMilissegundos / (1000 * 60 * 60 * 24));
console.log("atraso: " + diferencaEmDias);
if (diferencaEmDias > 10) {
warningMsg = `seu plano está bloqueado, entre em contato com o setor financeiro!`
}
}
}
import { create } from 'venom-bot';
import { stages, getStage } from './stages.js';
var pessoas = [];
create({
session: 'store',
multidevice: true,
headless: false,
})
//INTEGRAÇÃO PIX VÍDEO 2- Efí, antiga Gerencianet
var valorDoPix = 0;
var valorAux = 0;
app.get("/rafael", async (req, res) => {
if (valorDoPix > 0) {
valorAux = valorDoPix;
valorDoPix = 0;
import cors from 'cors';
import express from 'express';
require('dotenv').config();
const PORT: string | number = process.env.PORT || 5000;
const app = express();
app.use(cors());
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClientSecureBearSSL.h>
// Replace with your network credentials
const char* ssid = "teste";
const char* password = "teste123";
const int led1 = 2;
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClientSecureBearSSL.h>
// Replace with your network credentials
const char* ssid = "REPLACE_WITH_YOUR_SSID";
const char* password = "REPLACE_WITH_YOUR_PASSWORD";
void setup() {
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
const char* ssid = "yourNetworkName";
const char* password = "yourNetworkPassword";
void setup () {
Serial.begin(115200);