Skip to content

Instantly share code, notes, and snippets.

View digitalbreed's full-sized avatar

Matthias Gall digitalbreed

View GitHub Profile
@LeeSeungHi
LeeSeungHi / gist:a8c254aff5b496dfb979020bec90c2fb
Last active April 21, 2026 07:34
Meta Quest Adb Command List
Meta Quest Adb Command List
Excluding the letters ‘adb shell’
GetProperty
getprop debug.oculus.[xxxxxx]
Set Screen & performance
setprop debug.oculus.refreshRate 60, 72, 90 (default), 120 Override the default refresh rate of the screen. 120Hz will only apply if enabled from Quest 2 settings (Experimental features).
setprop debug.oculus.textureWidth 1440 (default) Override the default texture width.
setprop debug.oculus.textureHeight 1584 (default) Override the default texture height. For optimal results, set the value to 1.1x texture width.
@liamcary
liamcary / DynamicResolutionScaler.cs
Last active September 26, 2025 19:42
Dynamic Resolution for Oculus Quest with Unity 2021.3 LTS and URP 12
using System;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
using UnityEngine.XR;
public class DynamicResolutionScaler : MonoBehaviour
{
[SerializeField, Range(0f, 1f)] float _minResolutionScale;
@elringus
elringus / FileWatcher.cs
Last active July 21, 2025 07:46
Allows executing an editor behaviour in response to file modificatons, even when editor application is not in focus.
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Threading.Tasks;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
/// <summary>
/// Uses file system watcher to track changes to specific files in the project directory.
@marco79cgn
marco79cgn / dm-toilet-paper.js
Last active February 17, 2025 10:57
iOS Widget, das die Anzahl an Klopapier Packungen in deiner nächsten dm Drogerie anzeigt (für die scriptable.app)
// dm Klopapier Widget
//
// Copyright (C) 2020 by marco79 <[email protected]>
//
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
// IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
@anthonyholmes
anthonyholmes / bootstrap-sass-mixin-cheatsheet.scss
Created October 10, 2014 08:13
Bootstrap Sass Mixin Cheatsheet
// Alerts
@include alert-variant($background, $border, $text-color);
// Background Variant
@include bg-variant($parent, $color);
// Border Radius
@include border-top-radius($radius);
@include border-right-radius($radius);
@include border-bottom-radius($radius);