This file contains hidden or 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.Collections.Generic; | |
using System.Linq; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using Toopsie.Parsers; | |
namespace Toopsie.Specs | |
{ | |
[TestClass] | |
public class PatternMatchFizzbuzz | |
{ |
This file contains hidden or 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(blogconverter) | |
-export([convert/2,convert/3]) | |
convert(UrlFrom,UrlTo) -> | |
convert(UrlFrom,UrlTo,jekyll); | |
convert(UrlFrom,UrlTo,Format) -> | |
savePosts(fetchPosts(UrlFrom),UrlTo,Format). | |
fetchPosts(Url) -> |
This file contains hidden or 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 CustomResponseHandler : DelegatingHandler | |
{ | |
public List<Func<HttpRequestMessage, HttpResponseMessage>> ContentProviders { get; private set; } | |
public CustomResponseHandler() | |
{ | |
ContentProviders = new List<Func<HttpRequestMessage, HttpResponseMessage>>(); | |
ContentProviders.Add(GetResult); | |
} |
This file contains hidden or 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 Microsoft.VisualStudio.TestTools.UnitTesting; | |
using Shouldly; | |
using System; | |
using System.Net; | |
using System.Net.Security; | |
namespace NetVCR.Specs | |
{ | |
[TestClass] | |
public class Verify_basic_proxy_functionality |
This file contains hidden or 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
Client = require './client' | |
System = require './system' | |
should = require 'should' | |
client = new Client() | |
system = new System() | |
Feature "Authentication", | |
"As a site owner", |
This file contains hidden or 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
Browser = require('zombie') | |
class Client | |
is_defined = (what) -> what != null && typeof what isnt 'undefined' | |
constructor: (base) -> | |
@base = base | |
@browser = new Browser() |
This file contains hidden or 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
Microsoft Windows [versie 6.1.7601] | |
Copyright (c) 2009 Microsoft Corporation. Alle rechten voorbehouden. | |
C:\data>npm install phantomjs | |
npm http GET https://registry.npmjs.org/phantomjs | |
npm http 200 https://registry.npmjs.org/phantomjs | |
npm http GET https://registry.npmjs.org/phantomjs/-/phantomjs-1.8.2-0.tgz | |
npm http 200 https://registry.npmjs.org/phantomjs/-/phantomjs-1.8.2-0.tgz | |
npm http GET https://registry.npmjs.org/unzip | |
npm http GET https://registry.npmjs.org/rimraf |
This file contains hidden or 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
set path=%path%;c:\Program Files\erl5.10.1\bin |
This file contains hidden or 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(bus). | |
-compile(export_all). | |
% Public interface | |
start(RouteResolver) -> | |
Pid = spawn_link(?MODULE,loop,{RouteResolver,dict:new()}), | |
register(bus,Pid). | |
stop() -> |
This file contains hidden or 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
Keywords zijn: | |
- C# 4.0 | |
- Linq | |
- ASP.NET MVC 2 & 3 | |
- Javascript | |
- HTML | |
- XML | |
- Ajax | |
- Jquery | |
- JSON |