Helio adds these globals to the Window:
- MLAnimationEvent
- volume
property
- model
property
- animationName
property
- type
property
- volume
#!/usr/bin/env bash | |
# | |
# Run from the project root. Pass the full name of a script, or substring of the names of the scripts to check. | |
# | |
# Example | |
# $) ./findrefs.sh BackgroundCamera | |
# Finding matches for script Assets/Scripts/Camera/BackgroundCamera.cs.meta ... | |
# Assets/Prefabs/CaveBGCamera.prefab: m_Script: {fileID: 11500000, guid: 7e63acfee367c4314852b87218149bd3, type: 3} | |
# Assets/Prefabs/ForestBGCamera.prefab: m_Script: {fileID: 11500000, guid: 7e63acfee367c4314852b87218149bd3, type: 3} | |
# |
#!/usr/bin/python | |
import httplib2 | |
import os | |
import sys | |
from apiclient.discovery import build | |
from apiclient.errors import HttpError | |
from oauth2client.client import flow_from_clientsecrets | |
from oauth2client.file import Storage |
Hotkey, F8, EarlyTerm ; Quick kill command. Hit PAUSE key at any time on the keyboard to kill the script | |
Loop ;This is the loop. When you run this script, AHK will set the volume at desired level then wait .5 seconds then will repeat forever until you press the PAUSE key, which will kill the script. | |
{ | |
SoundSet, 100, MASTER, VOLUME, 3 | |
Sleep, 200 | |
} | |
; SoundSet = AHK Command; MASTER = ComponentType; VOLUME = ControlType (This is the volume you are setting the mic at); 6 = DeviceNumber ; DeviceNumber will vary from system to system. Please run the soundcard analysis script to find out what the DeviceNumber of your microphone is. This script can be found in the AHK help here: https://autohotkey.com/docs/commands/SoundSet.htm#Ex . The soundcard analysis script is not very descriptive, so a good way to glean the information you require is to set the volume of the mic you are interested to something wierd, like 57, from within the Windows recording devices Properties interface. Then, run the soundcard analysis s |
(() => { | |
const actionMap = { | |
space: () => console.log("---------------------------"), | |
dispatch: () => window.dispatchEvent(new CustomEvent("printstate")) | |
}; | |
const actions = Object.keys(actionMap); | |
let lastActionTime = Date.now(); | |
if (window.recognition) window.recognition.stop(); | |
window.recognition = new webkitSpeechRecognition(); |
robot-websocket is a websocket server that runs robotjs commands when it receives messages. |
node_modules | |
package-lock.json |
let calls = { qsa: 0 }; | |
const origNodeSetAttribute = AFRAME.ANode.prototype.setAttribute; | |
AFRAME.ANode.prototype.setAttribute = function() { | |
const name = `nsa-${arguments[0]}`; | |
if (!calls[name]) calls[name] = 0; | |
calls[name]++; | |
if (scene.stats) scene.stats(name).set(calls[name]); | |
return origNodeSetAttribute.apply(this, arguments); | |
}; | |
const origNodeGetAttribute = AFRAME.ANode.prototype.getAttribute; |
import * as glm from "gl-matrix"; | |
import * as lumin from "lumin"; | |
import { EntityManager } from "tiny-ecs"; | |
import * as configDefaults from "./config.defaults"; | |
import * as configOverrides from "./config"; | |
const config = Object.assign({}, configDefaults, configOverrides); | |
export class App extends lumin.LandscapeApp { | |
onAppStart() { |
(() => { | |
class Viewer { | |
constructor(slides) { | |
this.slides = slides; | |
this.currentIndex = 0; | |
const block = "https://poly.google.com/view/0LfGexYbqij"; | |
const root = spawnMedia(AFRAME.scenes[0], { resize: false, src: block }); | |
const title = spawnMedia(root, { resolve: false }); |