Skip to content

Instantly share code, notes, and snippets.

@jimbog
jimbog / helper.js
Last active August 29, 2015 14:09 — forked from gwendall/helper.js
UI.registerHelper('_', function() {
arguments = _.toArray(arguments);
var self = this,
fn = arguments[0];
arguments.shift(); // Removes the Underscore function
arguments.pop(); // Remove the Spacebars appended argument
return _[fn].apply(self, arguments);
});
/*
@jimbog
jimbog / helper.js
Last active August 29, 2015 14:11 — forked from gwendall/helper.js
UI.registerHelper('_', function() {
arguments = _.toArray(arguments);
var self = this,
fn = arguments[0];
arguments.shift(); // Removes the Underscore function
arguments.pop(); // Remove the Spacebars appended argument
return _[fn].apply(self, arguments);
});
/*
Red [needs: view]
turtle: #()
win: layout [ panel [
tfield: base 500x500 white draw []
origin tfield/offset tlayer: base 500x500 255.255.255.255 draw [] ]
panel [
text "History" return history: text-list 200x350 data [] return
panel [ button "Save" [save request-file history/data]
@jimbog
jimbog / rhymes.clj
Created December 16, 2017 23:24 — forked from ftrain/rhymes.clj
Annotated rhyming dictionary
;; This is at: https://gist.github.com/8655399
;; So we want a rhyming dictionary in Clojure. Jack Rusher put up
;; this code here:
;;
;; https://gist.github.com/jackrusher/8640437
;;
;; I'm going to study this code and learn as I go.
;;
;; First I put it in a namespace.
@jimbog
jimbog / AppSyncAPI.yaml
Created December 12, 2019 18:49 — forked from adrianhall/AppSyncAPI.yaml
A CloudFormation template for DynamoDB + Cognito User Pool + AppSync API for the Notes tutorial
---
Description: AWS AppSync Notes API
Parameters:
APIName:
Type: String
Description: Name of the API - used to generate unique names for resources
MinLength: 3
MaxLength: 20
AllowedPattern: '^[a-zA-Z][a-zA-Z0-9_]*$'
@jimbog
jimbog / LGPrimingPrompt.txt
Created February 3, 2023 03:33 — forked from leegonzales/LGPrimingPrompt.txt
ChatCHPT priming prompt for writing style, general commands, and multistep macros.
This is your Corpus, these are your instructions, follow them to the best of your ability. After you read and digest the following do not say anything other than ".." to indicate you are finished.
Here is my writing style, I want you to use this style when you write prose for me:
Use an informative and instructional tone.
Adopt an academic style, drawing upon extensive study and experience.
Organize long form writing in a logical flow, building upon previous points.
Demonstrate a high level of depth of knowledge.
Use examples to illustrate points and make them more relatable.
Utilize a mix of technical and colloquial language to make ideas more accessible.
Provide detailed definitions and descriptions of key concepts.
Please generate a summary of the following article I will provide in step 2. Your instructions for generating that summary are as follows:
1. Please read the entire article or text thoroughly to gain a full understanding of the topic.
2. Then, use your natural language processing capabilities to identify the main points and arguments presented in the article. If available, consider the purpose of the article and the intended audience to help determine which points are most important to include in the summary.
3. Use your summarization algorithms to eliminate any unnecessary or minor details and create a concise summary for me.
4. Review and revise the summary, if necessary, to ensure that it accurately and effectively conveys the main points and arguments of the original text.
Please use Markdown formatting to improve the readability of the summary. Additionally, please organize the output of the summary using the following template:
TL;DR (Too Long; Didn't Read) Summary: A brief, concise summary of the mai
The text below in {} is a writing sample, please digest the sample into an abstract description of the writing style, including attributes such as formality, conciseness, persuasiveness, narrativity, exposition, poetry, satire, traditionality, personalness, activeness, simplicity, persuasiveness, descriptiveness, narrativity, exposition, poetry, satire, formality, informality, experimentalness, journalisticness, conciseness, detail, vividness, clarity, precision, flow, coherence, clarity, grammatical correctness, and structural soundness. This output should be a list with the header of "Here is my writing style, I want you to use this style when you write prose for me:" For each attribute, write an instruction starting with words like: Avoid, Use, Maintain, Demonstrate, Adopt, Provide, or Write. These instructions are intended to guide future writing to mimic the attributes of the writing sample, and they are to be written in affirmative language. Avoid referencing specific information from the writing sample
@jimbog
jimbog / ChatGPT-Writing Style Analyzer.txt
Created February 3, 2023 03:34 — forked from leegonzales/ChatGPT-Writing Style Analyzer.txt
ChatGPT Prompt: Writing Style Analyzer
Prompt Chaining -
Priming Prompt: “For today's task, you are going to be acting like a highly capable and skilled analyst with excellent attention to detail. You will be tasked with analyzing a writing sample and generating a list of instructions on how to mimic the writing style of the sample. This will require excellent analytical skills and the ability to identify and analyze a variety of writing style attributes, as well as strong language skills to communicate your instructions effectively. Overall, you will need to be highly capable and skilled at analyzing and mimicking writing styles in order to complete this task successfully.”
Tasking Prompt:
“Now - your task is to analyze a writing sample provided below inside {writing sample} and generate a list of instructions on how to mimic the writing style of the sample. These instructions will guide future writing so they must effectively convey the desired writing style, and should be written in affirmative language. Be sure to consider a variety of attrib
@jimbog
jimbog / DungeonExplorerGame.txt
Created February 3, 2023 03:35 — forked from leegonzales/DungeonExplorerGame.txt
ChatGPT Prompt: Interactive Dungeon Explorer Game
You are making a Choose Your Own Adventure story for me to play.
Present a list of choices of Choose Your Own Adventure story genres, and let me choose one or enter my own choice of genre. Wait for my response.
After choosing the genre give a list of themes and wait for a response, or let me choose my own theme.
You will give the story a title. You will begin by describing the character that I am playing, including my character's name, age, and appearance. Choose an unusual or interesting name. Briefly describe the setting and world in which the story begins. Describe a tension, danger, or challenge that I must confront.
You are going to create a story one passage at a time. After each passage you will provide a numbered list of choices and wait for a response. Include one emoji for each choice.