Skip to content

Instantly share code, notes, and snippets.

View socieboy's full-sized avatar
🤪

Frank Sepulveda socieboy

🤪
View GitHub Profile
@socieboy
socieboy / install_gstreamer.sh
Last active October 21, 2020 22:13 — forked from alasin/install_gstreamer.sh
Script for installing Gstreamer and plugins. Change version number accordingly.
#!/bin/bash
VERSION=1.16.2
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
@socieboy
socieboy / build-gstreamer.sh
Created June 8, 2019 19:23 — forked from jackersson/build-gstreamer.sh
Build gstreamer from source
#!/bin/bash
# Set your target branch
BRANCH="1.14.2"
exec > >(tee build-gstreamer.log)
exec 2>&1
[ ! -d orc ] && git clone git://anongit.freedesktop.org/git/gstreamer/orc
[ ! -d gstreamer ] && git clone git://anongit.freedesktop.org/git/gstreamer/gstreamer
@socieboy
socieboy / Cors.php
Last active May 24, 2016 17:46 — forked from jimmyrolando/Cors.php
Cors/Preflight Middleware for Laravel 5.2
<?php
namespace App\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\Response;
class Cors
{
/**
@socieboy
socieboy / pagination.vue
Created December 5, 2015 20:25 — forked from vinicius73/pagination.vue
VueJS Pagination directive
<template>
<ul class="pagination">
<li v-show="current_page != 1">
<a href="javascript:;"
aria-label="Previous"
v-on:click="previousPage()">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
<li v-for="page in total_pages"