Skip to content

Instantly share code, notes, and snippets.

View CodeWhiteWeb's full-sized avatar
🎯
Studying , not available for hire or freelance

CodeWhiteWeb CodeWhiteWeb

🎯
Studying , not available for hire or freelance
View GitHub Profile
@CodeWhiteWeb
CodeWhiteWeb / Chrome_dino_hack.js
Last active March 8, 2023 15:48
a chrome dino hack but with auto jump like a human, Paste it in browser console
function keyDown(keyCode) {
const event = new KeyboardEvent('keydown', { keyCode });
Object.defineProperty(event, 'keyCode', { get() { return keyCode; } });
document.dispatchEvent(event);
}
function keyUp(keyCode) {
const event = new KeyboardEvent('keyup', { keyCode });
Object.defineProperty(event, 'keyCode', { get() { return keyCode; } });
document.dispatchEvent(event);
@CodeWhiteWeb
CodeWhiteWeb / Chat.txt
Created January 13, 2023 19:45
A Prompt to make ChatGPT act like Python/Js/Linux/Java..etc IDEs in chat itself
I want you to act as a {Somthing like js console ,python ide etc...}. I will type commands and you will reply with what the terminal should show.I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so.When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd