Skip to content

Instantly share code, notes, and snippets.

View AnimatedImageView.cs
using System.Collections.Generic;
using System.Drawing;
using MonoTouch.CoreAnimation;
using MonoTouch.CoreGraphics;
using MonoTouch.Foundation;
using MonoTouch.ImageIO;
using MonoTouch.UIKit;
namespace PuppyKittyOverflow.Touch
{
View dotnetroadmaps.md
View dotnetdiscussions.md
@jamesmontemagno
jamesmontemagno / live-streaming-kit.md
Last active September 5, 2022 16:28
Live Streaming Kit
View live-streaming-kit.md

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
View ImageCache.xaml
<Image
HorizontalOptions="CenterAndExpand"
VerticalOptions ="CenterAndExpand">
<Image.Source>
<UriImageSource Uri="{Binding Image}"
CacheValidity="14"
CachingEnabled="true"/>
</Image.Source>
</Image>
View CircleImageTime.xaml
<controls:CircleImage
x:Name="MainImage"
HeightRequest="150"
WidthRequest="150"
HorizontalOptions="CenterAndExpand"
VerticalOptions ="CenterAndExpand"
BorderColor="#F65159"
BorderThickness="4">
<controls:CircleImage.Source>
<UriImageSource Uri="{Binding Image}"
View team.json
[
{
"FullName": "James Montemagno",
"GitHubUserName" : "JamesMontemagno",
"MicrosoftAlias": "jamont",
"MicrosoftTeam": "friends"
}
]
@jamesmontemagno
jamesmontemagno / IRemove.cs
Last active November 16, 2021 08:46
A simple and Intuitive Xamarin.iOS + MvvmCross TableView swipe to delete implementation. This will allow you to have any number of ViewModels simply implement IRemove.cs and all you need is MvxDeleteStandarTableViewSource and implement the interface in your viewmodels! I should say that these are edited classes, you should implement some of the …
View IRemove.cs
public interface IRemove
{
ICommand RemoveCommand { get; }
}
View MonkeysPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Monkeys.Views.MonkeysPage"
xmlns:local="clr-namespace:Monkeys.Views;assembly=Monkeys"
Title="Monkeys">
<ListView x:Name="list"
ItemsSource="{Binding MonkeysGrouped}"
ItemTapped="OnItemSelected"
IsGroupingEnabled="True"
View iOSUtils.cs
Snippet Name: iOS Utils
Platform: Xamarin.iOS
Function: Check if running iOS 8, is phone, is tall, and envoke on UI Thread
Snippet:
public static class Utils
{
public static NSObject Invoker;