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
// This goes in cypress/plugins/index.js | |
const AzureAdSingleSignOn = require('./azure-ad-sso/plugin').AzureAdSingleSignOn | |
module.exports = (on, config) => { | |
on('task', {AzureAdSingleSignOn:AzureAdSingleSignOn}) | |
} |
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 quotes = 0; | |
var maxLinks = 5; | |
var firstUrl = 'http://www.imdb.com/search/title?at=0&num_votes=5000,&sort=user_rating,desc&start=1&title_type=tv_infoss'; | |
var x = require('casper').selectXPath; | |
var fs = require('fs'); | |
var utils = require('utils'); | |
var casper = require('casper').create({ | |
verbose: true, |
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.Linq; | |
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Table; | |
using Elmah; | |
using System.Collections; | |
using Microsoft.WindowsAzure.ServiceRuntime; | |
namespace YouApplicationNameHere | |
{ |
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
module Fizzbuzz | |
open System | |
let rangeOfNumbers = [1..100] | |
let isDivisible number x = (x % number) = 0 | |
let fizzAndBuzz x = (isDivisible(3) x && isDivisible(5) x) | |
let answer (number:int) = |
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.Configuration; | |
using System.Linq; | |
using CachingFramework.Redis; | |
using WebApi.OutputCache.Core.Cache; | |
namespace Some.Cool.NameSpace.Goes.Here | |
{ | |
/// <summary> |
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
<html> | |
<head> | |
<script src="http://rsvpjs-builds.s3.amazonaws.com/rsvp-latest.js"></script> // "rsvp-latest.js" | |
// Live example at http://jsfiddle.net/Elvislives/XVv3G/3/ | |
<title>File Reader With Promises RSVP and LocalStorage</title> | |
<style type="text/css"> | |
</style> | |
</head> | |
<body> |
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 exec = require("child_process").exec; | |
function start(response) { | |
console.log("Request handler 'start' was called."); | |
// find all Excel files recursively | |
exec("dir C:\\ *.xls /s", | |
{ timeout: 10000, maxBuffer: 20000*1024 }, | |
function (error, stdout, stderr) { | |
response.writeHead(200, {"Content-Type": "text/plain"}); |
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.Data.SqlClient; | |
using System.Linq; | |
using Dapper; | |
using Xunit; | |
namespace Dapper.Testing | |
{ | |
public class DapperyQueryTest | |
{ |
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 AzureContrib.WindowsAzure.StorageClient; | |
using Microsoft.WindowsAzure; | |
using Microsoft.WindowsAzure.StorageClient; | |
using Xunit; | |
namespace Tests.Azure | |
{ | |
public class AzureIntegrationTests | |
{ |
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
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/@KeyIndexDefined">True</s:Boolean> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Description/@EntryValue">RavenDB Index</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4CE831FF9AED4846BFBEB870FD43C301/Text/@EntryValue">using System.Linq;
 | |
using Raven.Client.Indexes;
 | |

 | |
namespace $Namespace$
 | |
{
 | |
public class $ClassName$ : AbstractIndexCreationTask<$ClassIndexFor$, $ClassName$.ReduceResult>
 | |
{
 |
NewerOlder