This file contains 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 characters
class Pixel { | |
constructor(options = {}) { | |
this.character = options.character || null; | |
this.color = options.color || null; | |
this.background = options.background || null; | |
} | |
merge(pixel) { | |
if (pixel.character !== null) { | |
this.character = pixel.character; |
This file contains 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 characters
//wget.js - similar to wget but written in vbscript | |
//based on a script by Chrissy LeMaire | |
//forked by Bit | |
var shell = new ActiveXObject("WScript.shell"); | |
//Usage | |
if (WScript.Arguments.length < 1) { | |
shell.Popup("Usage: wget.js <url> (file)"); | |
WScript.Quit(); |