Skip to content

Instantly share code, notes, and snippets.

View anaisbetts's full-sized avatar

Ani Betts anaisbetts

View GitHub Profile
1>------ Build started: Project: PortableClassLibrary1, Configuration: Debug Any CPU ------
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3274: The primary reference "System.Reactive.Core" could not be resolved because it was built against the ".NETPortable,Version=v4.5,Profile=Profile7" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.0,Profile=Profile4".
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3275: The primary reference "System.Reactive.Providers" could not be resolved because it has an indirect dependency on the assembly "System.Reactive.Core, Version=2.0.20823.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3" which was built against the ".NETPortable,Version=v4.5,Profile=Profile7" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.0,Profile=Profile4".
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsof
paul@jupiter:~/Dropbox/ReactiveUI_External/DeleteMe% /Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/mmp "-minos=10.6" -o "/Users/paul/Dropbox/ReactiveUI_External/DeleteMe/bin/Release" -n "DeleteMe" -a "/Users/paul/Dropbox/ReactiveUI_External/ReactiveUI.Cocoa/bin/Release/Mono/ReactiveUI.Cocoa.dll" -a "/Users/paul/Dropbox/ReactiveUI_External/ReactiveUI.Routing/bin/Release/Mono/ReactiveUI.Routing.dll" -a "/Users/paul/Dropbox/ReactiveUI_External/ReactiveUI.Xaml/bin/Release/Mono/ReactiveUI.Xaml.dll" -a "/Users/paul/Dropbox/ReactiveUI_External/ReactiveUI/bin/Release/Mono/ReactiveUI.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.11.3/lib/mono/4.0/System.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.11.3/lib/mono/4.0/System.Xml.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.11.3/lib/mono/4.0/System.Core.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.11.3/lib/mono/4.0/System.Xml.Linq.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.11.3/li
Added assembly ReactiveUI.Cocoa.dll
Added assembly MonoMac.dll
Added assembly mscorlib.dll
Added assembly System.Drawing.dll
Added assembly System.dll
Added assembly Mono.Security.dll
Added assembly System.Configuration.dll
Added assembly System.Xml.dll
Added assembly System.Security.dll
Added assembly System.Core.dll
public static class HttpClientRxMixins
{
public static IObservable<T> RequestAsync<T>(this HttpClient This, string requestUri)
{
return This.GetAsync(requestUri).ToObservable()
.ThrowOnRestResponseFailure()
.SelectMany(x => x.Content.ReadAsStringAsync().ToObservable())
.SelectMany(x => JsonConvert.DeserializeObjectAsync<T>(x).ToObservable());
}
@anaisbetts
anaisbetts / gist:3692645
Created September 10, 2012 18:12
.mailcap
image/png; qlmanage -p %s
image/jpeg; qlmanage -p %s
image/gif; qlmanage -p %s
text/html; qlmanage -p %s
application/octet-stream; qlmanage -p %s
application/pdf; qlmanage -p %s
application/msword; qlmanage -p %s
application/vnd.openxmlformats-officedocument.wordprocessingml.document; qlmanage -p %s
Warning: Your Xcode (4.4) is outdated
Please install Xcode 4.4.1.
==> Downloading http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.36.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gst-plugins-base-0.10.36.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/gst-plugins-base-0.10.36.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/gst-plugins-base/0.10.36 --disable-debug --disable-dependency-tracking --enable-introspection=no --enable-experimental --disable-libvisual --disable-alsa --disable-cdparanoia --without-x --disable-x --disable-xvideo --disable-xshm --disable-gnome_vfs
./configure --prefix=/usr/local/Cellar/gst-plugins-base/0.10.36 --disable-debug --disable-dependency-tracking --enable-introspection=no --enable-experimental --disable-libvisual --disable-alsa --disable-cdparanoia --without-x --disable-x --disable-xvideo --disable-xshm --disable-gnome_vfs
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking
using System;
using ReactiveUI.Routing;
using ReactiveUI.Xaml;
namespace ReactiveUI.Samples.Routing.ViewModels
{
public interface IWelcomeViewModel : IRoutableViewModel
{
ReactiveCommand HelloWorld { get; }
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Deployment.Application;
using System.Globalization;
using System.Linq;
using System.Reactive.Linq;
using System.Timers;
using System.Windows;
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle
Name="MarkPad"
Version="0.9.6.0"
Manufacturer="Code52"
UpgradeCode="c99da653-84c8-4c03-bc0e-716cc966b50c">
<BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
<Payload Name="BootstrapperCore.config" SourceFile="$(var.ToolsDir)\Shimmer.WiXUI.config" />
<Payload SourceFile="$(var.ToolsDir)\Core.dll" />
+------------+
| |
| uridecode1|+ +----------------+
| || | |
+------------+| +------------------+ +-+| icecast |
+---------+ | +---------------+ | | |
+------------+ | | | +----+ +----------------+
| | | | | |
| uridecode2 +----------+ mixer +----> tee | +----------------+
| | | | | |+ | |