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
val remove_card_tests = start_string | |
val should_thrown_exception_if_not_in_list = | |
assert_raise ((fn y => remove_card ([(Spades, Jack), (Hearts, Num 5)], (Diamonds, Num 4), CardNotFound)), CardNotFound) | |
val removes_first_entry_if_in_list = | |
assert_equal([(Diamonds, Num 8), (Spades, Jack), (Hearts, Ace)], | |
remove_card ([(Hearts, Ace), (Diamonds, Num 8), (Spades, Jack), (Hearts, Ace)], (Hearts, Ace), CardNotFound), | |
card_list_formatter) |
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
private string _connectionStringKey = "MyCloudStorage"; | |
private string _containerName = "mycontainer"; // important with lower case letters | |
public ActionResult Index() | |
{ | |
ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application."; | |
var files = GetFiles(); | |
return View(model: files); | |
} |
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
var express = require("express"); | |
/* Reimplement this function to answer questions. */ | |
var myName = function(matches) { | |
return "Tomas"; | |
}; | |
var yourName = function(matches) { | |
return matches[1]; |
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
App = Ember.Application.create(); | |
App.Router.map(function() { | |
// put your routes here | |
}); | |
App.IndexRoute = Ember.Route.extend({ | |
model: function(){ | |
return App.IndexModel.create(); | |
} |
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; | |
using System.Collections.Generic; | |
using System.ComponentModel.Design; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace CQRSDemo | |
{ |
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
Non-authoritative answer: | |
Name: waws-prod-db3-003.cloudapp.net | |
Address: 137.135.129.175 | |
Aliases: resharper-plugins.jetbrains.com | |
resharper-plugins.azurewebsites.net | |
waws-prod-db3-003.vip.azurewebsites.windows.net |
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
namespace Configurer | |
{ | |
public static class SomeThing | |
{ | |
public static string SomeString { get; set; } | |
} | |
public class PreApplicationStartCode | |
{ | |
public static void Start() |
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
namespace HelloOwin | |
{ | |
using System; | |
using Microsoft.Owin.Hosting; | |
using Owin; | |
using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>; | |
class Program | |
{ | |
static void Main(string[] args) |
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; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Threading.Tasks; | |
using Nowin; | |
namespace HelloNowin | |
{ | |
using AppFunc = Func<IDictionary<string, object>, Task>; |
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
Param([string]$ServerUrl, | |
[string]$ProjectName, | |
[string]$EnvironmentName, | |
[string]$Version, | |
[string]$RootUrl, | |
[string]$OctoApiKey) | |
Write-Host "Server url: $ServerUrl" | |
Write-Host "Project name: $ProjectName" | |
Write-Host "Environment name: $EnvironmentName" |