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 / 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"' -- {}
@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
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 / 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 |
@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 / ciudad_real_municipios.txt
Last active August 18, 2016 18:41
Pueblos de Ciudad Real - Listado de mis visitas turísticas
visited cp_provincia cp_municipio dc nombre
✖ 13 001 3 Abenójar
✖ 13 002 8 Agudo
✖ 13 003 4 Alamillo
✖ 13 004 9 Albaladejo
✔ 13 005 2 Alcázar de San Juan
✖ 13 006 5 Alcoba
✖ 13 007 1 Alcolea de Calatrava
✖ 13 008 7 Alcubillas
✖ 13 009 0 Aldea del Rey
@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

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 / serie-profetas-ciencia-ficcion.md
Last active January 8, 2024 01:39
Capítulos primera temporada "Profetas de la ciencia ficción" - Discovery Max (público en Youtube)
@shakaran
shakaran / ideas-ocm-manzanares.md
Last active March 14, 2016 21:43
Ideas públicas y abiertas para presentar propuesta en ocm.enmanzanares.net