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.Identity.EntityFramework; | |
using Microsoft.Owin.Security; | |
using Microsoft.Owin.Security.OAuth; | |
using Pollen.Radar.Model; | |
using Pollen.Radar.Service; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Claims; | |
using System.Threading.Tasks; |
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
angular | |
.module('ng') | |
.filter('truncate', function () { | |
/** | |
* @param {boolean} wordwise - if true, cut only by words bounds | |
* @param {string} max - max length of the text, cut to this number of chars | |
* @param {string} tail - add this string to the input string if the string was cut | |
*/ | |
return function (value, wordwise, max, tail) { | |
if (!value) return ''; |
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
function Get-RandomDateBetween{ | |
<# | |
.EXAMPLE | |
Get-RandomDateBetween -StartDate (Get-Date) -EndDate (Get-Date).AddDays(15) | |
#> | |
[Cmdletbinding()] | |
param( | |
[parameter(Mandatory=$True)][DateTime]$StartDate, | |
[parameter(Mandatory=$True)][DateTime]$EndDate | |
) |
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"?> | |
<configuration> | |
<system.web> | |
<compilation debug="true" targetFramework="4.5" /> | |
<httpRuntime targetFramework="4.5" /> | |
</system.web> | |
<system.webServer> | |
<rewrite> | |
<rules> |
NewerOlder