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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
var irc = require('irc'); | |
var client = new irc.Client( | |
'irc.freenode.net', | |
'nodemotion', | |
{ | |
channels: ['##blackhats'] | |
} | |
); |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
var box = blessed.box({ | |
bottom: 0, | |
left: 'center', | |
height: 5, | |
width: '100%', | |
content: 'Hello {bold}world{/bold}', | |
tags: true, |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
var box = blessed.box({ | |
bottom: 0, | |
left: 'center', | |
height: 3, | |
width: '100%', | |
tags: true, | |
}); |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
var box = blessed.box({ | |
bottom: 0, | |
left: 'center', | |
height: 3, | |
width: '100%', | |
tags: true, | |
}); |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
var box = blessed.box({ | |
bottom: 0, | |
left: 'center', | |
height: 3, | |
width: '100%', | |
tags: true, | |
}); |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
var irc = require('irc'); | |
var client = new irc.Client('irc.esper.net', 'nodecli', { | |
channels: ['#smth'], | |
}); | |
var box = blessed.box({ | |
bottom: 0, |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
// FOR THE GLORY OF THE LOG | |
var fs = require('fs'); | |
var log = require('npmlog'); | |
var stream = fs.createWriteStream('loggit.duh'); | |
log.stream = stream; | |
log.heading = "node irclient"; |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
// FOR THE GLORY OF THE LOG | |
var fs = require('fs'); | |
var log = require('npmlog'); | |
var stream = fs.createWriteStream('loggit.duh'); | |
log.stream = stream; | |
log.heading = "node irclient"; |
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
var blessed = require('blessed'); | |
var screen = blessed.screen(); | |
// FOR THE GLORY OF THE LOG | |
var fs = require('fs'); | |
var log = require('npmlog'); | |
var stream = fs.createWriteStream('loggit.duh'); | |
log.stream = stream; | |
log.heading = "node irclient"; |
OlderNewer