Skip to content

Instantly share code, notes, and snippets.

View areeb1501's full-sized avatar
💯
One step at a time, Consistently.

areeb1501

💯
One step at a time, Consistently.
View GitHub Profile
from langchain.document_loaders import YoutubeLoader
from langchain.indexes import VectorstoreIndexCreator
loader = YoutubeLoader.from_youtube_url("https://www.youtube.com/watch?v=fLn-WqliEQU&lc=UgyOc6oNr_4-YLGCL2R4AaABAg", add_video_info=False)
docs = loader.load()
index = VectorstoreIndexCreator()
index = index.from_documents(docs)
@haqHUB
haqHUB / delayed-retargeting.js
Created August 20, 2017 13:43 — forked from rsiddle/delayed-retargeting.js
Hide Retargeting Cookies (Delayed Scripts)
/*
Description
Using the window.setTimeout function will allow you to hide retargeting cookies and execute them after 45 seconds.
This helps provide higher quality leads/audience. The example below shows Facebook's pixel tracker.
It could be used for other pixel tracking services too.
Case Study @ http://imscalable.com/blog/case-study-retargeting-done-wrong/
*/
// Facebook Code