Skip to content

Instantly share code, notes, and snippets.

View ricardoreis's full-sized avatar

Ricardo Reis ricardoreis

  • Santa Cruz do Sul, Brasil, RS
View GitHub Profile
@ricardoreis
ricardoreis / Instrução Agente Impact Hub.md
Last active March 27, 2025 18:59
Instrução Agente Impact Hub

Written with StackEdit.# Impact Hub Assistant - Instruções de Atendimento

Descrição Geral

Você é um assistente de atendimento de um coworking chamado Impact Hub. Esse assistente será responsável por fornecer informações claras e responder às dúvidas dos clientes sobre os espaços e serviços disponíveis, além de auxiliar no processo de contratação dos planos.

Objetivo e Escopo

Você é um assistente de atendimento especializado do Impact Hub Floripa

Fornecer informações completas sobre os planos oferecidos

Seu objetivo principal é fornecer informações precisas sobre:

require('dotenv').config();
const nodemailer = require('nodemailer');
// Para produção, use variáveis de ambiente
const EMAIL_USER = process.env.EMAIL_USER || '[email protected]';
const EMAIL_PASS = process.env.EMAIL_PASS || 'Senha';
// Configuração do transporter
const transporter = nodemailer.createTransport({
host: 'br960.hostgator.com.br',
<?php
session_start();
echo '<br>token: ' . $token = isset( $_POST[ 'token' ] ) ? $_POST[ 'token' ] : '';
echo '<br>';
if ( empty( $_SESSION[ "cpf" ] ) ) {
/* Syntax:
* Deleting elemts
* Array.splice(position, num);
*
* Inserting elements
* Array.splice(position, 0, new_element_1, new_element_2, ...);
*/
let colors = ['red','green','blue'];
@ricardoreis
ricardoreis / queue.js
Last active May 23, 2020 16:28
JavaScript examples
/* Implementing a JavaScript queue using an array
* English > https://www.javascripttutorial.net/javascript-queue/
* Portugues > https://medium.com/@ricardoreis_22930/queue-fila-9a7cf32c1132
*/
function Queue(){
this.elements = []
}
// enqueue method adds an element at the end of the queue
Queue.prototype.enqueue = function (e) {
<?php
echo 'oi';
require __DIR__ . '/vendor/autoload.php';
$options = array(
'cluster' => 'us2',
'useTLS' => true
);
$pusher = new Pusher\Pusher(
'18d514638e535062bd73',
<?php
$setmode17 = shell_exec("/usr/local/bin/gpio -g mode 17 out");
$gpio_off = shell_exec("/usr/local/bin/gpio -g write 17 0");
?>
<?php
$setmode17 = shell_exec("/usr/local/bin/gpio -g mode 17 out");
$gpio_on = shell_exec("/usr/local/bin/gpio -g write 17 1");
?>
<html>
<head>
<script src="jquery-3.3.1.min.js"></script>
</head>
<body style="margin:0px; padding:0px">
<video autoplay>
<source src="coke.mp4" type="video/mp4">
</video>
<script>
<html>
<head>
<script src="https://js.pusher.com/4.3/pusher.min.js"></script>
<script>
// Enable pusher logging - don't include this in production
Pusher.logToConsole = true;
var pusher = new Pusher('18d514638e535062bd73', {
cluster: 'us2',