Skip to content

Instantly share code, notes, and snippets.

View rygo6's full-sized avatar

Ryan Goodrich rygo6

View GitHub Profile
@rygo6
rygo6 / .gitattributes
Created December 19, 2022 08:12
.gitattributes
*.cs diff=csharp text
*.cginc text
*.shader text
*.dat filter=lfs diff=lfs merge=lfs -text
*.DAT filter=lfs diff=lfs merge=lfs -text
*.a filter=lfs diff=lfs merge=lfs -text
*.A filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.MP3 filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
@rygo6
rygo6 / WASMTests.cs
Created December 24, 2021 00:12
Marshall string from C# to wasmer.
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using UnityEngine;
using WasmerSharp;
public class WASMTests : MonoBehaviour
{
@rygo6
rygo6 / ViveTrackerControllerProfile.cs
Created December 17, 2021 08:08
ViveTrackerControllerProfile.cs v2
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Controls;
using UnityEngine.InputSystem.Layouts;
using UnityEngine.InputSystem.XR;
using UnityEngine.Scripting;
#if UNITY_EDITOR
using UnityEditor;
#endif
@rygo6
rygo6 / ViveTrackerControllerProfile.cs
Created December 14, 2021 23:10
ViveTrackerControllerProfile for com.unity.xr.openxr Unity OpenXR Plugin
// this doesnt work
using System.Collections.Generic;
using Unity.XR.OpenVR;
using UnityEngine.InputSystem.Layouts;
using UnityEngine.InputSystem.XR;
#if UNITY_EDITOR
using UnityEditor;
#endif
@rygo6
rygo6 / gist:c1e20c9ce879a5a5e0bde885a0f20230
Created November 26, 2021 10:07
Rust WasmTime Problem.
struct Atype
{
table: Table,
linker: Linker,
}
impl Atype
{
pub fn new() -> Self
{
@rygo6
rygo6 / .gitignore
Created April 10, 2021 03:27
.gitignore for Unity project
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
Assets/AssetStoreTools*
.DS_Store
.idea/
/Assets/Plugins/Editor/JetBrains/
/Assets/Plugins/Editor/JetBrains.meta
@rygo6
rygo6 / .gitattributes
Created April 10, 2021 03:23
.gitattributes for LFS with an Unity Project
*.cs diff=csharp text
*.cginc text
*.shader text
*.dat filter=lfs diff=lfs merge=lfs -text
*.DAT filter=lfs diff=lfs merge=lfs -text
*.a filter=lfs diff=lfs merge=lfs -text
*.A filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.MP3 filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
@rygo6
rygo6 / Android Privacy Policy Template
Created June 23, 2019 21:48 — forked from alphamu/Android Privacy Policy Template
A template for creating your own privacy policy for Android apps. Look for "[" and "<!--" to see where you need to edit this app in order to create your own privacy olicy.
<html>
<body>
<h2>Privacy Policy</h2>
<p>[Individual or Company Name] built the [App Name] app as a [open source | free | freemium | ad-supported | commercial] app. This SERVICE is provided by [Individual or company name] [at no cost] and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding [my|our] policies with the collection, use, and
disclosure of Personal Information if anyone decided to use [my|our] Service.</p>
<p>If you choose to use [my|our] Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that [I|we] collect are used for providing and
improving the Service. [I|We] will not use or share your information with anyone except as described
ryan@ryan-ubuntu:~/Developer/AliceVisionAutoBuild/build$ make -j8
[ 1%] Performing update step for 'ilmbase'
[ 9%] Built target turbojpeg
[ 26%] Built target tiff
[ 26%] Built target png
[ 34%] Built target geogram
[ 42%] Built target eigen
[ 51%] Built target boost
[ 59%] Built target ceres
Current branch develop_compatibility_gxx4 is up to date.
PYTHONPATH=$PWD PATH=$PATH:/home/ryan/Developer/build/Linux-x86_64/ python meshroom/ui
Plugins loaded: CameraCalibration, CameraConnection, CameraInit, CameraLocalization, CameraRigCalibration, CameraRigLocalization, ConvertAnimatedCamera, ConvertSfMFormat, DepthMap, DepthMapFilter, ExportAnimatedCamera, ExportMaya, ExportUndistortedImages, FeatureExtraction, FeatureMatching, ImageMatching, ImageMatchingMultiSfM, KeyframeSelection, MeshDecimate, MeshDenoising, MeshFiltering, MeshResampling, Meshing, PrepareDenseScene, Publish, SfMAlignment, SfMTransform, StructureFromMotion, Texturing
Plugins loaded: AppendFiles, AppendText, Ls
[2018-07-20 13:53:02,465][WARNING] == Error while loading the following plugins ==
* simpleFarmSubmitter: No module named simpleFarm
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_s