Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<monodroid>
<android-sdk path="/Users/jeremie/mono/android-sdk-macosx" />
<java-sdk path="/usr" />
<android-ndk path="/Users/jeremie/mono/android-ndk-r8" />
</monodroid>
diff --git a/MonkeyWrench.Database/SchedulerGIT.cs b/MonkeyWrench.Database/SchedulerGIT.cs
index 7ea1b94..d6df370 100755
--- a/MonkeyWrench.Database/SchedulerGIT.cs
+++ b/MonkeyWrench.Database/SchedulerGIT.cs
@@ -338,6 +338,8 @@ namespace MonkeyWrench.Scheduler
git.StartInfo.UseShellExecute = false;
git.StartInfo.RedirectStandardOutput = true;
git.StartInfo.RedirectStandardError = true;
+ git.StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8;
+ git.StartInfo.StandardErrorEncoding = System.Text.Encoding.UTF8;
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
using System;
using Android.Graphics;
namespace Foo
{
public class BitmapCache
{
DiskCache diskCache;
LRUCache<string, Bitmap> memCache;
#!/usr/bin/csharp
LoadAssembly ("System.Xml.Linq.dll");
using System.Xml.Linq;
using System.IO;
var files = Environment.GetEnvironmentVariable ("FILES").Split ().Where (f => File.Exists (f));
var mainFile = files.First ();
var main = XDocument.Load (mainFile);
foreach (var other in files.Skip (1).Select (d => XDocument.Load (d))) {
Now running lintian...
Unknown option: no-lintian
error parsing options
[TestFixture]
public class HelpSourceTest
{
class CheckGenerator : IDocGenerator<bool>
{
public bool Generate (HelpSource hs, string id)
{
if (hs == null || string.IsNullOrEmpty (id))
return false;
if (hs.IsRawContent (id))
(add-to-list 'load-path "~/emacs.d")
(setq ring-bell-function 'ignore)
(set-language-environment "UTF-8")
(setq default-tab-width 4)
(setq tab-width 4)
(setq-default tab-width 4)
(setq cua-auto-tabify-rectangles nil)
(setq add-log-mailing-address "jeremie.laval@gmail.com")
diff --git a/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs b/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs
index 2bfa9aa..e5f8649 100644
--- a/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs
+++ b/SignalR/Hubs/DefaultJavaScriptProxyGenerator.cs
@@ -119,10 +119,10 @@ namespace SignalR.Hubs
// Pick the overload with the minimum number of arguments
return from method in ReflectionHelper.GetExportedHubMethods(type)
group method by method.Name into overloads
- let overload = (from overload in overloads
+ let oload = (from overload in overloads
phoenix ~/Projects/SignalR/SignalR.Hosting.Self.Samples/bin/Debug on master(9d8cb9e)
Debug:master! % mono --debug SignalR.Hosting.Self.Samples.exe
Server running on http://localhost:40476/
Incoming request to http://localhost:40476/signalr/negotiate.
Incoming request to http://localhost:40476/signalr/connect?transport=serverSentEvents&connectionId=3b83c086-7977-4b7e-a85a-408e7aac8cb1&messageId=&groups=[]&connectionData=[{"Name":"SignalR.Samples.Hubs.DemoHub.DemoHub","Methods":["invoke"]}].
One or more errors occured
/home/jeremie/Projects/SignalR/SignalR.Hosting.Self.Samples/bin/Debug/SignalR.Hosting.Self.dll Error : 0 : SignalR exception thrown by Task: System.AggregateException: One or more errors occured ---> System.ObjectDisposedException: The object was used after being disposed.
at System.Net.ResponseStream.EndWrite (IAsyncResult ares) [0x00093] in /home/jeremie/mono/mono/mcs/class/System/System.Net/ResponseStream.cs:211
at SignalR.Hosti