- 7:00AM: Breakfast
- 8:00AM
- Six Degrees of Dev’n – How Graph Databases Can Save Your Bacon by JEFFREY MILLER
- Node.js Crash Course by DAVID NEAL
- Docker in production? Done that, what’s next? by FRED SIMON
- CQRS 2.0 by DAVID HOERSTER
- Software In Motion: Continuous Delivery for Mobile by DAVID TRUXALL
- 9:15AM
This file contains hidden or 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 Microsoft.AspNet.Mvc.ApplicationModels; | |
using Microsoft.AspNet.Mvc.ModelBinding; | |
using System; | |
namespace Foo.Web.Infrastructure.Conventions | |
{ | |
public class ComplexTypeConvention : IActionModelConvention | |
{ | |
public void Apply(ActionModel action) | |
{ |
This file contains hidden or 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
$folder = $OctopusParameters["app-directory"] | |
$packagePath = $OctopusParameters["Octopus.Action[Extract App Package].Output.Package.InstallationDirectoryPath"] | |
Remove-Item "$folder\*" -Recurse -Force | |
Copy-Item $packagePath -Destination $folder -Recurse | |
$tempFolder = "$folder\$((dir $folder | select -First 1).Name)" | |
Copy-Item "$tempFolder\*" -Destination "$folder" -Recurse | |
Remove-Item "$tempFolder" -Recurse -Force |
This file contains hidden or 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
... | |
jspm_packages\npm\[email protected]\lib\lib.webworker.d.ts(558,5): error TS2300: | |
Duplicate identifier 'objectStore'. | |
jspm_packages\npm\[email protected]\lib\lib.webworker.d.ts(559,5): error TS2300: | |
Duplicate identifier 'unique'. | |
jspm_packages\npm\[email protected]\lib\lib.webworker.d.ts(573,5): error TS2300: | |
Duplicate identifier 'lower'. | |
jspm_packages\npm\[email protected]\lib\lib.webworker.d.ts(574,5): error TS2300: | |
Duplicate identifier 'lowerOpen'. |
This file contains hidden or 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
MATCH (agency:Agency { name:"Agency-A" })-[:ACQUIRED]->(actor:Person)<-[:EMPLOYED]-(movie:Movie) | |
WITH DISTINCT movie, collect(actor) AS actors | |
MATCH (movie)-[:EMPLOYED]->(allemployees:Person) | |
WITH movie, actors, count(allemployees) AS c | |
WHERE c = size(actors) | |
RETURN movie.name |
This file contains hidden or 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
services.AddScoped<FoursquareContext>(provider => | |
{ | |
var bonVoyageContext = provider.GetService<BonVoyageContext>(); | |
var httpContextAccessor = provider.GetService<IHttpContextAccessor>(); | |
var accessToken = httpContextAccessor.HttpContext.User.FindFirstValue("access_token"); | |
return bonVoyageContext.CreateFoursquareContext(accessToken); | |
}); |
This file contains hidden or 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
$ErrorActionPreference = 'Stop' | |
# Get-EventLog -List = get all the EventLog | |
# Get-EventLog system -Newest 3 = get latest 3 event logs | |
# Get-EventLog application | where { $_.Source -eq ".NET Runtime" } | select TimeWritten | |
$today = [DateTime]::UtcNow.Date | |
$todayMarker = $today.ToString("yyyy-MM-dd") | |
$file = "application-dotnet-runtime-$todayMarker" | |
$todayFilePath = "$PSScriptRoot\$file.txt" |
This file contains hidden or 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 mongoDatabase1 = ConfigureAndGetMongoDatabase(); | |
var racesCollection = mongoDatabase1.GetCollection<RaceEntity>("races"); | |
racesCollection.Drop(); | |
DateTimeZone london = DateTimeZoneProviders.Tzdb["Asia/Istanbul"]; | |
LocalDateTime local = new LocalDateTime(1955, 3, 15, 0, 45, 00); | |
ZonedDateTime londonTime = london.AtStrictly(local); | |
var race = new RaceEntity("foo", londonTime, "bar"); | |
try |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
This file contains hidden or 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.Immutable; | |
using System.IO; | |
using System.Reflection; | |
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.Diagnostics; | |
using Microsoft.Dnx.Compilation.CSharp; | |
using Microsoft.Dnx.Runtime; | |
public class AnalyzersCompilationModule : ICompileModule |