I hereby claim:
- I am mnstrspeed on github.
- I am tsndrs (https://keybase.io/tsndrs) on keybase.
- I have a public key ASAOAHR4FIqawCuZjBD2i7Bv1hCvpgQX7MtB6K8JVXG4BQo
To claim this, I am signing this object:
| bl_info = { | |
| "name": "ExportWebGL", | |
| "category": "Object", | |
| } | |
| import bpy | |
| from bpy_extras.io_utils import ExportHelper | |
| from bpy.props import StringProperty, BoolProperty, IntProperty, FloatProperty, EnumProperty | |
| flatten = lambda l: [item for sublist in l for item in sublist] |
| using UnityEngine; | |
| public class RectangularGainLocomotion : MonoBehaviour | |
| { | |
| public Transform Head; | |
| public float Gain = 1f; | |
| public Vector2 NeutralAreaSize = Vector2.one; | |
| [Header("Visual helpers")] | |
| public Transform NeutralAreaPreview; |
| using UnityEngine; | |
| public class SimpleGainLocomotion : MonoBehaviour | |
| { | |
| public Transform Head; | |
| public float Gain = 1f; | |
| void Update() | |
| { | |
| Vector3 localPlayerPosition = this.transform.InverseTransformPoint(this.Head.position); |
| using System; | |
| using System.IO; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class MotionCapture : MonoBehaviour | |
| { | |
| public SteamVR_TrackedObject Hmd; | |
| public SteamVR_TrackedController Left; |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # resource ID of the video, can be obtained from the video URL: | |
| # https://collegerama.tudelft.nl/Mediasite/Play/485dbc9fac81446bae6b2ba2fe0571ac1d?catalog=cf028e9a-2a24-4e1f-bdb5-2ace3f9cd42d | |
| # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| id=$1 | |
| SERVICE_ENDPOINT="https://collegerama.tudelft.nl/Mediasite/PlayerService/PlayerService.svc/json/GetPlayerOptions" | |
| params="{\"getPlayerOptionsRequest\":{\"ResourceId\":\"${id}\",\"QueryString\":\"?catalog=cf028e9a-2a24-4e1f-bdb5-2ace3f9cd42d\",\"UseScreenReader\":false,\"UrlReferrer\":\"\"}}" |
| mkdir /etc/event | |
| curl -s https://gist.githubusercontent.com/mnstrspeed/e032c26f7fbd4f36c687/raw/b4c9977f5522e32a810b6e1d5514cdfef46f158c/trigger > /etc/event/trigger | |
| chmod +x /etc/event/trigger | |
| ln -s /etc/event/trigger /usr/bin/trigger |
| #! /bin/bash | |
| # shitstorm.sh keeps throwing ungraded work at | |
| # you until you beg for mercy | |
| EDITOR="vi -p" | |
| for fulldir in "${1:+$1/}"[sez][0-9]*; do | |
| dir="${fulldir##*/}" | |
| file="${fulldir}/${dir}.txt" | |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| ol { | |
| color: #eee; | |
| font-family: monospace; | |
| } | |
| pre { | |
| margin: 0; | |
| } |
| public class CamelCase { | |
| public static void main(String[] args) { | |
| String line = "if at lake and lake has not been probed, blink lights, probe lake, steer away from obstacles"; | |
| System.out.println(toCamelCase(line) + "Rule"); | |
| // IfAtLakeAndLakeHasNotBeenProbedThenBlinkLightsThenProbeLakeThenSteerAwayFromObstaclesRule | |
| } | |
| private static String toCamelCase(String line) { | |
| StringBuilder builder = new StringBuilder(); |