Skip to content

Instantly share code, notes, and snippets.

View steveseguin's full-sized avatar
🎯
Focusing

Steve Seguin steveseguin

🎯
Focusing
View GitHub Profile
@steveseguin
steveseguin / install_gstreamer.sh
Last active November 3, 2022 17:21
gstreamer install script
#!/bin/bash
VERSION=1.12.4
mkdir ~/gstreamer_$VERSION
cd ~/gstreamer_$VERSION
wget https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$VERSION.tar.xz
wget https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$VERSION.tar.xz
wget https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$VERSION.tar.xz
@steveseguin
steveseguin / install_opencv.sh
Created February 13, 2018 17:33
install opencv 3.4
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
# 2. INSTALL THE DEPENDENCIES
# Build tools:
sudo apt-get install -y build-essential cmake
@steveseguin
steveseguin / install_tensorflow.sh
Created February 13, 2018 18:58
install tensorflow for ubuntu 16 and python+3.5
sudo apt-get update
sudo apt-get install python3-pip python3-dev -y
pip3 install tensorflow
@steveseguin
steveseguin / vimrc
Last active December 24, 2023 18:30
VIM configuration
" place at the end of ~/.vimrc ; create if not already there
" Also, "brew install vim", to install VIM if not already installed on mac. The default VI on MacOS sucks btw
set mouse-=a
set mouse=v
syntax on
set bs=2
set ruler
set paste
@steveseguin
steveseguin / classicube-map-generator.ipynb
Created December 31, 2019 11:13
ClassiCube Map Generator.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steveseguin
steveseguin / install.sh
Last active February 14, 2020 23:03
GStreamer and FFmpeg for Raspberry Pi ; master builds
#!/bin/bash --debugger
set -e
if grep -q BCM2708 /proc/cpuinfo; then
echo "RPI BUILD!"
RPI="1"
fi
grep -q BCM2 /proc/cpuinfo && sudo apt-get update && sudo apt-get upgrade -y
@steveseguin
steveseguin / getUserMedia.js
Last active April 21, 2020 23:05
Camera getUserMedia /w Mobile Support
function grabVideo(quality=0, audioEnable=false){
if( activatedPreview == true){log("activeated preview return");return;}
activatedPreview = true;
log(quality);
log("trying with quality:");
var audioSelect = document.querySelector('select#audioSource');
var videoSelect = document.querySelector('select#videoSource');
var iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
@steveseguin
steveseguin / CONTRIBUTING.md
Last active June 30, 2021 07:46
Contributions to projects

VDO.Ninja Contributor License Agreement (CLA)

To ensure the long-term viability of the open-source VDO.Ninja project, and for the protection of its creator and its users, we request that contributors to the project first agree to some basic terms. The terms when accepted applies to all of your past, present and future contributions.

Contribution Policy

Contributions that only take 20 lines of code or less will have its Intellectual Property implicitly transferred to Stephen Seguin, the creator of VDO.Ninja. You agree with this rule by pushing your code or works to github, by sending the code or works to one of VDO.Ninja's core developers, or by distributing your code or works in any other way.

For all code contributions that take more than 20 lines, you are invited to digitally sign the CLA with the provided CLA Assissant service. You may also print, sign, scan, and then email the CLA to steve@seguin.email.

@steveseguin
steveseguin / CONTRIBUTING.md
Last active September 13, 2020 02:44
simple cla

You hereby grant Steve Seguin (Steve) a perpetual, worldwide, royalty-free, irrevocable, non-exclusive, and transferable license to use, reproduce, prepare derivative works of, publicly display, publicly perform, distribute the submissions, and to sublicense such rights to others. The rights granted may be exercised in any form or format, and Steve may distribute and sublicense to others on any licensing terms, including without limitation: (a) open source licenses like the GNU General Public License (GPL), or the Berkeley Software Distribution license (BSD); or (b) binary, proprietary, or commercial licenses.

You hereby represent that you are the sole and original author of all Submissions and that, to the best of your knowledge, the submissions do not infringe upon the rights of any third party.

You implicitly agree to these terms with your continued submission.

body {
margin: 0;
}
video.tile {
position: absolute;
transform: rotate(90deg);
transform-origin: bottom left;
width: 100vh;