Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

[
{
"FullName": "James Montemagno",
"GitHubUserName" : "JamesMontemagno",
"MicrosoftAlias": "jamont",
"MicrosoftTeam": "friends"
}
]
var eventAsObservable = Observable.FromEvent<PropertyChangedEventHandler, PropertyChangedEventArgs>(
ev => this.PropertyChanged += ev,
ev => this.PropertyChanged -= ev)
.Where((e, b) => e.PropertyName == nameof(Text));
eventAsObservable
.Throttle(TimeSpan.FromMilliseconds(250))
.Subscribe(e =>
{
//do stuff
=== Visual Studio Community 2019 for Mac ===
Version 8.0.4 (build 0)
Installation UUID: 6289573f-1da9-40b9-a50a-33e7dfcbb82b
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.6.0.2 (d16-0 / 040682909)
Package version: 518010003
=== Mono Framework MDK ===
@jamesmontemagno
jamesmontemagno / live-streaming-kit.md
Last active September 5, 2022 16:28
Live Streaming Kit

Here is my live stream setup kit :)

If you are doing a personal stream, I recommend only streaming to a single service such as Twitch. It is better for community building and easier on the streamer. Additionally, if you become an affiliate you are locked into a platform anyways.

How my setup works is that I have my main Desktop PC that has my streaming software, chat, alerts, music, and such all running on it. I have a second surface book that has HDMI out into the capture card in my Desktop PC. I do this because often when you compile apps it may freeze up your computer and stream :(. I have 2 sets of keyboards and mice and 2 monitors that I work off of. This works for me, but you do you :)

Software:

  • OBS: Your main go to for streaming software. It works on every OS :). If you want something with everything baked in take a look at Streamlabs OBS.
  • Streamlabs has all of your pop ups for subscribers and such on t
inting3D.Printing3DContract.winmd" /reference:"C:\Program Files (x86)\Windows Kits\10\References\10.0.16299.0\Windows
.Networking.Connectivity.WwanContract\1.0.0.0\Windows.Networking.Connectivity.WwanContract.winmd" /reference:"C:\Prog
ram Files (x86)\Windows Kits\10\References\10.0.16299.0\Windows.Services.Store.StoreContract\2.0.0.0\Windows.Services
.Store.StoreContract.winmd" /reference:"C:\Program Files (x86)\Windows Kits\10\References\10.0.16299.0\Windows.Servic
es.TargetedContent.TargetedContentContract\1.0.0.0\Windows.Services.TargetedContent.TargetedContentContract.winmd" /r
eference:"C:\Program Files (x86)\Windows Kits\10\References\10.0.16299.0\Windows.System.Profile.ProfileHardwareTokenC
ontract\1.0.0.0\Windows.System.Profile.ProfileHardwareTokenContract.winmd" /reference:"C:\Program Files (x86)\Windows
Kits\10\References\10.0.16299.0\Windows.System.Profile.ProfileSharedModeContract\2.0.0.0\Windows.System.Profile.Prof
ileSharedModeContract.winmd" /reference:"C:\Program Files (x86
@jamesmontemagno
jamesmontemagno / DistanceConverter.cs
Last active July 24, 2018 20:28
Essentials Location Methods
using System;
using Xamarin.Essentials;
namespace LocationDistance
{
public static class DistanceConverter
{
public static void ConvertDistance()
{
#region showme
<PackageId>YourPackageId</PackageId>
<PackageVersion>1.0.0.0</PackageVersion>
<PackageLicenseUrl>LINK TO LICENSE</PackageLicenseUrl>
<PackageProjectUrl>LINK TO PROJECT</PackageProjectUrl>
<RepositoryUrl>LINK TO PROJECT</RepositoryUrl>
<PackageReleaseNotes>RELEASE NOTES</PackageReleaseNotes>
<PackageIconUrl>ICON URL</PackageIconUrl>
<PackageTags>xamarin, windows, ios, android, xamarin.forms,</PackageTags>
<Project Sdk="MSBuild.Sdk.Extras/2.0.29">
<PropertyGroup>
<!--Update with your target such as: Xamarin.iOS10 or MonoAndroid80 or Xamarin.Mac20-->
<TargetFramework>Xamarin.iOS10</TargetFramework>
<!--To Multi-target you can do this-->
<!--<TargetFrameworks>Xamarin.iOS10;MonoAndroid80</TargetFrameworks>-->