Programming

Adding a logo to the header

Adding a logo to the header

Adding a logo to the header generated by WordPress Default theme When I started this blog, I did add categories ‘Computers‘ and ‘Programming‘. However, I made one decision: I will not cover HowTos on WordPress as part of this blog. The reason? There are at least two blogs for each WordPress related topic on earth. [...]

Is the Windows registry a good idea?

Compared to Unix config files, and even to Windows 3.1 ‘ini’ files is the windows registry a good idea? This was the question that presented itself in my mind this weekend. First, what is the windows registry? Windows registry is a Hierarchical database that stores configuration settings for Windows, and for the software installed on [...]

The Spirograph

The Spirograph

I became a kid again and purchased a Spirograph set. The Spirograph is a mathematical toy, which you can use for drawing nice figures. In the simplest case it exists of a fixed circle, used as a template, and a smaller rolling circle with holes. The result of my experiment is at the end of [...]

Moving multiple files

One common requirement on *nix systems is to rename (or move-and-rename) more than one file, matching a wildcard. However, if you try to do this: mv ACK*.xml /code/xml/ACK*.xml.done it wont work for more than one file. By the way, this is one of those odd places where Windows command line works better! How to work [...]

Splitting a contact sheet

When I received a CD containing contact sheets from my photographer, I was in a hurry to put the photos online. He had promised to send me another CD containing individual photos later, when the printing for the album was completed. I tried to use normal software like Photoshop to do the trick, and looked [...]

Deleting zero byte files

In the past I have shown ways to run Linux scripts on windows based system. I have also talked about one use of the find command, in conjunction with grep command to search for files having a given text content (say a word) in multiple folders. Today I will show you another use of the [...]