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
{ | |
"room": { | |
"id": { | |
"-type": "integer", | |
"#text": "55" | |
}, | |
"title": "2 bedroom available in chelsea", | |
"type": "apartment", | |
"url": "http://k.keyade.com/kack/1/?kaPt=custom&kaTckM=da&kaPcId=97622&kaTckId=59421&kaRdt=https%3A%2F%2Fwww.roomorama.com%2Fshort-term-rentals%2Fnew-york%2Flower-manhattan%2Fapartment%2F55%3Fchannel%3Doutpost%26utm_medium%3Daffiliate%26utm_source%3Doutpost", | |
"num_rooms": { |
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
<users> | |
<user id='1'> | |
<firstname>Jordan</firstname> | |
<lastname>Hubscher</lastname> | |
<username>jhub</username> | |
<phone>(514) 696-1886</phone> | |
<email>jordanhubscher@gmail.com</email> | |
</user> | |
<user id='2'> | |
<firstname>Emily</firstname> |
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
{ | |
"users": { | |
"user": { | |
1: { | |
"firstname": "Jordan", | |
"lastname": "Hubscher", | |
"username": "jhub", | |
"phone": "(514) 696-1886", | |
"email": "jordanhubscher@gmail.com" | |
}, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Riders Against Hunger 2014 Motorcycle Poker Run Registration</title> | |
<meta content="width=device-width, initial-scale=1.0" name="viewport"> | |
<!-- <link rel="stylesheet" href="http://cdn.jsdelivr.net/flat-ui/2.0/css/flat-ui.css"> --> | |
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
<style> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Riders Against Hunger 2014 Motorcycle Poker Run Registration</title> | |
<meta content="width=device-width, initial-scale=1.0" name="viewport"> | |
<!-- <link rel="stylesheet" href="http://cdn.jsdelivr.net/flat-ui/2.0/css/flat-ui.css"> --> | |
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
<style> |
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'); | |
var path = require('path'); | |
var views = ('../views/'); | |
var extension = ''; | |
var fetchHTML = function(filename, callback) { | |
fs.readFile(views+filename+extension, {encoding: 'utf-8'}, function(err,data){ | |
if (!err){ | |
// Do something to the data |
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'); | |
var path = require('path'); | |
var views = ('/views/'); | |
var extension = ''; | |
var fetchHTML = function(filename, json, callback) { | |
fs.readFile(__dirname + views + filename + extension, { | |
encoding: 'utf-8' | |
}, function(err, data) { |
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 express = require('express'); | |
var helpers = require('./helpers'); | |
var app = express(); | |
app.use('/', function(req, res) { | |
helpers.fetchHTML('index', { | |
name: 'Hamed' | |
}, function(err, data) { |
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
Mutex file:${APACHE_LOCK_DIR} default | |
PidFile ${APACHE_PID_FILE} | |
Timeout 300 | |
KeepAlive On | |
MaxKeepAliveRequests 100 | |
KeepAliveTimeout 5 | |
User ${APACHE_RUN_USER} | |
Group ${APACHE_RUN_GROUP} |
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
[dasboard-1 (err) 2014-06-16T17:47:07] Error: Failed to load template /root/das-board/views/ect/getservice.ect | |
[dasboard-1 (err) 2014-06-16T17:47:07] at read (/root/das-board/node_modules/ect/lib/ect.js:67:13) | |
[dasboard-1 (err) 2014-06-16T17:47:07] at [object Object].TemplateContext.load (/root/das-board/node_modules/ect/lib/ect.js:334:12) | |
[dasboard-1 (err) 2014-06-16T17:47:07] at [object Object].TemplateContext.render (/root/das-board/node_modules/ect/lib/ect.js:368:25) | |
[dasboard-1 (err) 2014-06-16T17:47:07] at [object Object].render (/root/das-board/node_modules/ect/lib/ect.js:421:20) | |
[dasboard-1 (err) 2014-06-16T17:47:07] at /root/das-board/routes/getservice.js:117:28 | |
[dasboard-1 (err) 2014-06-16T17:47:07] at /root/das-board/node_modules/async/lib/async.js:254:17 | |
[dasboard-1 (err) 2014-06-16T17:47:07] at done (/root/das-board/node_modules/async/lib/async.js:135:19) | |
[dasboard-1 (err) 2014-06-16T17:47:07] at /root/das-board/node_modules/async/lib/async.js:32:16 | |
[dasboard-1 (err) 2014-06-16T17 |
OlderNewer