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
//------------------------------------------------------------------------------ | |
// 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
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
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
# 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
class Flap extends Backbone.Model | |
class TimelineCollection extends Backbone.Collection | |
model: Flap | |
TimelineController = | |
enumerate: (handle) -> | |
console.log 'enumerate ' + handle | |
@timeline.reset '{{ name: \'you\'}, { name: \'me\'}}' |
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($){ | |
$.addAjaxItemDeleteHandler = function(options) { | |
var defaults = { | |
url: 'delete', | |
data: function(id) { return { Id: id }; }, | |
deleteElementClass: 'item-delete', | |
deleteElementIdAttribute: 'data-id', | |
deleteElementDescriptionAttribute: 'data-description', | |
deleteRowClass: 'item-row', | |
deleteRowIdAttribute: 'data-id', |
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 ConfigureFubuMVC : FubuRegistry | |
{ | |
public ConfigureFubuMVC() | |
{ | |
IncludeDiagnostics(true); | |
Actions.IncludeTypeNamesSuffixed("Command", "Query") | |
.IncludeMethodsPrefixed("Get", "Post"); | |
Routes.HomeIs<DashboardQuery>(x => x.Get()) |
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
[StructureMapException: StructureMap Exception Code: 202 | |
No Default Instance defined for PluginFamily FubuCore.Binding.IBindingLogger, FubuCore, Version=0.9.2.0, Culture=neutral, PublicKeyToken=null] | |
StructureMap.BuildSession.<.ctor>b__0(Type t) in c:\code\structuremap\Source\StructureMap\BuildSession.cs:31 | |
StructureMap.Util.Cache`2.get_Item(KEY key) in c:\code\structuremap\Source\StructureMap\Util\Cache.cs:83 | |
StructureMap.BuildSession.CreateInstance(Type pluginType) in c:\code\structuremap\Source\StructureMap\BuildSession.cs:192 | |
StructureMap.Pipeline.DefaultInstance.build(Type pluginType, BuildSession session) in c:\code\structuremap\Source\StructureMap\Pipeline\DefaultInstance.cs:22 | |
StructureMap.Pipeline.Instance.createRawObject(Type pluginType, BuildSession session) in c:\code\structuremap\Source\StructureMap\Pipeline\Instance.cs:101 | |
StructureMap.Pipeline.Instance.Build(Type pluginType, BuildSession session) in c:\code\structuremap\Source\StructureMap\Pipeline\Instance.cs:69 | |
Structure |
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 (var output = new System.IO.StreamWriter(System.IO.File.Create(@"D:\temp\tdms.channel.export.txt"))) | |
{ | |
var tdms = new File("Sample.tdms"); | |
tdms.Open(); | |
foreach (var value in tdms.Groups["Noise data"].Channels["Noise_1"].GetData<double>()) | |
output.WriteLine(value); | |
} |