-
Benché la TV sia dorminete, ed i talk show siano sparti, Luglio si preannuncia un mese caldo dal punto di vista politico.
In pochi giorni….
- Monti è riuscito a far approvare un potente "Scudo AntiSpread"
- Berlusconi rivuole tornare in campo...eliminando "errori" come la Minetti (e temo, la Carfagna!...)
- ... e Moody's declassa l'italia di due punti...
Read More -
ForceBindIP is a freeware Windows application that will inject itself into another application and alter how certain Windows Sockets calls are made, allowing you to force the other application to use a specific network interface / IP address. This is useful if you are in an environment with multiple interfaces and your application has no such option for binding to a specific interface.
via ForceBindIP - Bind any Windows application to a specific interface.Using iPhone/Android Tethering features, you can end up with a
Read More -
In a nutshell, xargs is an alternative to fully expanded shell for loops. Given the right options, xargs can be made to exhibit for-loop-like behavior. But out of the box, it is a way to pipe a bunch of arguments to a single command in one fell swoop.
In A small primer on xargs you will find a deep explanation on xargs usage. The article teach me a bunch of tricks I am not aware of (and I know Unix from ‘93….yes, 1993…).This can save a great deal of compute time if you are piping a long list of arguments to a command rather than iterating over them one at a time.
Read More -
Erlang vs Ruby: Er Zauker
Jul 4, 2012 · 2 min read ·
Negli ultimi mesi ho sviluppato un motore di ricerca per il codice, chiamato code zauker.
Lo ho scritto in Ruby e Redis. Ruby è un linguagio che conosco da tempo, ma housato molto poco. In questeultime settimane ho voluto riprendere in mano Erlang, e per esercizio ho provato a riscrivere il kernel del motore di indicizzazione in Erlang, creando ErZauker
Read More -
Il cloud computing sta diventando un termine sempre più usato (ed abusato) del panorama IT degli ultimi tre anni.
Come tutte le buzzword che si rispettino, lo abbiamo maltrattato un pochino negli anni passati, ma è venuto il momento di affrontarlo in modo analitico, per una serie di ragioni.
Read More -
Replacing on entiere set of files is hard in Emacs. But I find the correct mumbo-magic procedure, and gifted it to you:
- Call dired to list files in dir, or call find-dired if you need all sub directories.
- Mark the files you want. You can mark by regex by typing 【%m】.
- Type Q to call dired-do-query-replace-regexp.
- Type your find regex and replace string. (➲ common elisp regex pattern)
- For each occurrence, type y to replace, n to skip. Type 【Ctrl+g】 to abort the whole operation.
- Type ! to replace all occurrences in current file without asking, N to skip all possible replacement for rest of the current file. (N is emacs 23 only)
- To do the replacement on all files without further asking, type Y. (Emacs 23 only)
- Call ibuffer to list all opened files.
- Type 【*u】 to mark all unsaved files, type S to save all marked files, type D to close them all.
-
And so you was waiting for news?
Nice to impress you: I was able to shot two code zauker versions in less than a month!
Code Zauker, the yet-another-google-code-indexer based on redis is happy to impress you with new features:
- Better web interface
- Powerful multi-processor indexer (mczindexer)
- Better documentation on the readme on github, con ready-to-use example.
Read More -
E’ difficile fare una valutazione completa del governo Monti. Si tratta di un governo tecnico e di “emergenza nazionale” che vede la sua investitura direttamente dal Presidente della Repubblica, Giorgio Napolitano.
Purtroppo in Italia succede spesso che i governi (e soprattutto i governissimi da larghe intese) vengano creati non con una investitura popolare ma con un reimpasto di governo, con un retrogusto amaro.
Read More -
Don’t play the stupid game Cause I’m a different kind of engine Every search sounds the same You’ve got to step into my world Give me all your RAM and give me your code Give me all your code today
A new, improved version of Code Zauker is out!
Read More -
In my code ramblings during the developement of Code Zauker, I ended up studing a bit NoSql database.
Code zauker started using Redis, because Redis is a very bold memory-based no-sql db. Redis also support complex data type like sorted set, lists and so on, which was very userful. Anyway I needed a very fast way of doing statistics on data collected by code zauker, for inspecting data and finding out new feature I’d like to add to it. Worst, my current pocket pose a hard limit on a redis instance in terms of available RAM. So I started thinking a lot about a redis drop-in replacement for Code Zauker.
Read More -
Do you want to know how to backup your mac via wi-fi, or how time machine is designed?
This site will give you tips but also plenty of information.
Last but not least, tricks like Making a Lion Install disc or partition are worth a read.
Read More -
VADER A tremor in the Force. The last time I felt it was in the presence of my old master.TARKIN Surely he must be dead by now.
Read MoreThe real reason Git rocks
Feb 10, 2012 · 4 min read ·
I have learned Git. I forget about all my childhood for making space about all the magic, but I got it.
And I know because git rocks. The real reason Git rocks. And I will reveal you.
Read MoreAre you ready for the news?
Code Zauker v0.0.3 is OUT!
The new version spots
- Case insensive indexing and searching, at a blazing fast speed.
- UTF-8 compliant indexing. Best if your code is on another encoding, code zauker try to "guess" the right one and fix it.
- Richer czsearch options, like the following
$ruby -Ilib bin/czsearch -h Usage: czsearch [options] [term1] [term2]... -i, --ignore-case ignore case distinctions -B, --before-context NUM print NUM lines of leading context -A, --after-context NUM print NUM lines of trailing context -C, --context NUM print NUM lines of output context -X, --exclude FILE_PATTERN Exclude files that match FILE_PATTERN (as ruby regexp). Case insensitive -h, --help Display this screen Options are grep-like EXAMPLES: czsearch ciao Koros Will search Koros OR ciao czsearch -i gnu Will match also GNU and Gnu czsearch -X .orig -X .bak -X .java html:select Will skip java and backup fileTake a look at the code on github.
Read More
