Skip to content

Instantly share code, notes, and snippets.

View shakaran's full-sized avatar
🏠
Working from home

Ángel Guzmán Maeso shakaran

🏠
Working from home
View GitHub Profile
Call:
https://github.com/php/php-src/blob/PHP-5.3.23/Zend/zend_API.c
Stack:
zend_error (type=32, format=0x2aadd8a8f828 "Cannot load module '%s' because conflicting module '%s' is already loaded")
Code:
if (zend_hash_exists(&module_registry, lcname, name_len+1)) {
efree(lcname);
@shakaran
shakaran / esi-pfc-changes.diff
Created March 10, 2013 18:42
This is the output of esi-pfc-differ script (https://github.com/shakaran/scripts/blob/master/esi-pfc-differ.sh). esi-pfc-differ is a bash script for compare new changes in PFC normative for ESI-UCLM. It was originally created for verify changes in this web notice http://webpub.esi.uclm.es/actualidad/noticias/normativa-proyecto-fin-de-carrera
--- NormativaPFC2007.txt 2013-03-10 19:35:02.672391542 +0100
+++ Normativa-PFC-2013.txt 2013-03-10 19:35:03.348391562 +0100
@@ -8,6 +8,7 @@ ESCUELA SUPERIOR DE INFORMÁTICA
Aprobada en Junta de Centro de 8 de Noviembre de 2007
+ Modificada en Junta de Centro de 1 de Marzo de 2013
@shakaran
shakaran / analyze-all-bpel.bash
Created October 11, 2012 15:58 — forked from anonymous/analyze-all-bpel.bash
Analyze a tree of .bpel files while distributing work over all available cores
#!/usr/bin/env bash
find -type f -name "*.bpel" -print0 | xargs -P `grep -c processor /proc/cpuinfo` -n 1 -I{} -0 sh -c 'mubpel analyze "$1" > "$1.mutations.txt"' -- {}

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

@shakaran
shakaran / add-percona-repos-oneliner.txt
Last active August 29, 2015 14:17
Add percona repositories in one liner bash
for deb in deb deb-src; do echo "$deb http://repo.percona.com/apt `lsb_release -cs` main"; done | sudo tee /etc/apt/sources.list