Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Mikelantonio's full-sized avatar

Michelantonio Trizio Mikelantonio

View GitHub Profile
Mikelantonio / PoseController.cs
Created November 24, 2016 16:12
Tango codelab (Zaniah SDK) controller update
using UnityEngine;
using System.Collections;
using Tango;
using System;
public class PoseController : MonoBehaviour , ITangoPose {
private TangoApplication m_tangoApplication; // Instance for Tango Client
private Vector3 m_tangoPosition; // Position from Pose Callback
private Quaternion m_tangoRotation; // Rotation from Pose Callback
private Vector3 m_startPosition; // Start Position of the camera
Mikelantonio / designer.html
Last active August 29, 2015 14:16
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
:host {
position: absolute;
Mikelantonio /
Created February 4, 2015 22:57
weather parsing json
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class WeatherDataParser {
* Given a string of the form returned by the api call:
* retrieve the maximum temperature for the day indicated by dayIndex