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}'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}'NOTE: This is now outdated. See the Doppler PHP examples repository instead.
Created: 26 October 2020
Author: Ryan Blunden (ryan.blunden@doppler.com)
OS: Ubuntu 20.04
| 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; |
| #!/bin/bash | |
| for i in *.gif; do | |
| ffmpeg -i "$i" -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" "${i%.*}.mp4"; | |
| done |
| /* | |
| Goal : instantly play any wav source without download the file and without <audio/> | |
| Idea is to use the fetch streaming API and pass raw data to web audio | |
| My use case is playng a wav file | |
| following http://stackoverflow.com/questions/38589614/webaudio-streaming-with-fetch-domexception-unable-to-decode-audio-data/38593356#38593356 |
| // Copyright (c) 2016 StagPoint Software | |
| namespace StagPoint.Networking | |
| { | |
| using System; | |
| using UnityEngine; | |
| using UnityEngine.Networking; | |
| /// <summary> | |
| /// Provides some commonly-used functions for transferring compressed data over the network using |
| using UnityEngine; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Threading; | |
| class BitmapEncoder | |
| { | |
| public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData) |
#SwitchResX Settings for LG 21:9 UltraWide
SwitchResX is a utility that allows users to override the default resolution settings in OSX. For more information, including download links, vist http://www.madrau.com/ .
##Disabling System Integrity Protection (SIP)
If you are running OSX 10.11 or higher, SIP must be disabled. To disable SIP do the following:
| using System; | |
| using System.IO; | |
| using System.Net; | |
| using System.Text; | |
| using System.Collections.Generic; | |
| public class SSEvent { | |
| public string Name { get; set; } | |
| public string Data { get; set; } |