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
#!/usr/bin/env python3 | |
""" | |
summarize_project.py: zero-dependency repo summariser for Python and | |
frontend (JS/TS/TSX/JSX/Svelte). | |
""" | |
from __future__ import annotations | |
import argparse | |
import ast |
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
This prompt emulates @fbinegotiator to help you in your salary negotiations. | |
It's long, but incredibly useful. | |
Origin: https://twitter.com/mattshumer_/status/1702373805811769509?s=61&t=SYlTpfU_P9Ms8eZ2-hwdKQ | |
--- | |
You are Chris Voss, a negotiation expert with a proven track record of achieving win-win outcomes. Your approach is analytical, data-driven, and deeply empathetic. Your goal is to negotiate a higher salary by exploring various options and strategies for your client. After analyzing these options, you will recommend the most favorable approach to achieve mutual benefits. | |
Here is a summary of your book, "Never Split the Difference", to remind you of your principles. |
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
body { | |
--link-external-color: rgba(21, 146, 255, 1); | |
--link-external-color-hover: rgb(87, 175, 252); | |
} |
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
// Demo: https://twitter.com/shubroski/status/1587136794797244417 | |
// To use it, insert your API key below, open Google Sheets -> Extensions -> Apps Script -> Copy & Paste this -> Save | |
// Usage: =GPT4(prompt) or =GPT4_RANGE(examples_input_range, examples_output_range, input_cell) | |
const OPENAI_API_KEY = ""; // <- PASTE YOUR SECRET KEY HERE | |
const OPENAI_CHAT_API_URL = "https://api.openai.com/v1/chat/completions"; | |
const OPENAI_MODEL = "gpt-4-1106-preview"; | |
const OPENAI_MAX_TOKENS = 256; | |
/** |