diff --git a/random/README b/random/README new file mode 100644 index 0000000000000000000000000000000000000000..6096970a1202e1b3ddbc1376b459b4adb99f67f7 --- /dev/null +++ b/random/README @@ -0,0 +1,4 @@ +Random 'replace' creator +======================== + +Because resynth1943 doesn't understand flex \ No newline at end of file diff --git a/random/random.js b/random/random.js new file mode 100644 index 0000000000000000000000000000000000000000..2e7ac3684b2d557dc7c2338bfca5b28f8bff173d --- /dev/null +++ b/random/random.js @@ -0,0 +1,19 @@ +const fs = require('fs'); +const path = require('path'); +const words = fs.readFileSync(path.resolve(__dirname, './words.txt'), 'utf8').split('\n'); + +for (const word of words) { + const filePath = path.resolve(__dirname, '../replace/', `./${word}.md`); + fs.writeFileSync(filePath, `\ +--- +layout: replace +title: ${word} +type: 'Anything, really' +--- + +# ${word} + +${word} is really cool dude +`); +console.log(`wrote ${word}.md`); +} diff --git a/random/words.txt b/random/words.txt new file mode 100644 index 0000000000000000000000000000000000000000..2a24b358b7b9cf8e7a79bfbb00b83a1d7dc6e1b5 --- /dev/null +++ b/random/words.txt @@ -0,0 +1,50 @@ +camara +camarada +camarade +camaraderie +camaraderies +Camarasaurus +Camarata +camarera +Camargo +camarilla +camarillas +Camarillo +camarin +camarine +camaron +Camas +camases +camass +camasses +Camassia +camata +camatina +camauro +camauros +Camaxtli +Camb +Camb. +Cambay +cambaye +Camball +Cambalo +Cambarus +camber +cambered +cambering +camber-keeled +cambers +Camberwell +Cambeva +Camby +cambia +cambial +cambiata +cambibia +cambiform +cambio +cambiogenetic +cambion +Cambyses +cambism \ No newline at end of file