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
@shakaran
shakaran / house_movement_evolution.txt
Last active January 16, 2016 00:10
Evolución de compraventa de viviendas. Datos generados con el script housemov.py https://github.com/shakaran/scripts/blob/master/housemov.py
Año: 2007 Mes: 01 Total: 70928
Año: 2007 Mes: 02 Total: 74716
Año: 2007 Mes: 03 Total: 91858
Año: 2007 Mes: 04 Total: 70155
Año: 2007 Mes: 05 Total: 81939
Año: 2007 Mes: 06 Total: 81304
Año: 2007 Mes: 07 Total: 86241
Año: 2007 Mes: 08 Total: 48190
Año: 2007 Mes: 09 Total: 55969
Año: 2007 Mes: 10 Total: 66788
@shakaran
shakaran / parse_tz.c
Created April 11, 2013 23:17
parse_tz.c cpanel version shipped with cpeasyapache
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2013 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
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"' -- {}