Skip to content

Instantly share code, notes, and snippets.

Enrico Deleo enricodeleo

Block or report user

Report or block enricodeleo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Partyschaum /
Last active Nov 10, 2018
Install PHP 7.2.0 with latest pthreads extension
$ phpbrew install php-7.2.0 +default -- --with-thread-safety --enable-maintainer-zts --with-tsrm-pthreads --with-openssl=/usr/local/opt/openssl`
$ phpbrew ext install github:krakjoe/pthreads master
klaaspieter /
Created Jun 22, 2017 — forked from anonymous/
Acronyms Seriously Suck - Elon Musk

From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:

There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.

That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.

tegansnyder /
Last active May 28, 2019
HHVM Magento Server Setup

I've had the opertunity to try a variety of different server configurations but never really got around to trying HHVM with Magento until recently. I thought I would share a detailed walkthrough of configuring a single instance Magento server running Nginx + Fast CGI + HHVM / PHP-FPM + Redis + Percona. For the purpose of this blog post I'm assuming you are using Fedora, CentOS, or in my case RHEL 6.5.

Please note: I'm 100% open to suggestions. If you see something I did that needs to be done a different way, please let me know. I haven't included my Perconca my.conf file yet. I will shortly. Also I plan on trying this same test with HHVM 3.3 and PHP 7.

Install the EPEL, Webtatic, and REMI repos

rpm -Uvh
rpm -Uvh
rpm -Uvh
yusukezzz / hhvm
Last active Jan 26, 2017
hhvm init.d script for centos
View hhvm
# /etc/rc.d/init.d/hhvm
# Starts the hhvm daemon
# chkconfig: 345 26 74
# description: HHVM (aka the HipHop Virtual Machine) is an open-source virtual machine designed for executing programs written in Hack and PHP
# processname: hhvm
ewiger /
Last active Aug 29, 2015
Avoiding alerts in cordova with browser as a client
staltz /
Last active Oct 20, 2019
The introduction to Reactive Programming you've been missing
View gist:6d6c31144636d586dcc3

The process starts by creating the CSR and the private key:

openssl req -nodes -newkey rsa:2048 -nodes -keyout -out -subj "/C=GB/ST=London/L=London/O=dotmarks/OU=IT/"


mlynch / service.js
Last active Aug 29, 2015
Reusable cordova plugin wrapping service service
View service.js
angular.module('', [])
.factory('Camera', ['$q', function($q) {
return {
getPicture: function() {
var q = $q.defer(); {
// Do any magic you need
mikaelbr / destructuring.js
Last active Sep 19, 2019
Complete collection of JavaScript destructuring. Runnable demos and slides about the same topic:
View destructuring.js
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];
wbroek / genymotionwithplay.txt
Last active Oct 13, 2019
Genymotion with Google Play Services for ARM
View genymotionwithplay.txt
NOTE: Easier way is the X86 way, described on
Download the following ZIPs:
ARM Translation Installer v1.1 (
Download the correct GApps for your Android version:
Google Apps for Android 6.0 ( -
Google Apps for Android 5.1 ( -
Google Apps for Android 5.0 ( -
You can’t perform that action at this time.