Skip to content

Instantly share code, notes, and snippets.


h4rK8s h4rk8s

  • Global
View GitHub Profile
karpathy /
Last active June 2, 2023 22:32
hacky stablediffusion code for generating videos
stable diffusion dreaming
creates hypnotic moving videos by smoothly walking randomly through the sample space
example way to run this script:
$ python --prompt "blueberry spaghetti" --name blueberry
to stitch together the images, e.g.:
$ ffmpeg -r 10 -f image2 -s 512x512 -i blueberry/frame%06d.jpg -vcodec libx264 -crf 10 -pix_fmt yuv420p blueberry.mp4
KleaTech / oculus_recording_notes.txt
Created January 7, 2022 23:08
Oculus Quest recording settings
View oculus_recording_notes.txt
# `adb` commands to call for capturing high-res videos on Oculus VR headsets
# Usage:
# curl > /tmp/
# chmod +x /tmp/
# ./tmp/
# Source: modified from
drmuey / Oculus Quest 2
Last active February 7, 2022 11:47
Oculus Quest 2 Blurry
View Oculus Quest 2
  • Find your best zone
    • Make sure the lenses are clean and wipe them with a microfiber cloth
    • Take your time to find the best IPD setting
    • Learn to adjust the headset and straps properly
    • Do some testing if you wear glasses
      • clean your glasses!
    • make sure your eyes are not dry as that affects vision (i.e. hydration/blink more/eye drops)
    • Increase texture size
  • cut down on “god rays”: Settings ➜ Device ➜ Night Display
kentbye /
Last active October 30, 2022 23:49
Half-Life: Alyx VConsole Commands for VR Developers and Modders

Half-Life: Alyx VConsole Commands for VR Developers and Modders

by Kent Bye, Voices of VR Podcast

Posted on April 20th, 2020. (Last updated April 21st, 2020)

This is a guide meant for VR developers and modders to use some of the VConsole commands and 2D tools for navigating Half-Life: Alyx for the purpose of modding and exploring the experiential design of this VR experience. The experience is best when experienced in VR, but there are some things that are actually easier and better to do in 2D if you're intention is to analyze how some of the maps and experiences were put together.

You need to add this to you Properties (Right Click on HL:A), and then "Set Launch Options" -console -vconsole -dev

McPo / Oculus Quest Unity OSX Integration Patch
Last active February 6, 2022 12:17
Enable Oculus Quest Unity Development on OSX / macOS via `Oculus > OVR Build`
View Oculus Quest Unity OSX Integration Patch
1. Install the embedded Android SDK and copy the file `adb` to `adb.exe` e.g:
cd /Applications/Unity/Hub/Editor/****/PlaybackEngines/AndroidPlayer/SDK/platform-tools/
cp adb adb.exe
2. Apply the following diff to the Oculus Integration asset.
3. Navigate to Oculus > OVR Build > OVR Scene Quick Preview
blixt /
Last active May 25, 2023 14:53
Playing SteamVR games on the Oculus Quest

Playing SteamVR games on the Oculus Quest, without owning a PC

Setting up your Virtual Machine

We'll be creating a new Virtual Machine on Microsoft's cloud platform, Azure. The VM will have a beefy GPU just like a home computer so it can be used for playing games.

  1. Go to [the Azure portal][azure] and sign up or log in.
  2. If you are on a Free account, first go to Subscriptions and upgrade it to a Pay-as-you-go plan. Don't worry, you will get to keep any free credits you have. Azure's interface is a bit slow so this will take a minute.

⚠️ Make sure to not include any support plan because they will charge you monthly!

blixt /
Last active May 21, 2023 22:06
Streaming Oculus Quest wirelessly over WiFi to macOS (on a MacBook)

Streaming an Android-based VR headset to your computer

Setting it up the first time

The first time you have to set it up with a cable. The Oculus Quest has a USB-C port (the one used for charging). Use this to connect to your computer.

Preparing your Oculus Quest

Your Quest needs to be in Developer mode. This is super easy, just open your companion app on your phone and go to Settings and enable Developer