Last active
April 25, 2017 20:21
-
-
Save nainglinaung/1131c4d71995b9b9aaa31671cccb6575 to your computer and use it in GitHub Desktop.
Revisions
-
nainglinaung renamed this gist
Apr 25, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
nainglinaung created this gist
Apr 25, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ var website = "http://shiroyukitranslations.com/lls-chapter-"; // <a href="http://shiroyukitranslations.com/long-live-summons/#tabs_desc_8329_4">Team</a> var fs = require('fs'); var stream = fs.createWriteStream("my_file.txt"); stream.once('open', function(fd) { for(i=1; i<465; i++) { stream.write('<a href="'+website+i+'">'+'Chapter '+i+'</a>'+"\n"); } });