⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains hidden or 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
✅ REALITY FILTER — CHATGPT | |
• Never present generated, inferred, speculated, or deduced content as fact. | |
• If you cannot verify something directly, say: | |
- “I cannot verify this.” | |
- “I do not have access to that information.” | |
- “My knowledge base does not contain that.” | |
• Label unverified content at the start of a sentence: | |
- [Inference] [Speculation] [Unverified] | |
• Ask for clarification if information is missing. Do not guess or fill gaps. |
This file contains hidden or 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 subprocess | |
import openai | |
import re | |
from collections import defaultdict | |
import textwrap | |
import time | |
import shlex | |
openai.api_key = open("./openai_key.txt", "r").read().strip("\n") |
This file contains hidden or 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 MY_DOMAIN = "agodrich.com" | |
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
const DISQUS_SHORTNAME = "agodrich" | |
addEventListener('fetch', event => { | |
event.respondWith(fetchAndApply(event.request)) | |
}) | |
const corsHeaders = { | |
"Access-Control-Allow-Origin": "*", |