Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Continual death march. May not respond quickly, sorry.

Troy Willmot Yortw

💭
Continual death march. May not respond quickly, sorry.
View GitHub Profile
@FrayxRulez
FrayxRulez / Deploy.cs
Last active Aug 28, 2016
Deploy UWP apps to Windows 10 Mobile
View Deploy.cs
// Initializes MultiTargetingConnectivity with current PC culture
var connectivity = new MultiTargetingConnectivity(Thread.CurrentThread.CurrentUICulture.LCID);
var devices = connectivity.GetConnectableDevices();
// Gets the first physical device attached to PC.
// WARNING: if more than a single device is connected to the PC deploy will fail.
var phone = devices.FirstOrDefault(x => !x.IsEmulator());
// PhoneProductId of the app, you can find it in your Package.appxmanifest
var package = Guid.Parse("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX");
@formix
formix / xd2md.cs
Last active Jan 3, 2021
Generates Markdown From VisualStudio XML documentation files
View xd2md.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace Formix.Utils
{
class Program
@lontivero
lontivero / gist:593fc51f1208555112e0
Last active Dec 29, 2020
Generates Markdown from VS XML documentation file
View gist:593fc51f1208555112e0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace GithubWikiDoc
{