Skip to content

Instantly share code, notes, and snippets.

View suciptoid's full-sized avatar
👋
Hello World

Sucipto suciptoid

👋
Hello World
View GitHub Profile
<?php
/**
* Description of VideoStream
*
* @author Rana
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial
*/
class VideoStream
{
private $path = "";
@suciptoid
suciptoid / App_Http_VideoStream.php
Created January 19, 2018 09:21 — forked from vluzrmos/App_Http_VideoStream.php
Laravel VideoStream.
<?php
namespace App\Http;
/**
* Description of VideoStream
*
* @author Rana
* @link https://gist.github.com/vluzrmos/d5682ad426525196d069
*/
@suciptoid
suciptoid / postgreSQL-openSUSE-13.2
Created April 25, 2017 15:34 — forked from di3goleite/postgreSQL-openSUSE-13.2
PostgreSQL on openSUSE 13.2
# install latest postgresql
sudo yum install postgresql-server postgresql-contrib
# start postgresql
sudo systemctl start postgresql
# change postgres user password
sudo passwd postgres
# create a database and create a new user
@suciptoid
suciptoid / unattended-mysql_secure_installation.md
Last active August 29, 2015 14:28 — forked from vdvm/unattended-mysql_secure_installation.md
A way to run mysql_secure_installation unattended

Mysql Secure Installation (Unattended)

NB : MyPass is your current mysql password

echo -e "MyPass\nn\nY\nY\nY\nY\n" | mysql_secure_installation 2>/dev/null

Result:


NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB