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
# Function to create a parent and children tasks | |
def tasks(parent, children, &task) | |
task parent => children.keys | |
children.each do |key, value| | |
task.call key, value | |
end | |
end | |
# Create assembly info tasks for all projects |
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
start task1 2011-12-01 20:59:43 -0500 | |
start task2 2011-12-01 20:59:43 -0500 | |
start task3 2011-12-01 20:59:43 -0500 | |
end task2 2011-12-01 20:59:45 -0500 | |
end task1 2011-12-01 20:59:45 -0500 | |
end task3 2011-12-01 20:59:45 -0500 | |
Completed parallel execution of tasks 1 through 3. |
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
Gribble CI v1.3.45.0 Succeeded (3:15) |
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
//------------------------------------------------------------------------------ | |
// Copyright (c) Microsoft Corporation. All rights reserved. | |
//----------------------------------------------------------------------------- | |
namespace System.ServiceModel.Dispatcher | |
{ | |
using System; | |
using System.Diagnostics; | |
using System.ServiceModel; | |
using System.ServiceModel.Description; |
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.Linq; | |
using HidLibrary; | |
namespace Temperature | |
{ | |
public class Program | |
{ | |
static void Main() |
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
window.define = function() { | |
var amd = window.amd = window.amd || {}; | |
var scripts = document.getElementsByTagName("script"); | |
var baseUrl; | |
if (!amd.modules) { | |
for (var i = 0; i < scripts.length; i++) { | |
var dataMain = scripts[i].getAttribute('data-base'); | |
if (dataMain) { | |
var a = document.createElement('a'); | |
a.href = dataMain; |
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
Assets.Alias("jquery").Is("scripts/jquery/jquery-1.7.1.min.js") | |
.Alias("underscore").Is("scripts/underscore/underscore-min.js") | |
.Alias("backbone").Is("scripts/backbone/backbone-min.js") | |
.AssetSet("default").Is("jquery,underscore,backbone"); |
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 Conventions : FubuRegistry | |
{ | |
public Conventions() | |
{ | |
// ... | |
Policies.ConditionallyWrapBehaviorChainsWith<HandledExceptionBehavior>(x => x.BehaviorChain.Last() is JsonSerializer); | |
// ... | |
} | |
} |
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
require(['data', 'app'], function(data, app) { | |
return app.start(data); | |
}); |
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
define 'underscore', ['path/to/underscore.js'], -> _ | |
define 'backbone', ['underscore', 'jquery', 'order!path/to/backbone.js'], -> Backbone |