Skip to content

Instantly share code, notes, and snippets.

View StrikerUnit's full-sized avatar

StrikerUnit StrikerUnit

View GitHub Profile
// This code is licensed under MIT license
using UnityEngine;
public class OscEyeTrackingSenderExample : MonoBehaviour
{
public string OscTargetIp = "127.0.0.1";
public int OscTargetPort = 9000;
public Transform EyeRoot;
public Transform EyeTarget;
@StrikerUnit
StrikerUnit / demo.py
Created May 7, 2022 04:58 — forked from francbartoli/demo.py
[Websocket demo for fastapi] example of broadcast using websockets for fastapi #fastapi #websockets
# From https://github.com/tiangolo/fastapi/issues/258
from typing import List
from fastapi import FastAPI
from starlette.responses import HTMLResponse
from starlette.websockets import WebSocket, WebSocketDisconnect
app = FastAPI()
@StrikerUnit
StrikerUnit / mamp.md
Created March 25, 2019 05:31 — forked from jfloff/mamp.md
How to get MAMP to work with SSL ... Yes really.

First of all you need to be able to run MAMP in port 80. This is a "heat check" if you don't have any process jamming http ports. You can check it like this:

sudo lsof | grep LISTEN

If you do happen to have any process with something like this *:http (LISTEN), you are in trouble. Before with adventure check if it isn't MAMP itself (yeah, you should close that beforehand)

ps <pid of that process>

If you don't see MAMP, you are in good hands, I have just the thing for you:

@StrikerUnit
StrikerUnit / IRAR
Last active September 13, 2017 21:16
Integrating IR-based AR in Cordova
#Integrating IR-based AR in Cordova
## Build Pipeline (iOS)
### Requirements
1. npm install -g ios-deploy
### Commands
@StrikerUnit
StrikerUnit / cloudSettings
Last active August 27, 2018 02:06
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-08-27T02:06:26.211Z","extensionVersion":"v3.1.0"}