Skip to content

Commit

Permalink
Update terminal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaTheLEGEND authored Feb 4, 2024
1 parent 985a456 commit 46ede6d
Showing 1 changed file with 10 additions and 37 deletions.
47 changes: 10 additions & 37 deletions gs/terminal/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,16 @@ async function SearchGitHubProfile() {

function ascii_art() {
term3.output(`
⠀⠀⠀⠀⠀⠀⠀⢀⣠⣤⣤⣶⣶⣶⣶⣤⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢀⣤⣾⣿⣿⠿⠟⠛⠛⠛⠛⠻⠿⣿⣿⣷⣤⡀⠀⠀⠀⠀
⠀⠀⣴⣿⣿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠻⣿⣿⣦⠀⠀⠀
⢀⣾⣿⡿⠁⠀⠀⣴⣦⣄⠀⠀⠀⠀⠀⣀⣤⣶⡀⠈⢿⣿⣷⡀⠀
⣾⣿⡟⠁⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠈⣿⣿⡄
⢠⣿⣿⠁⠀⠀⠀⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⣿⣿⡇
⢸⣿⣿⠀⠀⠀⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⣿⣿⡇
⠘⣿⣿⡦⠤⠒⠒⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠧⠤⢴⣿⣿⠃
⠀⢿⣿⣧⡀⠀⢤⡀⠙⠻⠿⣿⣿⣿⣿⣿⠟⠋⠁⠀⢀⣼⣿⡿⠀
⠀⠈⢿⣿⣷⡀⠈⢿⣦⣤⣾⣿⣿⣿⣿⣷⣄⠀⠀⢀⣾⣿⡿⠁
⠀⠀⠀⠻⣿⣿⣦⣄⡉⣿⣿⢿⣿⠉⢻⣿⢿⣿⣠⣴⣿⣿⠟⠀⠀
⠀⠀⠀⠀⠀⠈⠛⢿⣿⣿⣿⣧⣼⣿⣤⣾⣷⣶⣿⣿⡿⠛⠁⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠛⠛⠿⠿⠿⠿⠿⠛⠛⠋⠁⠀⠀⠀⠀
█████▒ ██▓ ██▓ ▓█████ ▒███████▒
▓██ ▒ ▓██▒▓██▒ ▓█ ▀ ▒ ▒ ▒ ▄▀░
▒████ ░ ▒██▒▒██░ ▒███ ░ ▒ ▄▀▒░
░▓█▒ ░ ░██░▒██░ ▒▓█ ▄ ▄▀▒ ░
░▒█░ ░██░░██████▒░▒████▒▒███████▒
▒ ░ ░▓ ░ ▒░▓ ░░░ ▒░ ░░▒▒ ▓░▒░▒
░ ▒ ░░ ░ ▒ ░ ░ ░ ░░░▒ ▒ ░ ▒
░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░
░ ⠀⠀⠀
`);
}

Expand Down Expand Up @@ -93,30 +90,6 @@ function pwd() {
term3.output(`${window.location.href}`);
}

async function hackertyper() {
try {
const response = await fetch("https://www.o-bible.com/download/kjv.txt");

if (!response.ok) {
throw new Error(`Failed to fetch hacker typer text. Status: ${response.status}`);
}

const hackerText = await response.text();

const lines = hackerText.split('\n');

for (const line of lines) {
term3.output(line);
await new Promise(resolve => setTimeout(resolve, 1000)); // Adjust the delay as needed
}

term3.output("Hacking complete!");
} catch (error) {
term3.output(`Failed to load hacker typer text: ${error.message}`);
}
}




async function ping() {
Expand Down

0 comments on commit 46ede6d

Please sign in to comment.