Skip to content

Instantly share code, notes, and snippets.

View DamienDoumer's full-sized avatar
🎯
Sharpening my dev skills...

Damien Doumer DamienDoumer

🎯
Sharpening my dev skills...
View GitHub Profile
@DamienDoumer
DamienDoumer / DeviceTypeHelper.cs
Last active January 8, 2019 14:32 — forked from wagonli/DeviceTypeHelper.cs
Detect device type on Universal Windows Platform (UWP)
using Windows.System.Profile;
using Windows.UI.ViewManagement;
namespace Wagonli.Tools
{
public static class DeviceTypeHelper
{
public static DeviceFormFactorType GetDeviceFormFactorType()
{
switch (AnalyticsInfo.VersionInfo.DeviceFamily)
@DamienDoumer
DamienDoumer / ES6 I tutorial codes
Created June 20, 2018 13:13
Brief Javascript ES6 Tutorial For Beginners Part I All Code Gist
## Replace var
```
//declare a variable which can be reassigned to another value
let name = 'my name';
//defines a variable whose value is not reassignable
const PI = 3.14;
```
## No more stress with complex strings
@DamienDoumer
DamienDoumer / My VS2017 About
Created May 28, 2018 19:29
Gist for VS About screen
Microsoft Visual Studio Community 2017 (2)
Version 15.7.2
VisualStudio.15.Release/15.7.2+27703.2018
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
Visual C++ 2017 00369-60000-00001-AA839
Microsoft Visual C++ 2017