in 1881 he was invited to give a course of lectures at johns hopkins university in the usa, where his friend sylvester was professor of mathematics.

How would the previous sentence be correctly capitalized?
Answer: In 1881 he was invited to give a course of lectures at Johns Hopkins University in the USA, where his friend Sylvester was professor of mathematics.
just move your photos to visuallightbox application window, press "publish" and your own cool web page album with beautiful lightbox effects will open in the browser immediately! no javascript, html coding, image editing, css, just a click to get your cool web page album ready.

How would the previous sentence be correctly capitalized?
Answer: Just move your photos to VisualLightBox application window, press "Publish" and your own cool web page album with beautiful LightBox effects will open in the browser immediately! No javascript, html coding, image editing, css, just a click to get your cool web page album ready.
support the project by sending the following request to your own mailing list.

How would the previous sentence be correctly capitalized?
Answer: Support the project by sending the following request to your own mailing list.
hong kong marksix lottery numbers - saturday 20 february 2016 - lotteries

How would the previous sentence be correctly capitalized?
Answer: Hong Kong MarkSix lottery numbers - Saturday 20 February 2016 - Lotteries