Qualche tempo fa mi è stato proposto di scrivere un articolo per la rivista ICT Security Magazine. Ho trattato una tematica che torna utile in molti casi di indagini da fonti aperte o di consulenze… Sorgente: Determinare la data in cui è stata scritta una pagina web – Andrea Lazzarotto Ma che affidabilità forense può…
Category: Documentations
Documentations, Eiffel, Javascript
Sheer, pure evil
JavaScript: Can (a==1 && a==2 && a==3) ever evaluate to true? Yes, it can. Understand how in this article! That’s pure sheer evil, in my humble opinion as it tricks most people. Eiffel forbids this evilness, but I shall explain it better.
Documentations, Software Libero, Web
Piccole magie
Trasformare un sito WordPress in un sito HTML statico
Link
Documentations, Themes, Web, Wordpress
Bruce Chamoff: Let’s Convert a Static Bootstrap Website Into a Dynamic WordPress Theme
It may be pretty useful
Documentations
Transferring data to a new profile – Thunderbird – MozillaZine Knowledge Base
Sometimes a cleanup is necessary. I stress my little dear Thunderbird a little too much, as I ask it to easily juggle almost fifteen years of email. Today I had to follow Transferring data to a new profile – Thunderbird – MozillaZine Knowledge Base for a fresh start.
Link
<span class="pln">find </span><span class="pun">.</span> <span class="pun">-</span><span class="pln">type d </span><span class="pun">|</span> <span class="kwd">while</span><span class="pln"> read file</span><span class="pun">;</span> <span class="kwd">do</span><span class="pln"> echo $file</span><span class="pun">;</span> <span class="kwd">done</span>However, doesn’t work if the file-name contains newlines. The above is the only solution i know of when you actually want to have the directory name in a variable. If you just want to execute some command, use xargs.
<span class="pln">find </span><span class="pun">.</span> <span class="pun">-</span><span class="pln">type d </span><span class="pun">-</span><span class="pln">print0 </span><span class="pun">|</span><span class="pln"> xargs </span><span class="pun">-</span><span class="lit">0</span><span class="pln"> echo </span><span class="str">'The directory is: '</span>
Sorgente: How can I escape white space in a bash loop list? – Stack Overflow
Furthermore BASH Shell: For Loop File Names With Spaces suggets:
find . -print0 | while read -d $'\0' file do echo -v "$file" done
that should handle even the weirdest file name
Documentations
Postgres hidden gems – Craig Kerstiens
citext I’ve always been fond of PostgreSQL, now this Postgres hidden gems – Craig Kerstiens shows its smart features even more! There are many interesting features of Postgresql that I didn’t knew, as I haven’t actually used it for a while
Documentations, Eiffel
To allow or not to allow?
… at my would-be coauthors, would someone please tell them, and every non-native-English-speaker-but-aspiring-English-author, to read this? Please, please, please, please, please. In English the verb “allow” cannot take an infinitive as a complement. Ever. You may not write “my method allows to improve productivity” (even if it’s true, which it probably isn’t, but never mind).…
Documentations
QuotarBene
GCN Wiki – QuotarBene Piccola guida per imparare a quotare
