Skip to content

Instantly share code, notes, and snippets.

View felipemeres's full-sized avatar

Felipe Meres felipemeres

View GitHub Profile
@felipemeres
felipemeres / yt-langchain-agents.ipynb
Last active April 22, 2023 16:44
YT LangChain - Agents.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@felipemeres
felipemeres / vimeo_api_thumbnails.py
Last active February 22, 2023 14:26
Python script to retrieve Vimeo thumbnails using the API
import requests
import json
# Replace with your Vimeo access token
access_token = "TOKEN"
# List of Vimeo video IDs to retrieve thumbnail images for
video_ids = ["#######", "..."]
@felipemeres
felipemeres / ditto_db_to_md.py
Last active February 5, 2023 19:50
Python script to export Ditto's clipboard database to a markdown file
# Change the database path to match your system, you can find it in Ditto's settings.
import sqlite3
import datetime
# Connect to the database file
conn = sqlite3.connect(r'C:\path\to\Ditto.db')
cursor = conn.cursor()
# Execute a SELECT statement to retrieve both the mText and lDate columns