Skip to content

Instantly share code, notes, and snippets.

@daz
daz / QuestCast
Created July 1, 2019 06:50
Cast Oculus Quest to Mac over wifi
#!/bin/sh
echo
echo "Connect Quest and hit <return> to continue..."
read Z
echo
QUEST_IP=`adb shell ip route | grep 'proto kernel' | awk '{print \$9}'`
adb tcpip 5555
@nikhan
nikhan / twitter.sh
Created January 1, 2016 04:45
twitter ffmpeg
ffmpeg -i test.mov -vcodec libx264 -vf 'scale=640:trunc(ow/a/2)*2' -acodec aac -vb 1024k -minrate 1024k -maxrate 1024k -bufsize 1024k -ar 44100 -strict experimental -r 30 out.mp4