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
public class DataTableNameConvention : | |
Convention | |
{ | |
public DataTableNameConvention( | |
IPluralizationService pluralizationService, | |
IDictionary<string, string> explicitNames) | |
{ | |
Types().Configure( | |
c => c.ToTable( | |
GetName(c.ClrType, pluralizationService, explicitNames)) |
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
<html> | |
<head> | |
<title>Testin</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.1/angular.min.js"></script> | |
</head> | |
<body ng-app="app" ng-controller="AppController"> | |
<input id="test" ng-model="dateInput" /> |
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
public static class Log | |
{ | |
public const string MessageFormat = "{0:mm:ss:ffff} [{1}]: {2}"; | |
public static readonly Delegate ToConsole | |
= l => (ex, f, a) => | |
{ | |
var m = string.Format(f, a); | |
Console.WriteLine( | |
MessageFormat, DateTime.UtcNow, l, m); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>forms</title> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script> | |
<style> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
... | |
<system.webServer> | |
... | |
<rewrite> | |
... | |
<rules> | |
... | |
<rule name="Redirect from WWW" stopProcessing="true"> |
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
# Put in the solution root and call with .\Update-Antix.ps1 | |
$startingWith = "Antix." | |
$projects = Get-Project -All | |
$packagesFound = @() | |
foreach($project in $projects) | |
{ | |
$path = Join-Path (Split-Path $project.FileName) packages.config | |
if(Test-Path $path) |
NewerOlder