Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Untapped dubs on this board

Name: Steve 2017-02-12 5:03

Sitting on a goldmine!

"use strict";

let fs = require("fs");

let file = fs.readFileSync("progrider.txt", "utf8").toString().split("\r\n");

let output = "";

for(let i = 0, n = file.length; i < n; i++)
{
try {
let pieces = file[i].split("\t");

let title = pieces[1];
let nextPost = (Number(pieces[2]) + 1).toString();

if(nextPost.length > 1 && nextPost.substring(nextPost.length - 1, nextPost.length) == nextPost.substring(nextPost.length - 2, nextPost.length - 1))
{
output += "TITLE: "+ title +" NEXT POST: "+ nextPost +"\r\n";
}
}
catch(e) { }
}

fs.writeFileSync("output.txt", output, "utf8");


TITLE: 2ch english if you will NEXT POST: 11
TITLE: C/C++ vs Good Language NEXT POST: 55
TITLE: Who needs functional programming... NEXT POST: 11
TITLE: Diversity on /prog/ NEXT POST: 33
TITLE: Elegance of Haskell NEXT POST: 22
TITLE: Haskell can't prove shit NEXT POST: 22

Here's your dilemma. If you use these dubs now, you will have used this shitty JS to acquire them.

Name: Anonymous 2017-02-13 1:13

Okay I have changed the game, made some alterations to the original code. Check this one out.

Check my 19. Read THIS and weep, fellas.

(so terribly sorry if my first 19 post was a failure)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List