Skip to content

Instantly share code, notes, and snippets.

View ola0x's full-sized avatar
🏠
Working from home

Olanrewaju Ola ola0x

🏠
Working from home
View GitHub Profile
@horosin
horosin / README.md
Last active May 21, 2024 18:07
Chrome Remote Desktop on Debian Server

Chrome Remote Desktop on Debian/Ubuntu Server

Get a remote connection to your cloud server! This utility script by default installs XFCE, Chrome and Chrome Remote Desktop.

Based on this guide, made ready to install with one command and use xfce by default.

Steps:

  1. Install requirements (please check if the script is safe before you execute this command!)
@Anshul0305
Anshul0305 / dialogflow-mysql.js
Last active April 2, 2023 23:42
Connect Dialogflow with MySQL Database
const mysql = require('mysql');
function connectToDatabase(){
const connection = mysql.createConnection({
host : 'HOST',
user : 'USER',
password : 'PASSWORD',
database : 'DATABASE'
});
return new Promise((resolve,reject) => {
@Anshul0305
Anshul0305 / Send_Email_From_Dialogflow.js
Last active February 17, 2023 14:51
How to send emails from Dialogflow
const nodemailer = require("nodemailer");
const transporter = nodemailer.createTransport({
service: 'gmail',
auth: {
user: 'YOUR_GMAIL_ID',
pass: 'YOUR_GMAIL_PASSWORD'
}
});