Skip to content

Instantly share code, notes, and snippets.

@mrbar42
mrbar42 / README.md
Last active November 13, 2024 21:57
bash scripts to create VOD HLS stream with ffmpeg almighty (tested on Linux and OS X)

running:

bash create-vod-hls.sh beach.mkv

will produce:

    beach/
      |- playlist.m3u8
 |- 360p.m3u8
@mejje
mejje / patch.diff
Created March 1, 2017 22:15
SVG importer 1.3.1 shader fixes for Unity 5.5
From 481b318b11a4c572315f4ea47fd58690263e5330 Mon Sep 17 00:00:00 2001
Date: Wed, 1 Mar 2017 21:25:06 +0100
Subject: [PATCH] SVG importer shader fixes
---
.../Shaders/Resources/Standard/UnitySVG.cginc | 64 +++++++++++++---------
1 file changed, 38 insertions(+), 26 deletions(-)
diff --git a/Assets/SVG Importer/Plugins/Shaders/Resources/Standard/UnitySVG.cginc b/Assets/SVG Importer/Plugins/Shaders/Resources/Standard/UnitySVG.cginc
index e2fd6b0..5ab3afd 100644
class CreateUser < Context
def initialize(attributes)
@attributes = attributes
end
def self.call(*args)
new(*args).tap(&:call)
end
def callback(*args)
@lacostej
lacostej / android_set_manifest.sh
Created March 29, 2012 08:51
A script to post process the AndroidManifest.xml using apktool
# taken from http://forum.unity3d.com/threads/84953-Android-Permissions-and-the-Manifest.xml
#
if [ $# -ne 3 ]; then
echo "ERROR Missing argument"
echo "Usage: $0 file.apk newmanifest.xml target.apk"
exit -1
fi
APK=$1
MANIFEST=$2