Wednesday, November 9, 2011

Store directory contents into text file in Windows

To store the directory contents with full path into a text file in Windows:
dir /s /b /o:N "Path" > "text filename"

Sunday, July 17, 2011

Create a Matlab figure without any borders or box around the figure

set(gca,'visible','off')
    set(gca,'visible','off')
    set(gca,'xtick',[])
    set(gca,'ytick',[])
    set(h,'InvertHardcopy','off')
    box off

Saturday, March 19, 2011

Expense splitter

I found a very nice website to calculate trip expenses shared among a group of people. The link is here. I like this website for its easy to use interface, ability to use without a login and ability to move around expenses to minimize number of transactions.

Wednesday, February 16, 2011

Xcopy command on Windows

I used xcopy today to copy merely the file structure of one directory without having to copy the files within the subdirectories. xcopy also has a number of other features for copying files, and it is cool that Windows comes preloaded with this function, without having to install a third-party application. The Windows help page for this utility is here.

Thursday, February 10, 2011

Full screen figures in Matlab

When I make images of my results in Matlab for publication in papers or showing in presentations, I like to control the size and properties of my figure. However, Matlab does not do a very good job of displaying the images in the correct size while outputting the figures. This post gives an elegant solution to display Matlab figures in full screen mode, which is exactly what I want most of the times.

Baggage & Airlines

Airlines and baggage do not sound like an ideal couple. Here's a very nice post which details what to do in case you leave something on an airplane.