The commands below assume you're using a user that can use sudo
, you're not logged in as root are you!?
First create a btsync user:
sudo useradd -M --shell /bin/false --home /var/lib/btsync
test("Component Unload Tests", function() { | |
var componentTestCount = 10; | |
var components = [] | |
for (var i = 0; i <= componentTestCount - 1; i++) { | |
components.push(new DeepElement.ThreeOneFour.Component()); | |
} | |
var comonentLoader = new DeepElement.ThreeOneFour.Helpers.ComponentLoader( | |
components); |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Web.Mvc; | |
using LightningMVC.Views; | |
namespace Views | |
{ | |
public abstract class CoreViewModel |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Routing; | |
using LightningMVC.Views; | |
using Views; | |
namespace LightningMVC.Controllers |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using LightningMVC.Common.Container; | |
using Views; | |
namespace LightningMVC.Views | |
{ | |
public class ViewModelLocator |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Web; | |
using System.Web.Mvc; | |
using LightningMVC.Common.Container; | |
using LightningMVC.Services; | |
namespace LightningMVC.Code |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
namespace LightningMVC.Code | |
{ | |
public class MVVMRazorViewEngine : RazorViewEngine | |
{ |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Security; | |
using LightningMVC.Views.LogOn; | |
namespace LightningMVC.Controllers | |
{ |
@model LightningMVC.Views.LogOn.LogOnViewModel | |
@{ | |
Layout = "~/Views/Shared/MasterLayout/MasterLayoutView.cshtml"; | |
} | |
@using (Html.BeginForm("Logon", "Authentication", FormMethod.Post)) | |
{ | |
<h2>Login</h2> | |
<table> | |
<tr> | |
<td>Username: </td> |
/** | |
* Backbone-relational.js 0.5.0 | |
* (c) 2011 Paul Uithol | |
* | |
* Backbone-relational may be freely distributed under the MIT license. | |
* For details and documentation: https://github.com/PaulUithol/Backbone-relational. | |
* Depends on (as in, compeletely useless without) Backbone: https://github.com/documentcloud/backbone. | |
*/ | |
(function(undefined) { | |
/** |