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
--Deploy Package to Site defined in package parameters.xml | |
msdeploy -source:package=MyPackage.zip -dest:auto -verb:sync | |
--PSake | |
task deploy -depends package { | |
$p = "$packages_dir\$package"; | |
exec { & .\$msdeploy "-source:package=$p" "-dest:auto" "-verb:sync" } | |
} |
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
--reset after .gitignore change | |
git rm -r --cached . | |
git add . | |
git commit -a -m "M" | |
--prune remote | |
git fetch -p | |
--branch delete safe (ensures changes branch b are already in the current branch) |
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.Linq.Expressions; | |
using MedTest.Infrastructure.Entitys; | |
using NHibernate; | |
using NHibernate.Linq; | |
using MedTest.Infrastructure.NHibernate; | |
namespace MedTest.Core.Domain.Employees.Query |
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.Linq.Expressions; | |
using System.Text; | |
using NHibernate; | |
using NHibernate.Linq; | |
namespace Test.Core.Domain | |
{ |
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
begin tran | |
declare @count int | |
set @count = 0 | |
while (@count < 40) | |
begin | |
insert into dbo.Inventory VALUES ('' + CONVERT(varchar, @count) , 1000) |
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
<div class="container"> | |
<div class="sixteen columns"> | |
<h1 class="remove-bottom" style="margin-top: 40px">Mike Larned</h1> | |
<h5>[email protected]</h5> | |
<hr /> | |
</div> | |
<div class="sixteen columns"> | |
<h3>A Free Blog with GitHub Pages and Skeleton</h3> | |
<div> | |
<p>Gotta love free stuff. You can setup a mini blog using <a href='http://pages.github.com/'>GitHub Pages</a> and the <a href='http://www.getskeleton.com/'>Skeleton</a> template in about 10 minutes. Skeleton is a boilerplate html template |
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> | |
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> | |
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> | |
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> | |
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> | |
<head> | |
<!-- Basic Page Needs | |
================================================== --> | |
<meta charset="utf-8"> |
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> | |
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> | |
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> | |
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> | |
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> | |
<head> | |
<!-- Basic Page Needs | |
================================================== --> | |
<meta charset="utf-8"> |
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
public class BootStrapper | |
{ | |
public static void MultiTenant(IContainerResolver containerResolver, ITenantSelector tenantSelector) | |
{ | |
ObjectFactory.Configure(x => | |
{ | |
x.For<IContainerResolver>().Use(containerResolver); | |
x.For<ITenantSelector>().Use(tenantSelector); | |
}); |
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.Linq.Expressions; | |
using NHibernate; | |
using NHibernate.Linq; | |
namespace BMobile.Infrastructure.Entitys | |
{ | |
public class Repository : IRepository |