This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extends KinematicBody | |
| const friction = 24 | |
| const gravity = -9.8 * 3 | |
| const mouseSensitivity = .05 | |
| var velocity = Vector3() | |
| var move_speed = 0 | |
| var look_speed = 0 | |
| func _ready(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class MessageSender : MonoBehaviour | |
| { | |
| public OSC osc; | |
| public float val; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class FrequencyReceiver : MonoBehaviour | |
| { | |
| public OSC osc; | |
| void Start() | |
| { | |
| osc.SetAddressHandler("/Frequency", OnReceiveFrequency); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class MIDIPitchReceiver : MonoBehaviour | |
| { | |
| public OSC osc; | |
| void Start() | |
| { | |
| osc.SetAddressHandler("/Note1", OnReceiveNote1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class AbletonLinkTest : MonoBehaviour | |
| { | |
| private AbletonLink link; | |
| void Start() | |
| { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Reset the OpenWRT Router to it's default settings. | |
| 2. Click Network -> Wireless. | |
| 3. Select radio0 -> Scan | |
| 4. Select the WiFi network you want to connect to and press Join Network | |
| 5. Enter the security key | |
| 6. Press submit | |
| 7. In the Device Configuration page, at the bottom under Interface Configuration -> Network, select 'Lan', as well as 'WWAN' which should already be selected. | |
| 8. Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Increase RoR2 playersize to 16. | |
| Only the host needs to follow these instructions. | |
| Download this file: https://www.mediafire.com/file/r55lws27crjykgs/Risk_of_Rain_2.zip/file | |
| Extract it into your RoR2 folder so that winhttp.dll is right next to 'Risk of Rain2.exe' | |
| When you start RoR2, the version at the top left should say MOD. | |
| open up the console with <ctrl> + <alt> + <`> | |
| type in `build_id_steam ` to change your version number to the current build-id so that non-modded players can join you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <ESP8266WiFi.h> | |
| #include <ESP8266WebServer.h> | |
| ESP8266WebServer server(80); | |
| void setup() { | |
| Serial.begin(115200); | |
| Serial.println(); | |
| Serial.print("Setting soft-AP ... "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import re | |
| #Gets the number of seconds recorded from any line in the log file. | |
| def getTimeFromLogLine(logLine): | |
| expression = re.compile("[\d.]+(\s?s)") | |
| time = expression.search(logLine.rstrip()) | |
| return float(time.group().replace(" ","").replace("s","")) | |
| #A range of data that contains both a begining, and an "(exit code 1)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Timers; | |
| /* Profiler class will be used to capture many samples over time. | |
| * Each instance of this class can be used to capture data from different sources (Memory, GPU, CPU, etc) | |
| * | |
| * | |
| */ |