I hereby claim:
- I am tompallister on github.
- I am tompallister (https://keybase.io/tompallister) on keybase.
- I have a public key ASBjcwGMdFgr2hue58-tKr7gIVyKXECkUc-5h2S8tEqx2wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"ReRoutes": [ | |
{ | |
"DownstreamPathTemplate": "/swagger", | |
"DownstreamScheme": "http", | |
"DownstreamHostAndPorts": [ | |
{ | |
"Host": "marketing", | |
"Port": 80 | |
} |
namespace Moonpig.PostalOptions.UnitTests | |
{ | |
using Xunit; | |
public class HelpHarold | |
{ | |
[Fact] | |
public void some_test() | |
{ | |
IFakeWebDriver webDriver = new FakeWebDriver(); |
//models | |
//run-summary | |
import DS from "ember-data"; | |
export default DS.Model.extend({ | |
projectName: DS.attr('string'), | |
startDate: DS.attr('string'), | |
rowSummaries: DS.hasMany('rowSummary'), | |
startDateFormatted: function(){ |
import Ember from "ember"; | |
import App from 'task-management/app'; | |
var DashboardRoute = Ember.Route.extend({ | |
setupController: function(controller, model) { | |
controller.set('model', model); | |
}, | |
model: function(aggregateId) { |
public static int CountFromIndex<T>(this List<T> inputList, int index) | |
{ | |
var countingList = new List<T>(); | |
for (int i = index; i < inputList.Count; i++) | |
{ | |
countingList.Add(inputList[i]); | |
} | |
return countingList.Count; | |
} |
//dont want (bad bad bad, but not the end of the world in most scenarios) | |
var someCotainer = _driver.FindElements(By.TagName("button")); | |
foreach (var element in someCotainer) | |
{ | |
if (element.GetAttribute("data-attribute-whatever") == "the product I want") | |
{ | |
element.Click(); | |
} | |
} |
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<style> | |
body { | |
background: white; | |
text-align: center; | |
padding: 20px; | |
font-family: Georgia, serif; |
using System; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzz | |
{ | |
[TestClass] | |
public class UnitTest1 | |
{ | |
//"Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” | |
//instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples |