Skip to content

Instantly share code, notes, and snippets.

@xreader
xreader / gist:0e26f0a81997e2628382
Last active August 29, 2015 14:15
Create list from for not normal list of names in lj poll. For example here: http://www.livejournal.com/poll/?id=1998436&mode=results
/**
* to create list of names goto lj poll e.g. here http://www.livejournal.com/poll/?id=1998436&mode=results
* open console and run this code
*/
var names = document.getElementsByTagName('td');
var allnames = "";
for (var i in names) {
if (names[i].innerText && names[i].innerText.indexOf('--') >= 0 && names[i].innerText.indexOf(',') > 0) {
allnames += names[i].innerText;
}
info: Welcome to Nodejitsu xreader
info: jitsu v0.13.9, node v0.10.20
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
info: Creating snapshot 0.0.1-34
info Uploading: [=============================] 100%
error: Error running command deploy
error: npm exited with code 1
error: npm installation failed, please double check your package.json dependencies