E-Discovery – Geek Glossary Terms

E-Discovery (short for Electronic Discovery) refers to the process of seeking, retrieving, compiling, exploring, securing, and/or storing of electronic data.
A perfect example of E-Discovery is the gathering of evidence for a civil or criminal case.

Fixing "Please Wait While Windows Configures Visual Studio .NET" Error

If you get an error in Visual Studio .NET 2003 every time that you hit the F1 key for context-sensitive help that says “Please Wait While Windows Configures Visual Studio .NET Enterprise Edition 2003”, then you are in luck, because I have a solution.
Normally you’d have to hit the Cancel button, or else it would give you an error about the source files being unavailable, something along the lines of “No valid source could be found for product Visual Studio .NET…”
The solution is to run the following command from a command line:

regsvr32 “C:\Program Files\Common Files\Microsoft Shared\MSDN\CookDoc.dll”

Problem solved.

Delete Files Older Than x Days on Linux

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them.

Command Syntax

find /path/to/files* -mtime +5 -exec rm {} \;

Note that there are spaces between rm, {}, and \;
Explanation

  • The first argument is the path to the files. This can be a path, a directory, or a wildcard as in the example above. I would recommend using the full path, and make sure that you run the command without the exec rm to make sure you are getting the right results.
  • The second argument, -mtime, is used to specify the number of days old that the file is. If you enter +5, it will find files older than 5 days.
  • The third argument, -exec, allows you to pass in a command such as rm. The {} \; at the end is required to end the command.

This should work on Ubuntu, Suse, Redhat, or pretty much any version of linux.

Want to Learn More? Get Linux Training from the Linux Foundation

Learn everything you could want to know about Linux with comprehensive online Linux courses and certification tests that include the real-world experience and first-hand knowledge of what it takes to be a successful Linux developer or system administration professional, all from a web browser in the comfort of your home.
The Linux Foundation is the nonprofit consortium dedicated to fostering the growth of Linux. Founded in 2000, they are supported by the leading technology companies and developers from around the world.
See All Linux Foundation Courses

Display Number of Processors on Linux

If you’ve just upgraded your Linux box, or you are wondering how many processors a remote server has, there’s a quick and dirty command you can use to display the number of processors.
On Linux, /proc/cpuinfo contains all of the processor information for all current processors in your computer. This will include the speed, the amount of on-chip cache, processor type, and how many cores.
Here’s the command:

cat /proc/cpuinfo | grep processor | wc -l

The command just looks in the /proc/cpuinfo file, pulls out the number of lines containing the word “processor”and passes them into wc (word count), which returns a count of the CPUs in the system.
Here’s what it returned on my remote server:

[root@root]# cat /proc/cpuinfo | grep processor | wc -l
4

Note that if you have a dual-core processor, it will return each core as a separate processor. You can look at the full output of cat /proc/cpuinfo to see if the chips are dual-core.

Change Default Feed Reader in Firefox

If you have set the default feed reader for Firefox, you no longer have an option to preview a feed before adding it to your feed reader of choice. This can be a little frustrating when trying to quickly look at a feed without actually adding it.
For those of you that are unfamiliar with the way RSS works in Firefox, notice the orange RSS icon in the address bar

When you click on that icon, you’ll be taken to a page previewing the feed. You might want to notice that this preview page does not show the full feed, just previews of each post.
You’ll notice the checkbox for “Always use Google Reader to subscribe to feeds”. Firefox also supports bloglines and yahoo as well.

You can select this checkbox to set the default feed reader for the first time. If you want to change it later, you will need to open Tools \ Options, and click on the Feeds tab.

You can set the default application to handle feeds here. If you want to reset back to the default, you can change the radio button to “Show me a preview and ask me which Feed Reader to use”.
Note: If you are a serious RSS user, you should use Google Reader.

Power Up Your Start Menu Search Box in Windows Vista

Vista Start Menu Health Without Start++
Coolness: 0.5Usefulness: 0.8Show-Off Factor: 3.9
Vista Start Menu Health With Start++
Coolness: 14.2Usefulness: 999.9Show-Off Factor: 24.9
As you can see, significant stat increases just from installing Brandon Paddock’s Start++ Start menu enhancement, mostly in the area of usefulness.What’s this all about, you ask?
Start++ is a small add-on application that lets you create aliases of words and characters to commands or searches. You canset the commands to run with administrator privileges. You can even save commands as “Startlets” and share them with your friends.
Here are some Start++ usage examples:

  • Search Google by typing in g <keyword>
  • Search Dictionary by using d <keyword>
  • Search Wikipedia by using w <keyword>
  • Search IMDB by using imdb <keyword>
  • Search anywhere by making a custom search command:
  • Use sudo before any command to make it run as administrator:Finally, a sudo command for Windows Vista!
  • Search for music to play and open in Media Player. You could use “Play Nickleback”, for example. I’m looking forward to testing out these commands.
  • Start++even works from the command prompt.
  • Create an alias for anything you want. You could set “i” to open Internet explorer, and “f” for Firefox, for instance.

Download Start++ From Brandon Paddock’s site now.
I’d also recommend subscribing to the Start++ updates feed on Brandon Paddock’s site, because he’s been releasing new versions left and right.

Remove the Built-In Search Bar on IE 7

If you use a toolbar such as the Google or Yahoo toolbars, you probably won’t want to see the built-in search box in Internet Explorer 7. There’s a quick registry fix that you can do to enable / disable this.

This registry fix works by adding in the DWORD value NoSearchBox, with the value set to 1, to the following registry key:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions

Hide Search Box
Download Hide Search Box Registry Fix
ShowSearch Box
Download Show Search Box Registry Fix
Here’s what it looks like in action, with the search box hidden

This should work for IE7 on Windows Vista as well as on Windows XP.

Disable Favorite Links Panel in Windows Vista Explorer

If you dislike the new Favorite Links panel in the Windows Vista Explorer panel, you might not realize that it’s really called the Navigation Pane, and it’s extremely simple to turn off.
If you want to disable the entire panel, just click the Organize button, and select Layout, and then deselect Navigation Pane.

And just like that, no more Favorite Links bar. The only problem with this is that it also hides the Folders view as well. (read further)

If you want to show the folders view instead of the favorite links panel, just hold your mouse over the top of the folders bar until it changes to a resize icon like this:

Then just drag it all the way up to the top, and you will only see the Folders view from now on.

Thanks to everybody in the comments for leaving comments about this.

Make Windows Vista Shut Down Services Quicker

The more applications that you install into Windows, the longer the computer takes to shut down. This is especially true for applications that install a service that runs when the computer starts, and even more true for services that refuse to shut down quickly, or time out when being shut down.
To change Windows to shut down the services quicker, open the registry editor, and browse down to the following key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

You should see a key in the right-hand window called “WaitToKillServiceTimeout”, with a default value of 20000, which represents 20000 milliseconds, or 20 seconds. You can change this to a value of 5000 for 5 seconds.

You won’t want to make this value much less than 5 seconds.