This file contains 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
<add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/bundles/" /> |
This file contains 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
// The fact that user actor is created using the props does not mean | |
// anything as it needs to be registered with the system to know about it. | |
Props demoActorRef = Props.Create<MyDemoActor>(); | |
// Lets register the actor with the system | |
IActorRef actorRef = BulkProcessingSystem.ActorOf(demoActorRef, "DemoActor"); | |
// Send message to the actor | |
actorRef.Tell("Akka.net rocks"); |
This file contains 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
Feature: Calculator | |
In order to avoid silly mistakes | |
As a math idiot | |
I want to be told the sum of two numbers | |
@mytag | |
Scenario: Add two numbers | |
Given I have entered 50 into the calculator | |
And I have also entered 70 into the calculator | |
When I press add |
This file contains 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 DemoClass | |
{ | |
public string Message {get;set;} | |
} |
This file contains 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
<!-- Twitter Settings --> | |
<provider name="Twitter" type="Umbraco.Web.Media.EmbedProviders.OEmbedRich, umbraco"> | |
<urlShemeRegex><![CDATA[twitter\.com/]]></urlShemeRegex> | |
<apiEndpoint><![CDATA[https://api.twitter.com/1/statuses/oembed.xml]]></apiEndpoint> | |
<requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco"> | |
</requestParams> | |
</provider> |
This file contains 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 ActorSystemRefs | |
{ | |
public static Akka.Actor.ActorSystem ActorSystem; | |
} |
This file contains 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 ng-app="Demo"> | |
<head> | |
<meta charset="utf-8" /> | |
<title> | |
Monitoring $http Activity With $http Interceptors In AngularJS | |
</title> | |
<link rel="stylesheet" type="text/css" href="./demo.css"></link> |
This file contains 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
###################################### | |
# Ignore .cpp files in the ProjA sub-folder and all its subfolders | |
ProjA\*.cpp | |
# | |
# Ignore .txt files in this folder | |
\*.txt | |
# | |
# Ignore .xml files in this folder and all its sub-folders | |
*.xml | |
# |
This file contains 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
Statistical analysis of page load speed data collected using the Navigation Timing API shows that an HTTP request can be reasonably approximated to 0.5 seconds. | |
Permalink to this heading. | |
Introduction | |
Whilst newer browsers implement a timing API that can give the time for a request including network latency, this is not available in all browsers. In browsers that do not support the timing API it is only possible, using on page JavaScript, to measure the time taken from the start of the DOM loading to a subsequent event - such as DOM ready. Using information from browsers that support the timing API it is possible to measure both the time from request to DOM ready and the time from DOM start to DOM ready and establish a relationship such that request_time = multiplier x dom_time + constant. Once this relationship is known it can be applied when only the DOM loading to ready time is available to estimate the full request time. | |
Permalink to this heading. | |
Method | |
From visitors that were using a browser that had |
This file contains 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
<a href="#" ng-click="doSomeAction()">some action</a> |