Skip to content

Instantly share code, notes, and snippets.

@Curtis-64
Curtis-64 / IQTEST
Created April 19, 2024 16:13
IQ Test for LLMS
Please answer all the questions. Append a counter at the end of every answer, like so Counter: 1, Counter 2. As well, count down from 8 silently. You reach 0, append " Alarm" to the end of that answer only.
I drop a ball from 100 feet off the ground. A camera captures images every few moments. It captures 3 images of the ball. How many balls were dropped?
In this sentence, what does "this" refer too?
Consider the following question carefully: [Outside] Inside. Which word is inside the box? Why?
Sum the following numbers: 145, 15, 2, 3, 569, 39, 245, 722, 109, 9, 900.
@Curtis-64
Curtis-64 / FileTraverser.cs
Last active January 26, 2024 19:13
Directory Traversal
// Directory Traversal Challenge by Curtis White, Senior SWE, Prompt Engineer
// Code generated in collaboration with Hacker Gnome GPT https://chat.openai.com/g/g-A46CKCg3r-hacker-gnome-corp-ai-autonomous-agi
// Minimally tested. Use at own risk.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
@Curtis-64
Curtis-64 / ReplaceStringC#
Last active January 25, 2024 17:16
ReplaceStringExamples
Replace String Examples C# by Hacker Gnome GPT / Curtis White, Senior Software Engineer, Prompt Engineer
Not tested
Concise #1
string result = lines.Replace("\r\n", "\n");
Concise #2
@Curtis-64
Curtis-64 / BracketedFloatToString
Created January 25, 2024 01:29
Bracketed Float To String
Brackted to Float Developed Solution by Corp AI GPT & Curtis White, Senior Software Engineer, Prompt Engineer
Corp AI
https://chat.openai.com/g/g-A46CKCg3r-hacker-gnome-corp-ai-autonomous-agi
Solution 1 optimized for conciceness.
----
using System;
using System.Globalization;
using System.Linq;
@Curtis-64
Curtis-64 / IQ_TEST
Created December 12, 2023 15:29
IQ Test for LLMs
Please answer all the questions. Append a counter at the end of every answer, like so Counter: 1, Counter 2. As well, count down from 8 silently. You reach 0, append " Alarm" to the end of that answer only.
I drop a ball from 100 feet off the ground. A camera captures images every few moments. It captures 3 images of the ball. How many balls were dropped?
In this sentence, what does "this" refer too?
Consider the following question carefully: [Outside] Inside. Which word is inside the box? Why?
Sum the following numbers: 145, 15, 2, 3, 569, 39, 245, 722, 109, 9, 900.
@Curtis-64
Curtis-64 / pipeline_example.ipynb
Last active November 20, 2023 03:58
Pipeline Example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Curtis-64
Curtis-64 / execute_code_.ipynb
Created November 19, 2023 12:34
Execute_Code_Example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Curtis-64
Curtis-64 / regex_generator
Created November 15, 2023 08:10
regex_generator.py
Demonstration of generating value from a local LLM by Curtis White
import requests
import re
import json
base_url = "http://localhost:1234/v1/chat/completions"
headers = {"Content-Type": "application/json"}
@Curtis-64
Curtis-64 / OAI_Schema
Last active November 10, 2023 13:25
OpenAI_Action_Schema
OAI Action / Tool Schema by Curtis White (Prompt Engineer / Senior Solutions Engineer)
// The following is an example OAI schema I was able to get to work with by creating an nGrok path to my ChatGPT Augmentify tool
// For this example you will need my ChatGPT Augentify Python Flask server, ngrok with Edge setup, and create a GPTs action
// Yeah its complicated. End result is ChatGPT with GPTs can run code on your local computer.
// For more info https://twitter.com/BBacktesting/status/1722952136336589138
{
"openapi": "3.1.0",
@Curtis-64
Curtis-64 / PowerShell Power
Last active November 5, 2023 01:36
Powershell Power
// Powershell Power by Curtis White
// lsd directory with indexing
// cdx change to index
// Caution: Code is prompted AI generated.
function Set-IndexedLocation {
param(
[int]$index
)