Skip to content

Instantly share code, notes, and snippets.

View bunnyhero's full-sized avatar
🐰

bunnyhero bunnyhero

🐰
View GitHub Profile

Tested Options for Combination Keyboard + Trackpad for Apple Vision Pro

Credit to KhaosT's original post for inspiring this fork: https://gist.github.com/KhaosT/f1e0742872a4f7df5d32c1a7cfd61a8c

Updated May 5, 2025

With visionOS 2, support for Bluetooth mice and keyboards greatly expanded.

But support for combination keyboard + trackpad peripherals is still flaky. While most keyboards worked, trackpads were hit and miss. In researching this, I stumbled upon KhaosT's post. It hasn't been updated since Feburary 2024, so I forked his gist. I continue to look for reports of other keyboard + trackpad combos that work, and will update this gist as needed.

@heckj
heckj / gist:c49b264823be8f1013c258ae991bb4a2
Created November 20, 2024 23:45
Apple VisionOS Q&A from Nov 20th session
VisionOS notes
Q: Curious what tools or workflows designers are using to mock up things like volumes or immersive spaces considering things like Sketch and Figma are 2D or "window" based?
A: Great question! We find a lot of people start with our visionOS Apple Design Resources especially on Figma (https://www.figma.com/community/file/1253443272911187215) and animate flat views to sell the ideas to partners. Then we've seen folks move to tools like Spline (https://spline.design), Blender, etc. for 3D workflows. In particular, Spline has a visionOS mirror app (https://docs.spline.design/doc/spline-mirror-for-visionos/docaQJC8SwTF) that makes it much more efficient to prototype 3d environments!
Q: I'm generating mesh data in code and then programmatically creating objects in a volume. As the app progresses, I need to switch out some of those meshes. If this is happening fairly rapidly (multiple times per second), would it generally be better to keep a reference to the entity to be able to update it, or sho
@aku
aku / gen_images.mjs
Last active September 7, 2024 10:21
Generate images using Draw Things HTTP API
import { writeFile } from 'fs/promises'
const DRAW_THINGS_URL = 'http://127.0.0.1:7860/sdapi/v1/txt2img'
const BATCH_COUNT = 5
const IMG_SIZE = 512
const MAX_FILE_NAME_LEN = 30
const prompt = 'bunch of carrots'
const params = {
# https://www.geeksforgeeks.org/python-tweepy-getting-the-id-of-a-user/
import tweepy
import json
import time
import urllib.request
# You get these from https://developer.twitter.com/en/apps
# New signups at https://developer.twitter.com
consumer_key = ""
@barraIhsan
barraIhsan / README.md
Last active May 16, 2025 16:49
Youtube Premium Logo

YouTube Premium Logo

Description

The YouTube Premium Logo userscript replaces the YouTube logo with the YouTube Premium logo.
idk why you need this, but using an adblocker[^1] + this script, will give the appearance that you have YouTube Premium.

Note

This userscript just replaces the youtube logo you see on the navbar and
inside the collapsible menu. This will NOT grant you premium feature.

@emilianavt
emilianavt / BestVTuberSoftware.md
Last active May 3, 2025 23:31
Best VTuber Software

Best VTuber software

This is a list of the most commonly used and relevant vtubing software. The "best" will always be subjective and depend on your specific requirements. Overall, the information in this list is as accurate as I could figure it out, but there might be errors or some details might become out of date. If you find anything that needs to be corrected, please let me know. You can also note it in a comment.

Additional explanations:

  • iPhone means that an iPhone is basically required
  • iFacialMocap support means that tracking data can be received from the iFacialMocap iPhone app
  • VMC protocol means that the application can send and/or receive tracking data from other VMC protocol capable applications, allowing the combination of multiple tracking methods (e.g. VSeeFace receiving VR tracking from Virtual Motion Capture and iPhone/ARKit face tracking from Waidayo)
  • Tobii means that the Tobii eye tracker is supported
@lancethomps
lancethomps / close_notifications_applescript.js
Last active April 27, 2025 01:40
AppleScript to close all notifications on macOS Big Sur, Monterey, Ventura, Sonoma, and Sequoia
function run(input, parameters) {
const appNames = [];
const skipAppNames = [];
const verbose = true;
const scriptName = 'close_notifications_applescript';
const CLEAR_ALL_ACTION = 'Clear All';
const CLEAR_ALL_ACTION_TOP = 'Clear';
const CLOSE_ACTION = 'Close';
@carloscheddar
carloscheddar / hide_zeplin_sidebar.js
Created October 20, 2020 21:43
Hides the Zeplin sidebar that opens by default and requires mouse drag to close
// ==UserScript==
// @name Hide Zeplin Sidebar
// @namespace https://app.zeplin.io/
// @version 0.1
// @description Hides the Zeplin sidebar that opens by default and requires mouse drag to close
// @author Carlos Feliciano-Barba
// @match https://app.zeplin.io/project/*
// @grant none
// ==/UserScript==
@IanColdwater
IanColdwater / twittermute.txt
Last active April 14, 2025 16:31
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@michaelnisi
michaelnisi / update_settings
Last active August 6, 2020 21:01
Updating the version number in a iOS settings bundle
#!/usr/bin/env bash
set -o xtrace
SOURCE="${BASH_SOURCE[0]}"
if [[ -h $SOURCE ]]; then
SOURCE="$( readlink "$SOURCE" )"
fi
SOURCE_ROOT="${SOURCE_ROOT:-$( cd -P "$( dirname "$SOURCE" )/.." && pwd )}"