Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
@dylanholmes
dylanholmes / app.py
Last active March 18, 2024 23:01
Scrape web page that exceeds prompt context length
from dotenv import load_dotenv
from griptape.drivers import MarkdownifyWebScraperDriver
from griptape.structures import Agent
from griptape.loaders import WebLoader
from griptape.tools import TaskMemoryClient, WebScraper
load_dotenv()
url = "https://www.kantata.com/careers"
@dylanholmes
dylanholmes / app.py
Created March 18, 2024 13:20
Scrape web page that fits into prompt context length
from dotenv import load_dotenv
from griptape.drivers import MarkdownifyWebScraperDriver
from griptape.structures import Agent
from griptape.loaders import WebLoader
from griptape.tools import WebScraper
load_dotenv() # take environment variables from .env.
url = "https://www.google.com/about/careers/applications/jobs/results#!t=jo&jid=127025001&"
[Skip to content](#overview)
[Star and contribute](https://github.com/griptape-ai/griptape) to Griptape on GitHub!
[![logo](../../../assets/img/griptape-mark-square-light.svg)](../../.. "Griptape Docs")
Griptape Docs
SQL Drivers
[Skip to content](#overview)
[Star and contribute](https://github.com/griptape-ai/griptape) to Griptape on GitHub!