This file contains 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> | |
<head> | |
<title>Your Cute Email From The {{{{project}}}} Project</title> | |
</head> | |
<body style="background-color: #f6f4f2; margin: 0; padding: 0; font-family: Arial, sans-serif;"> | |
<!-- Email Wrapper --> | |
<table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse; margin-top: 50px;"> | |
<tr> |
This file contains 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
{ | |
"projectId": "how-do-i-index", | |
"projectName": "", | |
"collections": [ | |
{ | |
"$id": "movies", | |
"$read": [], | |
"$write": [], | |
"name": "Movies", | |
"enabled": true, |
This file contains 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
const sdk = require("node-appwrite"); | |
const { Client, Intents, MessageEmbed } = require('discord.js'); | |
let client = null; | |
let appwrite = null; | |
let database = null; | |
// This is the entry point for our cloud function | |
module.exports = async function (req, res) { | |
if (client) { |
This file contains 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
import io | |
import cv2 | |
import imageio | |
from proglog import proglog | |
vidcap = cv2.VideoCapture('my_video.mp4') | |
def extract_gif(vidcap, fps=15, logger='bar', frame_skip=None): |