This file contains 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 UnityEngine; | |
namespace Sensel | |
{ | |
class SenselContacts : MonoBehaviour | |
{ | |
private IntPtr handle = IntPtr.Zero; | |
private SenselFrame frame = new SenselFrame(); | |
private SenselSensorInfo sensorInfo = default(SenselSensorInfo); |
This file contains 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 UnityEngine; | |
namespace Sensel | |
{ | |
class SenselContacts : MonoBehaviour | |
{ | |
IntPtr _handle = IntPtr.Zero; | |
SenselFrame _frame = new SenselFrame(); | |
SenselSensorInfo _sensor_info; |
This file contains 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
{ | |
"attachment":[ | |
{ | |
"buttons":[ | |
{ | |
"value":"CHOICE_1", | |
"text":"Tal\u00e1n ink\u00e1bb azt, akit m\u00e1sodszor mondott a b\u00e1csi.", | |
"type":"postback" | |
}, | |
{ |
This file contains 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 System.Text; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
using UnityEngine.UI; | |
public class PostJSON : MonoBehaviour | |
{ | |
public TextboxController TextBox; |
This file contains 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
private float Map(float input, float inputMin, float inputMax, float min, float max) | |
{ | |
return min + (input - inputMin) * (max - min) / (inputMax - inputMin); | |
} |
This file contains 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 System.Text; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
public class PostJSON : MonoBehaviour | |
{ | |
private string url = "http://devops.kibu.hu/python/phemia/echo.py"; | |
private string testJson = "{\"sender\":{\"id\":1},\"recipient\":{\"id\":2},\"text\":\"ping\"}"; |
This file contains 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 UnityEngine; | |
using UnityEngine.Windows.Speech; | |
using System.Linq; | |
public class DictationController : MonoBehaviour | |
{ | |
DictationRecognizer dictationRecognizer; | |
void Awake() |
This file contains 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
Traceback (most recent call last): | |
File "main.py", line 776, in <module> | |
File "main.py", line 772, in __main__ | |
KeyboardInterrupt: | |
MicroPython v1.8.5-49-g760ed46-dirty on 2016-10-25; STMBED30 with STM32F405RG | |
Type "help()" for more information. | |
>>> api_measure("Measurement", 9) | |
~GUID~Measurement | |
313.9 33892 | |
316.7 34332 |
This file contains 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
Traceback (most recent call last): | |
File "main.py", line 784, in <module> | |
File "main.py", line 778, in __main__ | |
File "ux.py", line 74, in disp | |
File "ssd1306.py", line 544, in text | |
File "ssd1306.py", line 248, in set_pixel | |
File "ssd1306.py", line 625, in set_pixel | |
KeyboardInterrupt: | |
MicroPython v1.8.5-49-g760ed46-dirty on 2016-10-25; STMBED30 with STM32F405RG | |
Type "help()" for more information. |
This file contains 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
# deviceType can be either "phone" or "desktop" | |
Framer.DeviceView.Devices["custom"] = | |
"deviceType": "desktop" | |
"screenWidth": 1366 | |
"screenHeight": 663 | |
"deviceImage": "https://dl.dropboxusercontent.com/u/15125393/Framer/Chrome%20Framer%20Template.png" | |
"deviceImageWidth": 1466 | |
"deviceImageHeight": 1000 | |
# Set custom device |
NewerOlder