Skip to content

Instantly share code, notes, and snippets.

View parsd's full-sized avatar

Sascha Dorenbeck parsd

  • Munich, Germany
View GitHub Profile
@parsd
parsd / CvbHandle.hpp
Created May 12, 2017 13:17
Smart handle implementation to automatically manage ownership of Common Vision Blox reference counted object handles.
// ---------------------------------------------------------------------------
/// \file CvbHandle.h
///
/// Declaration and implementation of CVB::CvbHandle.
///
/// This implementation requires C++ 11.
// ---------------------------------------------------------------------------
#pragma once
@parsd
parsd / Tex2Svg.md
Last active August 9, 2017 21:35
Convert TeX math expressions into svg via MathJax and Node.js

SVG from TeX Math Expression

Install Node.js

Install Node.js from https://nodejs.org or via your distrubution's package manager. So e.g. for Debian based distros like Ubuntu:

sudo apt install npm

and for Ubuntu to properly install some packages also

sudo apt install nodejs-legacy
@parsd
parsd / MSLoopbackAdapter.md
Last active April 16, 2020 09:19
Enable Microsoft Loopback Adapter.

Install the Microsoft Loopback Adapter

This network adapter is nice to test networking app without exposing them to your normal network. Screen shots are in German, the description is in English.

1. Start Administrator Command Line

Easiest way to do this is to press the Windows key and type cmd. Instead of just typing enter type Ctrl+Shift+Enter.

2. Start the Windows Hardware Wizard

In the opened command prompt form 1. type

hdwwiz
@parsd
parsd / DeviceImageExtensions.cs
Last active August 28, 2019 13:05
CVB.Net GigE Vision Chunk Parsing
using System;
using System.Diagnostics;
using System.Linq;
namespace Stemmer.Cvb.Driver
{
/// <summary>
/// Available GigE Vision transport payload types.
/// </summary>
/// <remarks>