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; | |
using System.Collections; | |
using Leap; | |
public class PinchBehavior : MonoBehaviour { | |
[SerializeField] | |
private float _startPinch = 0.75f; | |
[SerializeField] | |
private float _endPinch = 0.5f; |
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; | |
using System.Collections; | |
using Leap; | |
public class CursorBehavior : MonoBehaviour { | |
private Controller _leapController; | |
[SerializeField] | |
private Vector3 _leapCoordsMin; |
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; | |
using System.Collections; | |
using System; | |
using System.Net.Sockets; | |
using System.Net; | |
using System.Text; | |
public class UdpClient : MonoBehaviour { | |
private static string ip = "192.168.0.0.1"; | |
private static int port = 9002; |
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
class DataServer { | |
//Data for Setting Up the Socket Server | |
int sport = 9002; | |
Server myServer; | |
DataServer(PApplet parent) { | |
//Setup the socket server | |
myServer = new Server(parent, sport); | |
} | |
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; | |
using System.Collections; | |
public class CarControls : MonoBehaviour { | |
public float rotationRange = 1.0f; | |
public float minSpeed = 0.0f; | |
public float maxSpeed = 20.0f; | |
public float carSpeed = 10.0f; | |
private float carRotation = 0.0f; |
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
nm -m -o -g [libname].a | c++filt -p -i | grep [filter] |
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
*.sln | |
*.userprefs | |
*.csproj | |
*.pidb | |
*.unityproj | |
*.svd | |
*.suo | |
*.user | |
*.booproj | |
/Library/FailedAssetImports.txt |
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 csv | |
import re | |
logFile = "sqlout.csv" | |
logFile2 = "out2.csv" | |
validNames = ['cody','cory', 'daniel','nate','chris','ian','amanda','mike'] | |
pos_results = list() | |
neg_results = list() |
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
arecord -c1 -Dplughw:1,0 -f cd -vv /dev/null |
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
#Sifteo Setup | |
export SDK_DIR=/Users/RandomOutput/Developer/Sifteo/SDK/sifteo-sdk-mac64-v1.0.0-71-g0792e5f | |
#PATH Setup | |
PATH=$PATH:$HOME/bin:/Users/RandomOutput/Developer/Sifteo/SDK/sifteo-sdk-mac64-v1.0.0-71-g0792e5f/bin |
NewerOlder