Skip to content

Instantly share code, notes, and snippets.

View VladDobrescu's full-sized avatar

Vlad Dobrescu VladDobrescu

  • FubarDigital
  • Romania
View GitHub Profile
@VladDobrescu
VladDobrescu / gulpfile.js
Created December 5, 2018 14:29
gulp config file
/*
Required packages need to be installed with
npm or yarn or whatever
*/
const gulp = require('gulp'); // task runner
const imagemin = require('gulp-imagemin'); // image minification plugin
const uglify = require('gulp-uglify'); //javascript minification plugin
const sass = require('gulp-sass'); //scss to css compiler plugin
const concat = require('gulp-concat'); //bundles multiple js files into one
@VladDobrescu
VladDobrescu / nginx.conf
Created November 28, 2018 17:54 — forked from ulyssesr/nginx.conf
Nginx RTMP Setup
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
@VladDobrescu
VladDobrescu / Instructions.sh
Created June 20, 2018 15:26 — forked from GhazanfarMir/Instructions.sh
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa