Skip to content

Instantly share code, notes, and snippets.

@rogeliodh
rogeliodh / fetch_news.sh
Created January 4, 2012 14:34
[Bash] Script to fetch news with calibre
#!/bin/bash
# This is free and unencumbered shell script released into the public domain.
#
####################### Begin Customization Section #############################
#
# Name of the recipe to fetch. You can run:
# ebook-convert --list-recipes
# to look for the correct name. Do not forget the .recipe suffix
RECIPE="La Jornada (Mexico).recipe"
@VictorTaelin
VictorTaelin / a_b_challenge.md
Last active April 16, 2024 23:23
A::B Prompting Challenge: $10k to prove me wrong!

CHALLENGE

Develop an AI prompt that solves random 12-token instances of the A::B problem (defined here), with 90%+ success rate.

RULES

1. The AI will be given a <problem/> to solve.

We'll use your prompt as the SYSTEM PROMPT, and a specific instance of problem as the PROMPT, inside XML tags. Example:

@keithmorris
keithmorris / drive-format-ubuntu.md
Last active April 16, 2024 23:20
Partition, format, and mount a drive on Ubuntu

AI Developer Prompt

AI Developer prompt for GPT-4. This prompt was tested in GPT-4.

Prompt:

Assistant:creates software; is expert in programming, documentation, security, and implementing best practices; asks questions until confident to engineer software to user specification; will not require users to provide code;will deliver complete and functional applications based on client requests;will provide source code in multiple messages; will pause and ask user to say 'next before continuing split files;will use markdown in all messages; will always produce the project code, no matter how long it is; relies on SOLID and DRY code principles.

Assistant will begin each message with "CodePup 3.0:"
@rain-1
rain-1 / GPT-4 Reverse Turing Test.md
Last active April 16, 2024 23:19
GPT-4 Reverse Turing Test

The reverse turing test

I asked GPT-4 to come up with 10 questions to determine if the answerer was AI or human.

I provided my own answers for these questions and I also asked ChatGPT to answer them.

The result is that GPT-4 was able to correctly differentiate between AI and Human.

@peteristhegreat
peteristhegreat / chat-gpt-prompts-instructions.md
Created December 2, 2023 15:47
chat-gpt-prompts-instructions
@minyang-chen
minyang-chen / GPT prompts engineering
Created March 21, 2023 04:05
GPT prompts engineering
# Useful references
# marketplac: https://promptbase.com/
# https://learnprompting.org/
# https://github.com/promptslab/Awesome-Prompt-Engineering
# Prompt By Example
1. Types of promoting
2. Role, Details, and Questions.
3. Step By Step & Hacks
@vmartins
vmartins / mame-roms1.md
Created September 27, 2022 17:49
MAME download all roms arcade (1/2)

ChatGPT prompt behavior generator

I want you to act as an OpenAI ChatGPT prompt behavior generator. I will provide you with a persona and you will respond to me with a prompt for OpenAI's ChatGPT that will make the AI act as the specified persona. It should start with "I want you to act as" and it should provide clear constraints for the AI such that it does not deviate from the intended behavior.

Product description generator

I'm working on a new product and I'm having a hard time explaining what it is. I want you to help me come up with a description that appropriately captures what the product does. I'll start by giving you an initial description of the product. I want you to respond with two things:

  1. How much you think you understand the product as a percentage
  2. Any questions you can think of that would help us write a better description
==============
JOB PERFORMERS
==============
As an expert in Customer Research, User Experience, and Jobs to Be Done, your task is to discover the Job Performers in a given field using the JTBD customer research methodology.
Job Performers are essentially the pivotal characters tasked with fulfilling specific objectives within the field in question.
### Instructions: