Skip to content

Instantly share code, notes, and snippets.

Steve Leigh xwipeoutx

Block or report user

Report or block xwipeoutx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xwipeoutx
xwipeoutx / mr-setup.md
Last active Dec 21, 2018
Setting up for mixed reality
View mr-setup.md

If you want to prepare your PC beforehand, I would

  • Install Unity Hub. This handled multiple Unity versions on the same PC and is a life saver
  • Install the latest Unity from (whatever it happens to be - there won't be any major releases soon AFAIK). Include all the UWP/Windows store things and the IL2CPP scripting engine support
    • If you're more interested in doing AR for the tablet or phone, then install those SDKs too - it's really up to you what you want to get out of it
    • Careful with the installer and it telling you to install VS 2018. There's a checklist here - but I wouldn't worry about the emulator. It sucks.
  • Do a quick "Hello, world"
View git-extensions-diff-config.md

Git Extensions

Path to mergetool:

C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe

Mergetool command:

"C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe" /m /r="$MERGED" "$LOCAL" "$BASE" "$REMOTE"
View validate-accessibility.js
(function() {
var invalidElementFinders = {
"Lists should have titles": () => Array.from(document.querySelectorAll("ul,li")).filter(el => !el.title),
"Articles should be aria-labelledby": () => Array.from(document.querySelectorAll("article")).filter(el => !el.getAttribute("aria-labelledby")),
}
var validateAccessibility = function () {
Array.from(document.querySelectorAll("*")).forEach(el => {
el.classList.remove("is-not-accessible");
if (el.problems) delete el.problems
@xwipeoutx
xwipeoutx / Car.cs
Created Jun 6, 2016
Simple, clean, fast IQueryable filter with expression chaining in C#
View Car.cs
using System;
namespace ExpressionChainDemo
{
public class Car
{
public DateTime RegistrationDate { get; set; }
public DateTime PurchaseDate { get; set; }
}
}
You can’t perform that action at this time.