Skip to content

Instantly share code, notes, and snippets.

View dellis1972's full-sized avatar

Dean Ellis dellis1972

View GitHub Profile
public abstract class ViewModelBase : MvxViewModel
{
protected void ClearStackAndShowViewModel<TViewModel>()
where TViewModel : ViewModelBase
{
var presentationBundle = new MvxBundle(new Dictionary<string, string> { { PresentationBundleFlagKeys.ClearStack, "" } });
ShowViewModel<TViewModel>(presentationBundle: presentationBundle);
}
}
@dellis1972
dellis1972 / workspace.sh
Created June 20, 2016 16:52 — forked from dixson3/workspace.sh
Create and manage a case-sensitive disk-image on OSX. This is great when you have a need to work with case-sensitive repos on a mac.
#!/bin/bash
# where to store the sparse-image
WORKSPACE=~/Documents/workspace.dmg.sparseimage
create() {
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 60g -volname workspace ${WORKSPACE}
}
detach() {
@dellis1972
dellis1972 / Game1.cs
Created January 4, 2018 20:43 — forked from Jjagg/Game1.cs
MonoGame backend sample for ImGui.NET (https://github.com/mellinoe/ImGui.NET)
using System;
using System.Runtime.InteropServices;
using ImGuiNET;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Vector2 = ImGuiNET.Vector2;
using Vector3 = ImGuiNET.Vector3;
using Vector4 = ImGuiNET.Vector4;
@dellis1972
dellis1972 / OVERVIEW.TXT
Created June 7, 2021 13:32 — forked from hfutxqd/OVERVIEW.TXT
adb protocol
Implementation notes regarding ADB.
I. General Overview:
The Android Debug Bridge (ADB) is used to:
- keep track of all Android devices and emulators instances
connected to or running on a given host developer machine
- implement various control commands (e.g. "adb shell", "adb pull", etc.)
@dellis1972
dellis1972 / setup.sh
Created June 27, 2024 21:56 — forked from hydrz/setup.sh
setup weston, waydroid, appium on ubuntu 20.04
#!/usr/bin/bash
set -e
apt-get update
apt-get install -y \
curl \
ca-certificates \
unzip \