Skip to content

Is LDD dangerous?

In this excellent article, the author exposes problems of ldd and loader of Linux. It’s something that I need to check in the future!

Advertisements

Replace is Obsolete?

Certainly, everybody has his habits in every aspect of his life. Editing a text or source file is no different. My case in this post is about using the Replace commands and facilities found at almost every modern editor or IDE. After reading this article, I finally realized how useless is the Global Substitute command found in Vim, the so called :%s//g command, an artifact of the old, line-oriented editors like ed.

In fact, it’s much easier and safer to find first the text to replace, edit it, and then by pressing n (find next) and . (repeat last change) to apply again the last editing change. This way it is possible to inspect each replace and perform this procedure very fast, when the changes are few. Most of the times this is the case. If the changes needed are more, then the global substitute command can be used as a last resort.

Insert a commit in the past (Git)

Another note about Git: how I can easily insert a commit in the past or before another commit. Of course, all such changes to Git’s history must take place only in the local (non-publish) history or repositories.

I had a Git repository and needed to rewrite my local history by inserting a new commit somewhere in the past. Read more…

Running a Git Server

In this article (which I reproduce for future reference) of Linux Magazine two common solutions are presented for running an appropriate Git server.

Although it is possible to run just a plain git server command, many issues arise after this move that need to be arranged. Actually, I have the feeling that this operation of Git is similar to Mercurial‘s internal, local HTTP server. In other words, it’s mostly for quickly exchange and collaborate 2 developers in contact. Furthermore, it provides the groundwork for building other, more robust frameworks for this task, as is Github.

Read more…

Create a filesystem on a file

I was always wondering if it’s possible to create a filesystem on a file instead of a disk partition. Finally, I just discovered that it’s not only possible, it’s really very easy and intuitive procedure. In fact, one could even create a swap partition and mount this one instead of a physical one!

Read more…

Separate commits at Subversion

In this article of Ryan Tomayko I’ve found a nice trick for Subversion. when there are changes at current working directory that belong to at least 2 different changesets. What is easily achieved in Git using the git add -i (or the more straightforward and short git add -p) command, in Subversion another approach is necessary.

Read more…

System Monitor Tool Xymon

In an article I recently read, Monitoring with Xymon, the author presented an excellent and simple in usage and presentation monitor tool, Xymon.

The great thing is that in its web site one can find a live demo of the tool using real data from author’s systems.

I’ll certainly have a look on this project for the future.