Archive for the 'Uncategorized' Category

Windows 7: Create Library

Tuesday, May 3rd, 2011

Windows 7 has introduced the concept of a Libary. This is a folder that can contain other folders and is available in the Windows Explorer. So you may have decided that the 4 defaults folders aren’t enough:

  • Documents
  • Music
  • Pictures
  • Video

So to create a new library:

  1. Select : Start menu->All Programs->Accessories->Windows Explorer
    or
    Press + e
    and click on the Libraries folder in the left hand column.
  2. Right click in an empty space on the folder view and select New->Library
  3. Then name your Library
  4. Right-click your new library and select properties.
  5. Select Folders to include in your library.

Each library can contain multiple folders. Now everytime you open the explorer your library will be available to you and you do not have to dig into your file hierarchy to find your most used files.

Suggested Applications:

  • Work folders
  • Project folder

Bash: Command line parser for Multiple arguments to bash

Tuesday, July 20th, 2010

I regularly have to write scripts into different environments and when I am wrapping a build system, I typically use a Bash script to do it. I often have to pass a set of arguments to the underlying commands in my scripts as well. I have found that the %* argument is the easiest way to take those arguments.

The %* takes the arguements and passes them along. The %1, %2, %3…and so on are the individual arguments but unless you have a fixed amount of arguments, then you will need to process a variable amount of arguments.

while [ $#  -gt 1 ]
do
  case "$1" in
    -a)
      ANALYZE=1
      ;;
    *)
     echo "Invalid option"
     ;;
   esac
   shift
done

Welcome to eTechTips

Wednesday, May 27th, 2009

Say goodbye to the bouncing ball!

As this site has been close to 10 years in the making, it is time to say goodbye to the basic flash animation that I started with on the main page.

So feel free to ask questions or give me suggestions for topics.

Welcome To eTechtips – Day One

Tuesday, May 26th, 2009

Welcome to day one of the revamped eTechtips informational blog.

Please feel free to request information about any topics that interest you.