Skip to content

Instantly share code, notes, and snippets.

@jackersson
jackersson / Dockerfile
Last active March 25, 2020 10:06
Gstreamer-1.0+Python3.6-Ubuntu-18-Docker-Installation
FROM ubuntu:18.04
USER root
RUN apt-get update && apt-get -y --no-install-recommends install \
sudo \
vim \
wget \
build-essential \
pkg-config \
@jakelear
jakelear / index.slim
Created June 8, 2017 15:34
WebGL video through shader
<script id="shader-fs" type="x-shader/x-fragment">
'
varying highp vec2 vTextureCoord;
varying highp vec3 vLighting;
#ifdef GL_ES
precision highp float;
#endif
uniform highp vec2 resolution;
@akoluthic
akoluthic / Ubuntu12.04-g++4.8
Created September 1, 2013 13:35
Install g++ 4.8 on Ubuntu 12.04
*Add the toolchain/test PPA*
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
*If you ever want to update symlinks for a future version:*
sudo rm /usr/bin/g++
sudo ln -s /usr/bin/g++-4.XXX /usr/bin/g++