Houses and buildings can be made earthquake resistant, but earthquake proof -- mother nature can always go you one up. The standard frame construction residence can be made resistant by fastening 3/4 inch plywood to the vertical studs to make a rigid box which will not collapse into an oblique parallelogram under the shaking. Also the base plate upon which the studs sit must be bolted to the concrete foundation so the house will not slide off. The 'cripple wall,' the short structure which elevates the main floor a foot or so above the foundation, must also be reinforced against collapse with a 3/4 inch ply facing. Such construction is now standard in California, and many houses are being thus retrofitted.
Bookcases, tall furniture and water heaters should be strapped to the walls so they will not fall over. Cabinet doors can be equipped with 'baby latches' so they will stay closed to prevent your valuable dishes from sliding out onto the floor. An automatic shutoff valve should be put in the gas line.