Can be used for streaming data (webcam or screen capture) from the Windows to WSL
Run from a WSL terminal
ip route list default | awk '{print $3}'| // Based on https://gist.github.com/halmartin/28e013a9034be04777073bccc918cb95 (python) | |
| // And uses Crc32 and Base32 from other github code | |
| // Code should run on .NET Framework 4.7+ | |
| using System.Security.Cryptography; | |
| // The 3 constants is byte definitions inside the library mentioned in the original code | |
| // These should be HEX encoded to strings without leading 0x, i.e. "0d0a" etc. | |
| const string AES_IV = "";// This is one of the values you need to dig out of the library; | |
| const string HMAC_KEY = "";// This is one of the values you need to dig out of the library | |
| const string HMAC_MSG_RAW = "";// This is one of the values you need to dig out of the library |
Can be used for streaming data (webcam or screen capture) from the Windows to WSL
Run from a WSL terminal
ip route list default | awk '{print $3}'You should not use the Open SSH client that comes with Git for Windows. Instead, Windows 10 has its own implementation of Open SSH that is integrated with the system. To achieve this:
ssh-agent from Windows Services:Services in the Start Menu or Win+R and then type services.msc to launch the Services window;OpenSSH Authentication Agent in the list and double click on it;OpenSSH Authentication Agent Properties window that appears, choose Automatic from the Startup type: dropdown and click Start from Service status:. Make sure it now says Service status: Running.git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe
| package com.satya.arcoresample | |
| import android.content.Context | |
| import android.hardware.Sensor | |
| import android.hardware.SensorEvent | |
| import android.hardware.SensorEventListener | |
| import android.hardware.SensorManager | |
| import android.location.Location | |
| import android.os.Build | |
| import android.os.Bundle |
| // Simplified SDF shader: | |
| // - No Shading Option (bevel / bump / env map) | |
| // - No Glow Option | |
| // - Softness is applied on both side of the outline | |
| Shader "TextMeshPro/Mobile/Distance Field Instanced" { | |
| Properties { | |
| _FaceColor ("Face Color", Color) = (1,1,1,1) | |
| _FaceDilate ("Face Dilate", Range(-1,1)) = 0 |
Taken from StackExchange
Thanks to LangLangC
Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
| using System.Collections.Generic; | |
| /// <summary>A Kalman filter implementation for <c>float</c> values.</summary> | |
| public class KalmanFilterFloat { | |
| //----------------------------------------------------------------------------------------- | |
| // Constants: | |
| //----------------------------------------------------------------------------------------- | |
| public const float DEFAULT_Q = 0.000001f; |
| <# | |
| .SYNOPSIS | |
| Script to Initialize my custom powershell setup. | |
| .DESCRIPTION | |
| Script uses scoop | |
| .NOTES | |
| **NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
| Author: Mike Pruett | |
| Date: October 18th, 2018 |
| using System.Linq; | |
| using System.IO; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| public static class BuildHelper | |
| { | |
| private static string _buildLocation; | |
| public static void Windows() |