Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
# Build gstreamer for Raspberry Pi
# Edit the SRC and DEST environment variables at the top and then
# run this script. You'll need to add the following two envronment
# variables to your .profile
#
# LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${PREFIX}/lib"
# PATH="${PATH}:${PREFIX}/bin"
#
@yuyou
yuyou / build-gstreamer.sh
Last active April 6, 2020 11:44 — forked from damiandixon/build-gstreamer.sh
Build gstreamer from source with Qt plugin and Nvidia NVENC support
#!/bin/bash
# Set your target branch
BRANCH="1.16.2"
exec > >(tee build-gstreamer.log)
exec 2>&1
sudo apt-get install -y build-essential autotools-dev automake autoconf \
@yuyou
yuyou / # opencv3 - 2017-05-03_12-33-01.txt
Created May 5, 2017 06:39
opencv3 (homebrew/science/opencv3) on macOS 10.12.4 - Homebrew build logs
Homebrew build logs for homebrew/science/opencv3 on macOS 10.12.4
Build date: 2017-05-03 12:33:01
<!doctype html>
<html>
<head>
<title>SFM Data Viewer</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r79/three.min.js"></script>
<!-- https://github.com/mrdoob/stats.js -->
@yuyou
yuyou / hello.py
Created April 19, 2016 11:13
A test Airflow dag to show the monthly "schedule_interval".
from airflow.operators import BashOperator
from airflow.models import DAG
from datetime import datetime, timedelta
args = {
'start_date': datetime.utcnow(),
'owner': 'airflow',
}