Skip to content

Instantly share code, notes, and snippets.

@hamanishi
hamanishi / tfjs_converter_source.ipynb
Last active March 6, 2019 14:47
tfjs_converterをsourceからいれる
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamanishi
hamanishi / savedmodelcreatesample_hmns.ipynb
Created March 4, 2019 23:09
SavedModelCreateSample_hmns.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PointCloudRender : MonoBehaviour {
void Start ()
{
MeshFilter meshFilter = GetComponent<MeshFilter>();
meshFilter.mesh.SetIndices(meshFilter.mesh.GetIndices(0),MeshTopology.Points, 0);
@hamanishi
hamanishi / unity_uninstall_completly
Last active October 28, 2017 19:13
```unity 'NSInternalInconsistencyException' crash``` とかで意味わかなくなって,unityを完全にunistallしたいとき用
//こうする
https://forum.unity.com/threads/uninstalling-unity-on-mac.395154/
//unity起動中に
sudo rm -r ~/Library/Caches/*
//とかしちゃう系の人用
sudo du -g -x -d 5 / | awk '$1 >= 5{print}'
@hamanishi
hamanishi / 0_reuse_code.js
Created April 29, 2017 17:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
import hypermedia.net.*;
static final String IP = "239.255.42.99";
static final int PORT = 1510;
UDP udp;
void setup() {
size(640, 480);