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.ComponentModel.DataAnnotations; | |
namespace Regularly.DomainObjects | |
{ | |
public abstract class DomainObject | |
{ | |
protected DomainObject() | |
{ | |
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; | |
namespace Aperea.iCalendar | |
{ | |
public class Calendar | |
{ | |
public void SetTime(DateTime dateTime) | |
{ | |
} |
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.Web.Mvc; | |
namespace NewInMVC3.ModelBinder | |
{ | |
public class GenericModelBinderProvider : IModelBinderProvider | |
{ | |
public IModelBinder GetBinder(Type modelType) | |
{ | |
var genericType = typeof (IModelBinder<>).MakeGenericType(modelType); |
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.Web.Mvc; | |
using StructureMap.Configuration.DSL; | |
using StructureMap.Graph; | |
namespace NewInMVC3.Infrastructure | |
{ | |
internal class ControllerRegistryConvention : IRegistrationConvention | |
{ | |
public void Process(Type type, Registry registry) |
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
# --- settings --- | |
$feedUrl = $Args[0] | |
$url = New-Object System.Uri($feedUrl) | |
$overwrite = $false | |
$destinationDirectory = join-path "C:\Channel9\" $url.Segments[-2] | |
# Download filter options | |
# "_high_ch9\.mp4" - High quality mp4 | |
# "_low_ch9\.mp4" - Low quality mp4 |
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 FakeItEasy; | |
using Machine.Fakes; | |
using Machine.Specifications; | |
using UserGroup.Web.Models; | |
using UserGroup.Web.Services; | |
namespace UserGroup.Web.Specs.Models | |
{ | |
public class ANewWebUser : BehaviorConfigBase | |
{ |
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 attendees = repository.GetAttendess(); | |
var registrations = repository.GetRegistrationsForMeeting(meetingId, searchTerm); | |
var query = from registration in registrations | |
join attendee in attendees on registration.WebUser equals attendee.WebUser | |
orderby registration.Updated | |
select new MeetingListProjection | |
{ | |
UserID = registration.WebUser.ID, |
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.camplogo | |
{ | |
text-align: center; | |
position: absolute; | |
background: rgba(255, 255, 255, 0.5); | |
width: 240px; | |
height: 116px; | |
left: 75px; | |
top: 0px; | |
z-index: 1; |
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 Raven.Client; | |
using Raven.Client.Document; | |
namespace Aperea.Infrastructure.Data | |
{ | |
public class DocumentSessionFactory : IDocumentSessionFactory | |
{ | |
readonly DocumentStore _documentStore; | |
public DocumentSessionFactory() |
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
cd %windir%\Microsoft.NET\Framework\v4.0.30319 | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Blend.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Code.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.DesignModel.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.DesignSurface.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Extensibility.Designer.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Extensibility.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Extensibility.Project.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Framework.dll" | |
ngen uninstall "%ProgramFiles(x86)%\Microsoft Expression\Blend 4\Microsoft.Expression.Importers.dll" |
OlderNewer