Skip to content

Instantly share code, notes, and snippets.

View socieboy's full-sized avatar
🤪

Frank Sepulveda socieboy

🤪
View GitHub Profile
@socieboy
socieboy / gulpfile.js
Created December 2, 2015 04:48
Gulpfile for AdminLTE and Laravel Elixier
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Sass
| file for our application, as well as publishing vendor resources.
@socieboy
socieboy / bootstrap.js
Last active December 2, 2015 04:51
Boot JS file for AdminLTE
window.$ = window.jQuery = require('jquery')
// Including Bootstrap Javascript
require('bootstrap-sass')
@socieboy
socieboy / custom.less
Last active December 2, 2015 04:54
Required to AdminLTE and Laravel Elixier
// Place any custom Style here!
@socieboy
socieboy / package.json
Created December 2, 2015 04:51
Package.json for Laravel Elixier and AdminLTE
{
"private": true,
"devDependencies": {
"gulp": "^3.8.8"
},
"dependencies": {
"bootstrap-sass": "^3.0.0",
"jquery": "^2.1.4",
"laravel-elixir": "^4.0.0",
"vue": "^1.0.7",
@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"
<?php
return [
"Alabama" => [
"Autauga County",
"Baldwin County",
"Barbour County",
"Bibb County",
"Blount County",
"Bullock County",
"Butler County",
@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 / 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 / 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