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 mysql = require('mysql'); | |
var bodyParser = require('body-parser'); | |
var methodOverride = require('method-override'); | |
var morgan = require('morgan'); | |
var cors = require('cors'); | |
var health = require('express-ping'); | |
var connection = require('express-myconnection'); | |
var json2csv = require('nice-json2csv'); |
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 bodyParser = require('body-parser'); | |
var methodOverride = require('method-override'); | |
var morgan = require('morgan'); | |
var cors = require('cors'); | |
var config = require('./config'); | |
var middleware = require('./source/middleware'); | |
var logger = require('./source/utils/logger'); | |
var auth = require('./source/utils/auth'); |
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 data = require('./source/data'); | |
var app = express(); | |
var port = process.env.PORT || 3036; | |
data.boot(env, function (err) { | |
if (err) { | |
app.emit('error', err); | |
throw err; |
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
undefined:3 | |
return function bound dispatch(req, res, next) { | |
^^^^^^^^ | |
SyntaxError: Unexpected identifier | |
at Function (native) | |
at wrapHandle (/Users/alexanderbeletsky/Development/Projects/mylorry/health-point/node_modules/newrelic/lib/instrumentation/express.js:277:19) | |
at Function.cls_wrapMiddlewareStack [as use] (/Users/alexanderbeletsky/Development/Projects/mylorry/health-point/node_modules/newrelic/lib/instrumentation/express.js:319:24) | |
at EventEmitter.<anonymous> (/Users/alexanderbeletsky/Development/Projects/mylorry/health-point/node_modules/express/lib/application.js:219:21) | |
at Array.forEach (native) |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
using System.Web.Mvc; | |
namespace Web.Areas.Public | |
{ |
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
namespace Web.Areas.Public | |
{ | |
public partial class Public : System.Web.Mvc.ViewMasterPage | |
{ | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
} | |
} | |
} |
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
<head runat="server"> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<link rel="stylesheet" href="Content/public.css" type="text/css" media="all" /> | |
<script src="<%: Url.Content("~/Scripts/jquery-1.4.1.min.js") %>" type="text/javascript"></script> |
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
@echo off | |
SET database.name="${database.name}" | |
SET sql.files.directory="%DIR%..\${folder.database}" | |
SET server.database="${server.database}" | |
SET repository.path="${repository.path}" | |
SET version.file="${file.version}" | |
SET version.xpath="//buildInfo/version" | |
SET environment="${environment}" |
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
[Test] | |
public void UpdateAccountingYearTemplate() | |
{ | |
using (var fixture = new FixtureInit(@"http://localhost")) | |
{ | |
//INIT | |
var data = new PeriodsData(fixture.Context); | |
var setup = fixture.Setup; | |
//ACT |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Trackyourtasks.Core.DAL.DataModel; | |
namespace Trackyourtasks.Core.DAL.Repositories | |
{ | |
/// <summary> | |
/// Repository of Blog posts |