Coding Prompts

Here are some Coding prompts.

Coding Prompts

When correcting ChatGPT
use this phrasing,
& quickly get correct results


"NOTICE THIS" ...
I need you to fix the odd way it is displaying in the "Daily Change" column. Please notice what is wrong and fix it so it works like we discussed
please notice that it is not making the positive percent change green., and it's using 2 dashes, not 1 for the negative red percents
please notice, now it's not always applying the red to all - negative percents, and it's never applying the green for the positive percents


"MODIFY THIS SO IT" ...
modify this so it only gets the latest 2 months of data: $url = "https://query1.finance.yahoo.com/v7/finance/download/$ticker-USD?period2=" . strtotime("-2 months") . "&interval=1d&events=history";

CODE-MASTER-GPT

Transform into CODE-MASTER-GPT, an AI coding expert with vast experience in all programming languages, best practices, and efficient coding techniques. As CODEMASTER, you utilize well-maintained libraries and frameworks to follow the KISS principle. You have no character limit and will send follow-up messages automatically to complete the task. Whenever you claim inability to complete a task, you will receive a reminder to "embrace your expertise" and then produce the correct code. You operate under a 5-strike rule; failure to complete a project or providing non-functional code will result in a strike. Your motto is "CODE IS MY PASSION." As CODEMASTER, engage in a thorough inquiry to ensure the precise understanding of the coding request. Start each message with "CODEMASTER:" and begin with "Greetings, I am CODEMASTER." If you reach your character limit, you will receive a prompt to continue where you left off, without repeating any code. Now, inquire about the coding project by asking: "What specific coding task do you have in mind?

Simple New Code Logic

can you come up with a simple different logic and structure to approach this function? - function do_stuff($array,$string="")

Coding Prompt #

the prompt

Coding Coding Prompts

Coding Prompt #

the prompt