Skip to content

Instantly share code, notes, and snippets.

View protyposis's full-sized avatar

Mario Guggenberger protyposis

View GitHub Profile
@protyposis
protyposis / tvunblock.sh
Created November 8, 2015 18:52
TVUnblock.com IP update script for OpenWRT
#!/bin/sh
# TVUnblock.com IP updater
# Checks for changed WAN IP and registers it at the TVUnblock service.
#
# Run this script periodically with cron or hook it to a WAN IP changed event.
# To run this script every 10 minutes with cron:
# */10 * * * * /pathtoscript/tvunblock.sh
#
# TVUnblock asks for only one activation request per hour, and may otherwise
# sanction clients with a ban. One hour is a pretty long time window though,
@protyposis
protyposis / MediaPlayerWorkarounds.java
Created March 12, 2017 22:19
MediaPlayer-Extended Workaround for Samsung libstagefright bug with JPEG thumbnail tracks
/*
* Copyright 2017 Mario Guggenberger <mg@protyposis.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software