Being really agile, Being really smart

The Agile Manifesto has the following 4 core values: Individuals and interactions over processes and toolsthis means communicate, a lot.Working software over comprehensive documentationif you are working on something that is not working properly why bother documenting what’s doing (and maybe it’s even…Continue reading »

Versioning Numbers, make them meaningful

The version number itself, and more generally the way you manage it, is most of the time underestimated, because it’s considered something trivial.It is used to give a chronological order to the software releases and it conveys the useful information about the state and…Continue reading »

[ITA] Rimuovere le entità HTML (unhtmlentities)

Ecco un modo veloce per rimuovere tutte le entità html da una stringa: function unhtmlentities($string) { $string = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $string); $string = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $string); $trans_tbl = get_html_translation_table(HTML_ENTITIES); $trans_tbl = array_flip($trans_tbl); return strtr($string, $trans_tbl);} questa funzione sostituisce sia le…Continue reading »
1 2 3