everything
This commit is contained in:
parent
b8a6ed23d9
commit
ba0a2cf505
22
index.js
Normal file
22
index.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
const file = require('fs');
|
||||
const path = require('path');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
const filePath = path.join(__dirname, '../Websites/html/arrayinamatrix.xyz/index.html');
|
||||
const $ = cheerio.load(file.readFileSync(filePath));
|
||||
|
||||
let string_list = ['Welcome to the abyss.', 'Among Us', 'Shinjū', 'Tenebrous', '[this splash text is now available]', 'As seen on TV!', 'Open source!', 'Déjà vu!', 'doot doot', '/give @a hugs 64', 'Home-made!', 'Made by a "real" person!', 'Made in Canada!', '& Knuckles!', 'Check out my blog!', 'Removed Herobrine', '3.14159265358979323846264338327950...','Know your addiction’s not a crime', 'undefined', 'There’s no escape.', 'Sleep all day, wide awake when the night falls', 'I know I’m complacent <br> You’ll find a replacement', 'All You Are', 'Foreign skies <br> Come and find me where the daylight ends', 'Too late to start again so let’s live to see the end.', 'But only after dark', 'So lay waste to all we\'ve made <br> For your corporate palisade', 'Edgy', 'A killer in a slick dress, shed your skin and regress', 'Would you fight, would you die <br> To project the change you\'ve buried deep inside?', 'Nugget, biscuit, nugget in a biscuit <br> Dip it all in mashed potatoes!', 'Gotta let it go', 'Node.Js <3', 'h', 'ت', 'The CIA glow in the dark, you can see them if you\'re driving. You just run them over, that\'s what you do.', 'lord, forgive me for what I\'m about to do.', '9 + 10 = 21', 'Running on GNU/Linux!', 'I use Arch btw', 'real', 'sad', '"Please stop hitting my rib cage with a metal bar!" 🤓', 'An array (or vector) inside a matrix (2D array) is just a tensor (3D array).', 'Send me a frog video pls.', 'π = 3 = √g', 'A man once drove a car',':(){ :|:& };:', '#include <stdio.h>', '#include <math.h>', '127.0.0.1', 'Welcome!', 'Welcome back! (assuming you came before)', 'Assume a Spherical Cow', '꧁༺༻꧂', 'Made with HTML and CSS!', 'I have your IP address', 'Touch grass', 'Full of soup.', 'el gato', 'low intelligence specimen', 'Rule #1: always boss up', 'Rule #2: never forget ya homies <br> they always there 4u', 'Rule #3: get outdoors', 'suffering builds character', 'Greetings federal agents!', 'Jinx the cat <3', 'Bingus <3', 'Big Floppa <3', 'Juice the cat <3', 'Phrogghe', '<!DOCTYPE html>', 'AAAAAAAAAAAAAAAAAAAAAA', 'stop thinking', 'The voices are getting louder.', 'Disgusted by the fact that the passage of time affects me.', 'Normalize being a sleepyhead!', 'What if we exchagned our public gpg keys? js <br> Unless...', 'jhawifiw awfjjjwfiv', "the moment when the", 'Look for The Gummy Bear Album in Stores on November 13th!', 'Friendship ended with NPM now PNPM is my new best friend'];
|
||||
|
||||
let string = string_list[Math.floor(Math.random() * string_list.length)];
|
||||
// let string = string_list[string_list.length - 1];
|
||||
|
||||
$('.project-tagline').replaceWith(`<h2 class="project-tagline">${string}</h2>`);
|
||||
|
||||
console.log("\n###############################################################\n")
|
||||
console.log($.html());
|
||||
|
||||
file.writeFile(filePath, $.html(), (e) => {
|
||||
if (e != null) {
|
||||
console.log(e)
|
||||
}
|
||||
});
|
6
package.json
Normal file
6
package.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"cheerio": "1.0.0-rc.11",
|
||||
"path": "^0.12.7"
|
||||
}
|
||||
}
|
141
pnpm-lock.yaml
Normal file
141
pnpm-lock.yaml
Normal file
|
@ -0,0 +1,141 @@
|
|||
lockfileVersion: 5.4
|
||||
|
||||
specifiers:
|
||||
cheerio: 1.0.0-rc.11
|
||||
path: ^0.12.7
|
||||
|
||||
dependencies:
|
||||
cheerio: 1.0.0-rc.11
|
||||
path: 0.12.7
|
||||
|
||||
packages:
|
||||
|
||||
/boolbase/1.0.0:
|
||||
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
|
||||
dev: false
|
||||
|
||||
/cheerio-select/2.1.0:
|
||||
resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==}
|
||||
dependencies:
|
||||
boolbase: 1.0.0
|
||||
css-select: 5.1.0
|
||||
css-what: 6.1.0
|
||||
domelementtype: 2.3.0
|
||||
domhandler: 5.0.3
|
||||
domutils: 3.0.1
|
||||
dev: false
|
||||
|
||||
/cheerio/1.0.0-rc.11:
|
||||
resolution: {integrity: sha512-bQwNaDIBKID5ts/DsdhxrjqFXYfLw4ste+wMKqWA8DyKcS4qwsPP4Bk8ZNaTJjvpiX/qW3BT4sU7d6Bh5i+dag==}
|
||||
engines: {node: '>= 6'}
|
||||
dependencies:
|
||||
cheerio-select: 2.1.0
|
||||
dom-serializer: 2.0.0
|
||||
domhandler: 5.0.3
|
||||
domutils: 3.0.1
|
||||
htmlparser2: 8.0.1
|
||||
parse5: 7.0.0
|
||||
parse5-htmlparser2-tree-adapter: 7.0.0
|
||||
tslib: 2.4.0
|
||||
dev: false
|
||||
|
||||
/css-select/5.1.0:
|
||||
resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==}
|
||||
dependencies:
|
||||
boolbase: 1.0.0
|
||||
css-what: 6.1.0
|
||||
domhandler: 5.0.3
|
||||
domutils: 3.0.1
|
||||
nth-check: 2.1.1
|
||||
dev: false
|
||||
|
||||
/css-what/6.1.0:
|
||||
resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
|
||||
engines: {node: '>= 6'}
|
||||
dev: false
|
||||
|
||||
/dom-serializer/2.0.0:
|
||||
resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
|
||||
dependencies:
|
||||
domelementtype: 2.3.0
|
||||
domhandler: 5.0.3
|
||||
entities: 4.3.0
|
||||
dev: false
|
||||
|
||||
/domelementtype/2.3.0:
|
||||
resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
|
||||
dev: false
|
||||
|
||||
/domhandler/5.0.3:
|
||||
resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
|
||||
engines: {node: '>= 4'}
|
||||
dependencies:
|
||||
domelementtype: 2.3.0
|
||||
dev: false
|
||||
|
||||
/domutils/3.0.1:
|
||||
resolution: {integrity: sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==}
|
||||
dependencies:
|
||||
dom-serializer: 2.0.0
|
||||
domelementtype: 2.3.0
|
||||
domhandler: 5.0.3
|
||||
dev: false
|
||||
|
||||
/entities/4.3.0:
|
||||
resolution: {integrity: sha512-/iP1rZrSEJ0DTlPiX+jbzlA3eVkY/e8L8SozroF395fIqE3TYF/Nz7YOMAawta+vLmyJ/hkGNNPcSbMADCCXbg==}
|
||||
engines: {node: '>=0.12'}
|
||||
dev: false
|
||||
|
||||
/htmlparser2/8.0.1:
|
||||
resolution: {integrity: sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==}
|
||||
dependencies:
|
||||
domelementtype: 2.3.0
|
||||
domhandler: 5.0.3
|
||||
domutils: 3.0.1
|
||||
entities: 4.3.0
|
||||
dev: false
|
||||
|
||||
/inherits/2.0.3:
|
||||
resolution: {integrity: sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=}
|
||||
dev: false
|
||||
|
||||
/nth-check/2.1.1:
|
||||
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
|
||||
dependencies:
|
||||
boolbase: 1.0.0
|
||||
dev: false
|
||||
|
||||
/parse5-htmlparser2-tree-adapter/7.0.0:
|
||||
resolution: {integrity: sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==}
|
||||
dependencies:
|
||||
domhandler: 5.0.3
|
||||
parse5: 7.0.0
|
||||
dev: false
|
||||
|
||||
/parse5/7.0.0:
|
||||
resolution: {integrity: sha512-y/t8IXSPWTuRZqXc0ajH/UwDj4mnqLEbSttNbThcFhGrZuOyoyvNBO85PBp2jQa55wY9d07PBNjsK8ZP3K5U6g==}
|
||||
dependencies:
|
||||
entities: 4.3.0
|
||||
dev: false
|
||||
|
||||
/path/0.12.7:
|
||||
resolution: {integrity: sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=}
|
||||
dependencies:
|
||||
process: 0.11.10
|
||||
util: 0.10.4
|
||||
dev: false
|
||||
|
||||
/process/0.11.10:
|
||||
resolution: {integrity: sha1-czIwDoQBYb2j5podHZGn1LwW8YI=}
|
||||
engines: {node: '>= 0.6.0'}
|
||||
dev: false
|
||||
|
||||
/tslib/2.4.0:
|
||||
resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==}
|
||||
dev: false
|
||||
|
||||
/util/0.10.4:
|
||||
resolution: {integrity: sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==}
|
||||
dependencies:
|
||||
inherits: 2.0.3
|
||||
dev: false
|
Loading…
Reference in a new issue