Skip to content

Instantly share code, notes, and snippets.

@avilleret
avilleret / build_gstreamer_from_source.sh
Created November 27, 2018 16:09
build GStreamer from source
#!/bin/bash
# build gstreamer from source on Ubuntu 18.04
sudo apt-get install bison flex gtk-doc-tools
mkdir gstreamer
cd gstreamer
git clone --depth https://github.com/GStreamer/gstreamer.git
git clone --depth=1 https://github.com/GStreamer/gst-plugins-base.git
git clone --depth=1 https://github.com/GStreamer/gst-plugins-good.git
@avilleret
avilleret / build-tensorflow-from-source.sh
Created September 19, 2018 07:15
Building tensorflow 1.7.1 from source on Ubuntu 18.04 to get rid of 'invalid instruction' error
#How to build tensorflow 1.7.1 from source on Ubuntu 18.04
#=========================================================
# Bazel
## install bazel depencies
sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python
## download Bazel 0.9 (see compatibility chart on https://www.tensorflow.org/install/install_sources)
@avilleret
avilleret / config
Last active January 1, 2024 11:36
i3 configuration for Ubuntu 16.04 & 18.04
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
# Configure border style <normal|1pixel|pixel xx|none|pixel>