Skip to main content

Posts

Showing posts from December, 2011

An easy code documentation system

The topic of this post is NaturalDocs - a code documentation system that I feel is quite good. The homepage is  http://www.naturaldocs.org/ . It works both on Windows as well as Linux. The homepage provides clear instructions about the installation as well as the usage.

How to find the last modified file ?

It may be straightforward to find the last modified file in a given folder, but what if I wish to find the last modified file from among a group of folders, or from all the sub directories in a folder. Here is my solution which makes use of the following two things: * Command prompt (to get there in Windows, press Window key + R and type cmd ) * Any spreadsheet program like MS Excel, OpenOffice Calc etc. Step 1:  At the command prompt, use the DIR command to generate the list of files that you wish to search among. It is important that the command returns a list of files with the date of modification column included.  Use the >  operator to write the output to a file. Example: DIR C:\myfolder\*.c /s /t:w > dir.txt The above command, lists all the C files in the C:\myfolder directory and its subdirectories and creates a file dir.txt in the current working directory and writes the output into it. The /t:w  switch makes sure that the date and time stamp is that of the last writte...

Christmas project 2011

Christmas is coming up ... I am now at home after having left college for vacation. And these days, I can see my younger brother anxiously looking up to me thinking what my Christmas gift would me . Hence, this one is for him.  Starring - Java ME and AVR C in 'LED Display controlled by a mobile phone' ...

Hello world!!

Hello world!! - yes, programming excites me. What about you? If it does, count me as one like you. If it doesn't, give yourself a chance; take time to read some of my posts. You will find here stories of a budding engineer and his patient efforts to better understand the world of technology and the delights it hides. True to his vocation as an electrical engineer, his inclination is towards electronics, computers and more ...