This file contains 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
#!/bin/bash | |
# Create project structure | |
mkdir -p rettiwt-extension/src/shims | |
mkdir -p rettiwt-extension/dist | |
cd rettiwt-extension | |
# Initialize npm project and install dependencies | |
npm init -y | |
npm install webpack webpack-cli babel-loader @babel/core @babel/preset-env \ |
This file contains 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
""" | |
title: OODA Loop Long-Term Memory | |
author: Ryan Bennett | |
date: 2024-07-05 | |
version: 1.0 | |
license: MIT | |
description: A pipeline for the OODA loop that uses long-term memory to help with decision making. | |
requirements: neo4j, openai, ollama | |
environment_variables: NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD, OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL, EMBEDDINGS_MODEL, EMBEDDINGS_DIMENSIONS | |
""" |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Nodes Layout</title> | |
<style> | |
body { | |
margin: 0; | |
font-family: Arial, sans-serif; |
This file contains 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
// ==UserScript== | |
// @name My Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description A ViolentMonkey userscript using BrokerClient | |
// @match https://chat.openai.com/* | |
// @grant GM.addStyle | |
// @grant GM.deleteValue | |
// @grant GM.getValue | |
// @grant GM.listValues |
This file contains 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
class ChatBot { | |
async start() { | |
const newChatLink = Array.from(document.querySelectorAll("a")).find( | |
(anchor) => anchor.innerText === "New Chat" | |
); | |
if (newChatLink) { | |
newChatLink.click(); | |
} else { | |
console.error('Could not find the "New Chat" link.'); | |
} |
This file contains 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
// ==UserScript== | |
// @name Open Jasmine Scripts in New Tabs | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Open the Jasmine Runner and Jasmine Invoker scripts in new tabs | |
// @author You | |
// @match https://gist.github.com/rynomad/2e29748a550a4d82701ddcbf6f909f7b | |
// @grant GM_openInTab | |
// ==/UserScript== |
This file contains 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
// ==UserScript== | |
// @name jasmine invoker | |
// @namespace Violentmonkey Scripts | |
// @match https://chat.openai.com/* | |
// @grant GM.openInTab | |
// @grant GM.communicator | |
// @grant GM.gpt | |
// @inject-into content | |
// ==/UserScript== |
This file contains 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
// ==UserScript== | |
// @name Jasmine Test Runner | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Run Jasmine tests on a page with GM.communicator | |
// @author You | |
// @match *://*/* | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jasmine/3.10.0/jasmine.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jasmine/3.10.0/jasmine-html.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jasmine/3.10.0/boot.min.js |
This file contains 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
// ==UserScript== | |
// @name ChatGPT rulesTextArea | |
// @namespace Violentmonkey Scripts | |
// @match https://chat.openai.com/* | |
// @grant none | |
// @version 1.1 | |
// @author - | |
// @description 4/12/2023, 2:22:19 PM | |
// ==/UserScript== |
This file contains 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
// ==UserScript== | |
// @name Draggable & Droppable Code Elements | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Make code elements draggable, droppable, and merge their contents when dropped onto each other. | |
// @author You | |
// @match https://*/* | |
// @grant GM.addStyle | |
// ==/UserScript== |
NewerOlder