Skip to content

Instantly share code, notes, and snippets.


Oxan van Leeuwen oxan

  • The Netherlands
View GitHub Profile
oxan /
Last active Oct 3, 2021
Stream server (serial-to-wifi bridge) for ESPHome
oxan / Embedded.php
Created Jun 3, 2018
Override API platform embedding decisions
View Embedded.php
// src/Serializer/Embedding/Embedded.php
namespace App\Serializer\Embedding;
* @Annotation
* @Target({"PROPERTY", "METHOD"})
class Embedded
oxan /
Last active Dec 17, 2015
DirectShowFilters extraction code
cd MediaPortal-1
test -d .git || exit 1
# get a unique list of all files in the root and in the mediaportal/ and TvEngine3/ directory
git rev-list HEAD | xargs -n1 -I%rev -- git ls-tree --name-only --full-name %rev ./ mediaportal/ TvEngine3/ > $tmp
# remove everything but the (TvEngine3|mediaportal)/Filters and DirectShowFilters directory
oxan / gist:3795542
Created Sep 27, 2012
MPExtended StreamingProfiles.xml
View gist:3795542
<?xml version="1.0" encoding="utf-8"?>
<StreamingProfiles xmlns:xsi="" xmlns:xsd="" xmlns="">
WARNING: Please note that changes to this file will be overwritten on a MPExtended update.
<!-- Direct profile -->