Skip to content

Instantly share code, notes, and snippets.

View aclissold's full-sized avatar

Andrew Clissold aclissold

View GitHub Profile
@plu
plu / pre-commit
Created November 21, 2012 12:16 — forked from cleichner/pre-commit
Pre-commit hook to check for NSLog statements in Objective-C repos
#!/bin/sh
# name this .git/hooks/pre-commit
# chmod +x .git/hooks/pre-commit
# enjoy
IFS=$'\n'
if git-rev-parse --verify HEAD >/dev/null 2>&1; then
against=HEAD
else
@apetro
apetro / MainControllerTest.java
Created September 23, 2014 20:08
Trivial JUnit test for a Spring Portlet MVC controller
package edu.wisc.my.portlet.identityLinking.mvc.portlet;
import edu.wisc.my.portlet.identityLinking.model.NoPersonForEmplIdException;
import edu.wisc.my.portlet.identityLinking.model.Person;
import edu.wisc.my.portlet.identityLinking.service.IdentityLinkingService;
import org.junit.Test;
import org.springframework.web.portlet.ModelAndView;
import javax.portlet.PortletRequest;
import javax.portlet.RenderRequest;
@KhaosT
KhaosT / HDMI on Apple Vision Pro.md
Last active June 29, 2024 15:29
Guide for using Apple Vision Pro as HDMI display

Displaying HDMI sources on Apple Vision Pro

While it's possible to stream most content to Apple Vision Pro directly over the internet, having the ability to use Apple Vision Pro as an HDMI display can still be useful.

Since Apple Vision Pro does not support connecting to an HDMI input directly or using an HDMI capture card, we have to be a little creative to make this work. NDI provides the ability to stream HDMI content over a local network with really low latency, and it works great with Apple Vision Pro.

This page shows the setup I’m using.