Skip to content

Instantly share code, notes, and snippets.

@phalt
phalt / main.go
Created December 3, 2014 14:51
Simple HTTP API in Go
package main
import (
"github.com/gin-gonic/gin"
"database/sql"
"github.com/coopernurse/gorp"
_ "github.com/mattn/go-sqlite3"
"log"
"time"
"strconv"
@tarukosu
tarukosu / SpatialMappingNavMesh.cs
Created April 23, 2017 06:10
SpatialMappingNavMesh.cs
using HoloToolkit.Unity.SpatialMapping;
using UnityEngine;
using HoloToolkit.Unity;
public class SpatialMappingNavMesh : MonoBehaviour {
public GameObject SpatialMapping;
private void Awake () {
var spatialMappingSources = SpatialMapping.GetComponents<SpatialMappingSource>();
foreach (var source in spatialMappingSources)