Skip to content

Instantly share code, notes, and snippets.

View DevJohnC's full-sized avatar

John Carruthers DevJohnC

View GitHub Profile
@DevJohnC
DevJohnC / MainActivity.cs
Created January 31, 2014 07:41
Video browsing and playback android app
using System;
using Android.App;
using Android.Content;
using Android.Views;
using Android.Widget;
using Android.OS;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
@DevJohnC
DevJohnC / MainActivity.cs
Created February 1, 2014 04:25
Basic AdjutantOS android add-on that browses and plays videos on a selected computer.
using System;
using Android.App;
using Android.Content;
using Android.Views;
using Android.Widget;
using Android.OS;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
@DevJohnC
DevJohnC / VideoApp.cs
Created March 25, 2014 04:52
AdjutantOS YouTube Stream Testing App
using System;
using FragLabs.AdjutantOS.API.Apps;
using FragLabs.AdjutantOS.API;
using FragLabs.AdjutantOS.API.Modules.Domains;
using FragLabs.AdjutantOS.API.Assets;
using FragLabs.AdjutantOS.Apps.Video.Dtos;
using Environment = FragLabs.AdjutantOS.API.Environment;
namespace FragLabs.AdjutantOS.Apps.Video
{
//
// Author: John Carruthers (johnc@frag-labs.com)
//
// Copyright (C) 2013 John Carruthers
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
//
// Author: John Carruthers (johnc@frag-labs.com)
//
// Copyright (C) 2014 John Carruthers
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
class Program
{
static void Main()
{
var moduleDir = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Modules");
if (!Directory.Exists(moduleDir))
Directory.CreateDirectory(moduleDir);
var config = FrameworkConfig.CreateServerDefault();
var appDomainManager = new AppDomainManager();
//
// Author: John Carruthers (johnc@frag-labs.com)
//
// Copyright (C) 2014 John Carruthers
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
@DevJohnC
DevJohnC / Program.cs
Created July 13, 2014 05:17
Demoing light control on an AdjutantFramework network.
//
// Author: John Carruthers (johnc@frag-labs.com)
//
// Copyright (C) 2014 John Carruthers
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
//
// Author: John Carruthers (johnc@frag-labs.com)
//
// Copyright (C) 2014 John Carruthers
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
using System;
using System.Linq;
using Xamarin.Forms;
using AdjutantFramework;
using AdjutantFramework.Network;
namespace Client
{
public class ComputerList : ContentPage
{