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
#requires -Version 2 -Modules posh-git | |
function Write-Theme { | |
param( | |
[bool] | |
$lastCommandFailed, | |
[string] | |
$with | |
) |
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.Diagnostics.Eventing.Reader; | |
using System.Linq; | |
using System.Web.Mvc; | |
using Training.Web.Data; | |
using Training.Web.Entities; | |
namespace Training.Web.Controllers | |
{ |
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
# channel9 downloader, downloads complete channel9 videos from there rss feeds | |
# | |
# Features | |
# * Checks for allready downloaded files | |
# * use a tempfile to ensure full downloads | |
# * gives the download file a name based on the title of the rss entry in the feed | |
# * creates a proper directory structure | |
# * set the creation und modified date to the date in the rss entry | |
# | |
# by Albert Weinert http://der-albert.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
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" |
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
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
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
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
# --- 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 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) |
NewerOlder