If you're trying to do this, you came to the right place!
See this code in action here: https://twitter.com/CodingDoug/status/953031540811825152
- Create a Firebase project at the Firebase Console
If you're trying to do this, you came to the right place!
See this code in action here: https://twitter.com/CodingDoug/status/953031540811825152
.\scriptParam.ps1 | |
----------------- | |
Param ( | |
[array] $myArray | |
) | |
foreach($foo in $myArray) | |
{ | |
Write-Host "Value $foo" | |
} |
public static class HtmlRenderExtensions { | |
/// <summary> | |
/// Delegate script/resource/etc injection until the end of the page | |
/// <para>@via http://stackoverflow.com/a/14127332/1037948 and http://jadnb.wordpress.com/2011/02/16/rendering-scripts-from-partial-views-at-the-end-in-mvc/ </para> | |
/// </summary> | |
private class DelayedInjectionBlock : IDisposable { | |
/// <summary> | |
/// Unique internal storage key | |
/// </summary> |
open Microsoft.AspNetCore.Hosting | |
open Microsoft.Extensions.Hosting | |
open Giraffe | |
let webApp = GET >=> route "/" >=> text "Hello world" | |
[<EntryPoint>] | |
let main args = | |
Host.CreateDefaultBuilder(args) | |
.ConfigureWebHostDefaults(fun webBuilder -> |
angular.module('app', []).directive('ngDebounce', function($timeout) { | |
return { | |
restrict: 'A', | |
require: 'ngModel', | |
priority: 99, | |
link: function(scope, elm, attr, ngModelCtrl) { | |
if (attr.type === 'radio' || attr.type === 'checkbox') return; | |
elm.unbind('input'); | |