This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| --colour | |
| -I app |
| # Requires Ruby 1.9 and OS X | |
| # The letters in your game... include repeats | |
| game_letters = %w() | |
| # Words that have been played already | |
| played = %w() | |
| def to_hash(letters) | |
| letters.inject({}) do |h,l| | |
| h[l] ||= 0 |
Paprika doesn't have their API documented, so this is me reverse-engineering it from an Android device
| # To run you'll need some secrets: | |
| # 1. SERPAPI_API_KEY secret in env var - get from https://serpapi.com/ | |
| # 2. OPENAI_API_KEY secret in env var - get from https://openai.com | |
| import streamlit as st | |
| import json, os | |
| from langchain.prompts import PromptTemplate | |
| from langchain.llms import OpenAI | |
| from serpapi import GoogleSearch |