Articles

Archive for the ‘General’ Category

Disable Right Click On Your Website

Thursday, August 26th, 2010

Simply insert this code in place of the <Body> tag.

<body oncontextmenu=”return false;”>

Where to Recycle Your Old Computer

Wednesday, August 4th, 2010

Updated List:

Best Buy E-Cycle Program

In the San Francisco Bay Area: http://www.crc.org/

http://www.greencitizen.com/what_we_recycle.php

How To Delete One Million (1,000,000) Files Without Crashing Windows Explorer

Monday, May 24th, 2010

Problem:

You have a folder with a large number of files that you need to delete.  This is too much for Windows Explorer to handle.

Solution:

FastCopy (it also deletes files fast)

It took several hours but FastCopy was able to delete 948,102 files without slowing down the server at all.

It took several hours but FastCopy was able to delete 948,102 files without slowing down the server at all.

CAT5e Wiring Diagram

Friday, May 7th, 2010

Pin

Name

Description

EIA/TIA 568A cable colors

EIA/TIA 568B cable colors (most common)

1 TX+ Transmit Data+

Green / White 

Orange / White

2 TX- Transmit Data-

Green

Orange

3 RX+ Receive Data+

Orange / White

Green / White 

4 n/c Not connected

Blue

Blue 

5 n/c Not connected

Blue / White

Blue / White

6 RX- Receive Data-

Orange

Green

7 n/c Not connected

Brown / White

Brown / White

8 n/c Not connected

Brown

Brown

  • Length of CAT5 cable runs should not exceed 100 meters.
  • It is very important that a single pair be used for pins 1 and 2; 3 and 6. If not, performance will degrade.

CAT5 Splitter Trick

Given that Pins 4-5,7-8  are not used in a standard 100MB connection, it is possible to attach a second RJ45 jack which places these wires in the 1-2,3-6 position in the jack.  This allows you to run 2 connections over a single cable.  While this trick works, it is probably not ideal and could cause packet loss.  I have done this for non-critical equipment such as network printers.  This trick does not work with Gigabit links as they require all 8 pins.

Mountain Dew Saves The Day

Monday, May 3rd, 2010

Problem:

Your hard drive is clicking and is no longer readable.  If you let it cool off for several hours, it will run for about 5 minutes and start clicking again.  You need to recover you data.

Solution:

Dew it.  Place a cold Mtn Dew (formerly Mountain Dew) can on the drive and it will stay cool for hours.  After your data is recovered, drink it.

Dew Drive

Dew Drive

Promise Fastrak TX4310 2TB Limit

Friday, March 26th, 2010

If you try to build a RAID array larger than 2TB (like trying to install a set of four 1TB drives) it will show the capacity of the array as some crazy number.  You must keep the size under 2TB with this card or install a better card.

Reinstall Office 2008 / Change Office 2008 Serial

Monday, March 1st, 2010

Go to your Spotlight search bar and type in “Terminal”

Once that opens copy the following text and paste it into the terminal and press enter:

rm -rf ~/Library/Preferences/Microsoft/Office\ 2008/Microsoft\ Office\ 2008\ Settings.plist ; rm-rf /Applications/Microsoft\ Office\ 2008/Office/OfficePID.plist

This will remove the serial number and you will be prompted for a new serial number when you open any Office product.

Solid State Hard Drives – Officially Awesome

Monday, October 26th, 2009

I’ve been using a Solid State Hard Drive (SSD) in my laptop for about 6 months and it has been a great experience. Everything opens so much quicker than it did with my old 7200RPM hard drive. I liked it so much I bought another SSD for my 3 year old desktop computer and doubled it’s speed.

Today I installed an SSD in a client’s laptop and I decided to document the performance gains with actual numbers. The old drive is a Toshiba MK1234GSX 5400RPM, 120GB. The new drive is an OCZ Vertex 120GB SSD with the newest 1.30 firmware. The old drive was cloned to the new drive so they contain an identical installation of Windows XP. It also happens to be a brand new installation that has never been used. It is fully patched as of today.  Laptop is a Dell Latitude D630 with 4GB of RAM and 2.20Ghz CPU.

The Numbers (all times in Seconds):
Startup – Power button to Control-Alt-Delete screen:  SSD :23    HD :43 
  (Both times include  :07 for Dell Bios before first Windows loading screen)

Login – From pressing enter after password to all system tray icons loaded and hourglass removed from mouse arrow:  SSD :28     HD  :31

Launch IE8:     SSD :03  HD :08

Launch Word 2007     SSD :03     HD :14

Launch Excel 2007     SSD :01     HD :03

Launch Firefox 3.5     SSD :01     HD :07

Launch Adobe Reader     SSD :01     HD :03

Zip a 210MB folder of Dell drivers     SSD :29     HD :52

Unzip the same zip file to the desktop     SSD :07     HD :19

Shutdown Windows – from OK to power off:     SSD :28     HD :32

There are certain aspects of Log In and Shut Down that don’t benefit much from the SSD.  But for the other 99% of the things you do on your computer, it will be at least twice as fast.

Turn on the computer and open Internet Explorer and Word 2007:    SSD :57     HD  1:31
Saving 34 seconds may not sound like a lot but it really adds up quickly if you spend very much time on your computer.

VMware ESXi Serial Port

Thursday, October 8th, 2009

The use of host serial ports is available if you use ESX, but not in ESXi.

On ESXi, you only have the option to Output to a File.

VMware Server (which runs on top of Windows) does allow you to connect a serial device, such as a faxmodem, to your virtual server.

HP Pavilion D7 Wireless Button Problem

Sunday, October 4th, 2009

Problem:

Your wireless button is orange.  It needs to be blue for wireless to function.  You press the button all day and nothing happens.

Solution:

Go to the HP support site and update your BIOS.  You might also need to reinstall the Quicklaunch button software.