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
Shader "Pristine Grid" | |
{ | |
Properties | |
{ | |
[KeywordEnum(MeshUV, WorldX, WorldY, WorldZ)] _UVMode ("UV Mode", Float) = 2.0 | |
_GridScale ("Grid Scale", Float) = 1.0 | |
_LineWidthX ("Line Width X", Range(0,1.0)) = 0.01 | |
_LineWidthY ("Line Width Y", Range(0,1.0)) = 0.01 |
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
namespace Neural | |
type Id = System.String | |
type Id<'T> = | |
| Id of Id | |
override this.ToString () = match this with Id id -> id | |
type IEntity = | |
abstract References : Id seq with get | |
abstract DeleteReference : Id -> IEntity option |
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
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
Task.WaitAll(ExecuteAsync()); | |
Console.ReadLine(); | |
} | |
public static async Task ExecuteAsync() | |
{ |
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
@echo off | |
rem works with https://github.com/chrisheckey/openvdb/tree/win_build | |
call :DATETIME | |
echo Started Building OpenVDB on %_DATETIME% | |
title OpenVDB Build %_DATETIME% | |
setlocal | |
:: Clone |
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
# To use this custom JsonEncoder class, you have to create a __json__() named | |
# function in each sqlalchemy model class, which basically return a list of model | |
# class attributes to be parsed, otherwise all attributes are processed present | |
# in `dir(class_name)`. | |
# | |
# Model Example: | |
# class User(db.Model): | |
# id = db.Column(db.Integer, primary_key=True) | |
# name = db.Column(db.String(100)) | |
# email = db.Column(db.String(100)) |