Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| select.form-control + .chosen-container.chosen-container-single .chosen-single { | |
| display: block; | |
| width: 100%; | |
| height: 34px; | |
| padding: 6px 12px; | |
| font-size: 14px; | |
| line-height: 1.428571429; | |
| color: #555; | |
| vertical-align: middle; | |
| background-color: #fff; |
| 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> |
| 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'); | |
| /* | |
| * Copyright 2014 Google Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| <%@ Page Language="C#" AutoEventWireup="true" %> | |
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head runat="server"> | |
| <title>ASP.NET WebForms Validators & Bootstrap</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" /> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css" /> |
| .\scriptParam.ps1 | |
| ----------------- | |
| Param ( | |
| [array] $myArray | |
| ) | |
| foreach($foo in $myArray) | |
| { | |
| Write-Host "Value $foo" | |
| } |
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
| using System; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace MyNamespace | |
| { | |
| public class Debouncer : IDisposable | |
| { | |
| private readonly CancellationTokenSource cts = new CancellationTokenSource(); | |
| private readonly TimeSpan waitTime; |