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
// Mono JIT compiler version 2.10.6 (tarball Fri Sep 16 00:13:06 EDT 2011) | |
// Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com | |
// TLS: normal | |
// SIGSEGV: normal | |
// Notification: kqueue | |
// Architecture: x86 | |
// Disabled: none | |
// Misc: debugger softdebug | |
// LLVM: yes(2.9svn-mono) | |
// GC: Included Boehm (with typed GC) |
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
private static void TestStart() { | |
var disposer = Observable | |
.Start(() => { | |
System.Threading.Thread.Sleep(3000); | |
return 110; | |
}) | |
.Subscribe( | |
i => Console.WriteLine(string.Format("OnNext: {0}", i)), | |
() => Console.WriteLine("Completed TestStart") |
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 | |
use Symfony\Component\ClassLoader\UniversalClassLoader; | |
class TraitExt { | |
public static $clsLoader; | |
public static function withTraits($class, array $traits) { | |
$cache = self::classLoader()->getNamespaceFallbacks(); | |
if (empty($cache)) { | |
self::registerCacheDir($_SERVER["TMPDIR"] . DIRECTORY_SEPARATOR . "trait_ext_cache"); |
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
// builder | |
let fb_return = fun v -> | |
match v with | |
| (x, "") -> x.ToString() | |
| (_, s) -> s | |
type FizzBuzzBuilder() = | |
member this.Return v = fb_return v | |
let fizzbuzz = FizzBuzzBuilder() |
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 'rubygems' | |
require 'sinatra' | |
require "stringio" | |
$LOAD_PATH.push "/usr/local/Library/Homebrew" | |
require "global" | |
require "cmd/list" |
NewerOlder