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.Web.Mvc; | |
using System; | |
using System.Globalization; | |
using System.Linq; | |
// Resolving view engine is reflected out from the default WebFormsViewEngine | |
// with extra hooks for a resolver | |
// device detection makes use of http://mdbf.codeplex.com/ and query string magic |
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.Globalization; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Text; | |
using System.Web.Mvc; | |
namespace Extensions | |
{ | |
public static class HtmlHelperExtensions |
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
<?php | |
include_once 'JustGivingClient.php'; | |
include_once 'ApiClients/Model/CreateAccountRequest.php'; | |
function WriteLine($string) | |
{ | |
echo $string . "<br/>"; | |
} | |
$ApiLocation = "https://api.staging.justgiving.com/"; |
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 featuerset | |
{ | |
public class SomeConsumingClass | |
{ | |
public void RenderEndUserAccountView() | |
{ | |
var configService = new ServiceThatBringsBackFeatures(); | |
var featureConfig = configService.GetFeatures("RaceForLife"); | |
if(!featureConfig.Features.EndUserAccount.EmailTool.Enabled) |
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 sys = require('sys'), http = require('http'); | |
http.createServer(function (req, res) { | |
var user = '[email protected]'; | |
var password = 'password'; | |
var auth = new Buffer(user + ':' + password).toString('base64'); | |
var client = http.createClient(80, 'api.staging.justgiving.com', true); | |
var request = client.request('GET', '/decbf1d2/v1/fundraising/pages/nodejs-example/donations', { |
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
<html> | |
<head> | |
<title>My Kickass JustGiving search</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | |
</head> | |
<body> | |
JustGiving AJAX Search Quick Example | |
<br/><br/> |
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.Web.Mvc; | |
using Divan; | |
using Newtonsoft.Json; | |
namespace CouchTest.Controllers | |
{ | |
[HandleError] | |
public class HomeController : Controller | |
{ |
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var animal = new Chicken {Property = "a guid! " + Guid.NewGuid()}; | |
var myself = animal.Something(animal); | |
Console.WriteLine(myself.Property); | |
myself.Action(chick => Console.WriteLine(chick.Property)); |
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
class Program | |
{ | |
private static TypeRegistry _registry; | |
static void Main(string[] args) | |
{ | |
_registry = new TypeRegistry(); | |
_registry.RegisterHandlerFor<MyRequest, MyRequestProcessor>(); | |
SomeActionMethod(new MyRequest {Id = 1000}); |
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.IO; | |
using System.Linq; | |
using System.ServiceModel.Syndication; | |
using System.Text; | |
using System.Web.Mvc; | |
using System.Xml; | |
using System.Xml.Linq; | |
OlderNewer