Skip to content

Instantly share code, notes, and snippets.


David Strencsev PhiSYS

  • Cartagena, Spain
View GitHub Profile
bgunebakan /
Created May 19, 2016
Umurmur server installer script for Raspberry Pi boards.
# umurmur_raspi . sh
# Copyright (c) 2016 Bilal Tonga
echo "building Dependencies . . . "
sudo apt-get install git
Suave / gist:6127873
Created Aug 1, 2013
mysql: truncate all tables in one command line
View gist:6127873
mysql -Nse 'show tables' DATABASE_NAME | while read table; do mysql -e "truncate table $table" DATABASE_NAME; done
MatteoOreficeIT / Integrating_Guzzle_6_Asynchronous_Requests_with_ReactPHP.php
Last active Nov 23, 2021
Integrating Guzzle 6 Asynchronous Requests with ReactPHP
View Integrating_Guzzle_6_Asynchronous_Requests_with_ReactPHP.php
* Credits to :
* @see
use GuzzleHttp\Handler\CurlMultiHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware;
FrancisTurner /
Created Jun 7, 2021
Script to autoupdate armv6 cloudflared
#!/bin/bash -e
# Copyright (c) 2021, Francis Turner
# All rights reserved.
# Script that automates checking and if required downloading and replacing of the
# latest armv6 cloudflared as built by Darren Hobin (
# for use on pi zeros and other armv6 devices
mmstick /
Last active Oct 20, 2022
Ubuntu 10-bit HEVC Transcoding Tools -- Contains a script to install x265-10bit-git, libass-git, ffmpeg-git and bomi-git; another for updating everything; as well as scripts for transcoding videos with ffmpeg. Transcoding scripts require the fish shell to be installed.
mkdir "$sourcedir"
export CFLAGS='-march=native -O3 -pipe -fstack-protector -Wall'
export CXXFLAGS='-march=native -O3 -pipe -fstack-protector -Wall'
function install-dependencies() {
# Install build tools and Mesa VDPAU support.
sudo apt-fast install -y cmake yasm autoconf build-essential mesa-vdpau-drivers \
irazasyed / spintax.php
Last active Jan 16, 2023
PHP: Text Spinner Class - Nested spinning supported.
View spintax.php
* Spintax - A helper class to process Spintax strings.
* @author Jason Davis -
* Tutorial:
* Updated with suggested performance improvement by @PhiSYS.
soarez /
Last active Jan 31, 2023
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.