The most important thing to remember is your safety! No piece of electronics is worth a life. If you have no time to implement any of these items then make sure you are safe!
If you have some preparation time then the following list will help keep your electronics as safe as possible.
1. Unplug any electronics from the power source. Before you do this shut down your equipment properly. Don't just pull the power cord while the unit is running. Once you have done a proper shutdown you can either pull the plug from the wall or pull the power cord from the back of the machine.
2. Unplug any wires that lead to the outside of your building or home. In step one you unplugged the power cord. Other cords lead outside also. These can be phone cords or network wires. If in doubt unplug it, but keep in mind you will have to remember where the wires go when you look to reconnect after the storm.
3. Protect the electronics from water damage. If the unit is on or near the floor then get it on a table or chair. This includes any wires that are still attached. While you are looking to raise the equipment up, wrap it in plastic. Ziploc bags and trash bags work well for this procedure.
If you have time and the equipment is valuable or the information is valuable then consider taking it with you if you plan to evacuate. A computer tower (The tower is all you need to take) takes up little room in a trunk. These simple steps will give your electronics the best chance to remain damage free.
Remember, above all else stay safe!