-
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.
-
Are 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 -
On November 12, 2010 SearchBlox announced the availability of SearchBlox Search Software as a completely FREE product.
I took a look to SearchBlox on a complex project, and I suggest you to give it a try. It is a good solution for small sites, and it is powered by Lucene. Google Mini has a strong brand, but it cost a lot and it had a 2-year resubscription process: a very costly stuff.
Read More -
We are happy to announce we have powered our searche engine, after importing Objectsroot.com blog articles.
Now you can use boolean operator like “AND”, to do complex searches.
The search service is lucene-compatible at syntax level: feel free to play a bit with it… you can find funny things from the past… :)
Read More -
This article has been retained for hisorical reasons. In this article we refers to blog.Objectsroot.com a site discontinued on August 2008
After some time, I have decided to start redesigning the content and the look of ObjectsRoot.com I have slightly reduced the tags section, over-simplifying the access to my huge set of articles. With over 100 posts, there is no need of so much tags. The search engine will help you to find old articles: do not worry anyway, permalinks will remain valid for a long time!
Read More -
Asus EEE-PC better then Mac Air?
May 7, 2008 · 4 min readblog-objectsrootcom en software · arc build car code commercial development easy file fini freedom funny future games good hacking hard ideas internet italia italy linux news pd performance reader rim search site small system telecom test trouble ubuntu ui vi war web windows world·
Finally I managed to buy a Asus EEE PC 700 this week. I would thanks a lot Next Store and its kindly clerks, which I will prefer in future to Mediaword :)
If you are at Milan and you plan to buy it, Next Store is a good choice.
Read More -
Python Search Engine
Apr 20, 2008 · 1 min read ·
I am very happy to announce my personal annotated Python Search Engine.
-
Oracle buys BEA and Sun buys MySql.
In reply,Migrosoft is hungry and is watching Yahoo :-)
<joking>
Any bets on the next money-based-news?
I'm going for
- Oracle buys Sun: "We need more hardware to run Oracle and WebLogic together! "
- Google buys Oracle: "We have *even* more hardware...come on!"
- Apple buys Google: "So nice LOGO", retrodating a bunch of stock options, I suppose.
- Microsoft buys Apple ("So annoied their are more cool then us!") and shut down all them all so you will end up using their search engine, I hope.
</joking>
Read More - Oracle buys Sun: "We need more hardware to run Oracle and WebLogic together! "
-
This is the sad true: parsing is boring. And writing parser is even worst.
If you can choose a scripting language for parsing you can think to do it in perl.
For this way, take a big breath and go in the black sea of perl's funny regexp. They are funny only if you have that special love for the regular expressions.
Read More -
Is it amazing things you can do with a simple Bourne Again Shell (bash).
I have just discovered you can open socket using a small redirection syntax, and emulate small checks you normally do with curl or wget.
The bash shell manual is always poor about examples, and this is very very sad.
Read More