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> | |
<head> | |
<title>Fade Test</title> | |
</head> | |
<body> | |
<p> | |
When you click this text it should fade out over one second, then back in over one second. | |
Works perfectly in Firefox, Chrome, Opera and IE8. |
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
@echo off | |
powershell.exe -command "$ErrorActionPreference='Stop'; & '%~dpn0.ps1' %*" | |
exit /b %ERRORLEVEL% |
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
POST /inferenceservice/v21/Pox/GetLocationUsingFingerprint HTTP/1.1 | |
Accept: */* | |
Accept-Language: en-au | |
Content-Type: text/xml | |
Accept-Encoding: gzip, deflate | |
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) | |
Host: inference.location.live.net | |
Content-Length: 1205 | |
Connection: Keep-Alive | |
Cache-Control: no-cache |
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
POST /inferenceservice/v21/Pox/GetLocationUsingFingerprint HTTP/1.1 | |
Accept: */* | |
Accept-Language: en-au | |
Content-Type: text/xml | |
Accept-Encoding: gzip, deflate | |
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) | |
Host: inference.location.live.net | |
Content-Length: 1756 | |
Connection: Keep-Alive | |
Cache-Control: no-cache |
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
using System; | |
using System.Collections.Generic; | |
using System.Web.Mvc; | |
using System.Web.Security; | |
using Facebook; | |
using MyFacebookSite3434.Models; | |
namespace MyFacebookSite3434.Controllers | |
{ | |
public class AccountController : Controller |
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
var testHarness = new TestHarness(); | |
var consoleTestProcessor = new ConsoleTestProcessor(); | |
testHarness.Processors.Add(consoleTestProcessor); | |
var fileSystemTestProcessor = new FileSystemTestProcessor(); | |
fileSystemTestProcessor.AddMockFile(@"c:\foo.txt", "bar"); | |
testHarness.Processors.Add(fileSystemTestProcessor); | |
var dateTimeProcessor = new DateTimeProcessor(new DateTime(2010, 01, 25)); |
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 WorkerEntryPoint : RoleEntryPoint | |
{ | |
public override bool OnStart() | |
{ | |
WaitForWindowsAzureDiagnosticsInfrastructureToCatchUp(); | |
try | |
{ | |
Trace.WriteLine("Worker role starting"); |
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
<div id="foo"><div class="bar">Baz</div></div> |
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
namespace SnowMaker | |
{ | |
static class DictionaryExtensions | |
{ | |
internal static TValue GetValue<TKey, TValue>( | |
this IDictionary<TKey, TValue> dictionary, | |
TKey key, | |
object dictionaryLock, | |
Func<TValue> valueInitializer) | |
{ |
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
p { | |
text-decoration: underline; | |
color: red; | |
} | |
p::selection { | |
background-color: yellow; | |
color: black; | |
} | |
p last:abbr { | |
font-weight: bold; |