Beetles have become so specialized that they have developed into very distinctly different then their wild brothers and sisters. Beetles have a wider range of food sources then most indoor insects and it is for this reason that you must control their food sources as humanly possible. Controls methods are the same for beetles as with most insects in your home see moths. Hand picking if possible works the best since you may have only a few around and their removal would be simple.
Centipedes require humid places and some thing to prey upon since they are predatory.
It is important to note that centipedes are one of your best friends in both the home and garden and instead of attacking them you should support them and provide good shelters for them. Inside the home the house centipede hunts flies, roach eggs, ant eggs, fleas and their eggs most any thing that it runs into while hunting at night. These creatures are blood suckers that attack animals and humans. Nature will control them for you under normal conditions. Dr Bronners Peppermint soap , water if possible.