The cat that is sraying is probably an unneutered male, so is marking "his" territory. Clean everything with "Nature's Miracle" or some other product that you can buy a pet stores that specifically gets rid of not only the odor, but the enzyme that makes cats think - "Oooh - good spot to pee!"

Any chance finding out who owns him and asking them to get him "fixed," and explain the situation?

About the cords - we of course have Miss Hoppy, the sweetest, cutest, feistiest bunny ever - who is also an adamant chewer of any cords she can find. In her mind, the space along the bottoms of walls is a rabbit freeway, and should be cleared of any obstructions. So we got some of the 1" plastic tubing cheap at Home Depot, and covered any cords we couldn't hide with that. It's big enough so that she cannot open her mouth wide enough to chomp through it. Some cords just run through a paper towel tube - cheaper alternative.

Bitter apple works for some animals, but not others. Some critters (canine, feline, lagomorph) like the taste, and are not detered.

Some cats can be trained away from cord chewing with a spray bottle, but you have to alert and consistent. (Again, some cats LIKE getting sprayed with water ...)