Skip to content

Instantly share code, notes, and snippets.

@humphd
Created October 16, 2020 20:43
Show Gist options
  • Save humphd/f8d5ec1018a7b0ced8de75531d9b3493 to your computer and use it in GitHub Desktop.
Save humphd/f8d5ec1018a7b0ced8de75531d9b3493 to your computer and use it in GitHub Desktop.
WEB222 Week 6 Examples
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Globe And Mail</title>
</head>
<body>
<header>
Menu | Logo | TRAVEL | <button>SUBSCRIBE</button> | LOG IN | Search
</header>
<article>
<h1>One of the year’s surprising travel trends – night sky viewing</h1>
<div>
<p>Jennifer Weatherhead Harrington</p>
<p>Special to The Globe and Mail</p>
<p>Published <time datetime="2020-10-09">3 days ago</time></p>
</div>
<p>
These days, everyone’s a sourdough baker, fire pits are sold out everywhere and telescope sales have skyrocketed. That’s right, telescopes are suddenly hard to find amid the coronavirus pandemic as Canadians opt to explore closer to home, spurring a renewed interest in those twinkly lights in the sky, rather than board flights for far-flung destinations.
</p>
<p>
Calgary-based Alan Dyer, astronomy photographer and creator of the website amazingsky.com, says fall is prime astronomy season. “You don’t have to go around the world to do stargazing,” he says. Lucky for us, Canada’s latitude provides plenty of stargazing opportunities – and you don’t need even a telescope to take advantage; you can be a novice and still enjoy the night sky with simple binoculars and trusty phone apps. Dyer recommends SkySafari, which has a free version as well as more advanced paid versions. Other apps to get up to snuff on the stars include Night Sky, Sky Chart and even the NASA app if you’re looking for additional space education.
</p>
<h2>Night sky hikes in Nova Scotia</h2>
<figure>
<img height=500 src="./khamkeo-vilaysing-rpVQJbZMw8o-unsplash.jpg">
<figcaption>
<p>True North Destinations eco-domes under the Milky Way.</p>
<p><span>Photo by <a href="https://unsplash.com/@mahkeo?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Khamkéo Vilaysing</a> on <a href="https://unsplash.com/s/photos/night-sky?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
</figcaption>
</figure>
</article>
<footer>
Copyright | Links | Social Media
</footer>
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>StackOverflow</title>
</head>
<body>
<header>
Logo Products | <input type="text" size=45> | <button>Log in</button> <button>Sign Up</button>
</header>
<nav>
<ul>
<li>Home</li>
<li>Public</li>
</ul>
</nav>
<main>
<h1>All Questions</h1>
<div>
<h2><a href="#">Trouble trying to mock an OpenSSH session on Python (AttributeError: __exit__)</a></h2>
<p>I am currently trying to mock and OpenSSH session so in the following code, the session.sendCommand(cmd) will always return a fixed value: with target.managed_ssh_session(as_root=True) as session: ... </p>
</div>
<div>
<h2><a href="#">Trouble trying to mock an OpenSSH session on Python (AttributeError: __exit__)</a></h2>
<p>I am currently trying to mock and OpenSSH session so in the following code, the session.sendCommand(cmd) will always return a fixed value: with target.managed_ssh_session(as_root=True) as session: ... </p>
</div>
<div>
<h2><a href="#">Trouble trying to mock an OpenSSH session on Python (AttributeError: __exit__)</a></h2>
<p>I am currently trying to mock and OpenSSH session so in the following code, the session.sendCommand(cmd) will always return a fixed value: with target.managed_ssh_session(as_root=True) as session: ... </p>
</div>
<div>
<h2><a href="#">Trouble trying to mock an OpenSSH session on Python (AttributeError: __exit__)</a></h2>
<p>I am currently trying to mock and OpenSSH session so in the following code, the session.sendCommand(cmd) will always return a fixed value: with target.managed_ssh_session(as_root=True) as session: ... </p>
</div>
</main>
<footer>
Footer...
</footer>
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Wikipedia | Cat</title>
</head>
<body>
<header>
Header...
</header>
<nav>
<ul>
<li><a href="#main-page">Main page</a></li>
<li><a href="#contents">Contents</a></li>
</ul>
</nav>
<aside>
<h2>Domestic cat</h2>
...
</aside>
<main>
<h1>Cat</h1>
<hr>
<p>From Wikipedia, the free encyclopedia</p>
<blockquote>
This article is about the species that is commonly kept as a pet. For the cat family,
see <a href="https://en.wikipedia.org/wiki/Felidae">Felidae</a>. For other uses, see Cat (disambiguation) and Cats (disambiguation).
For technical reasons, "Cat #1" redirects here. For the album, see Cat 1 (album).
</blockquote>
<p>The <strong>cat</strong> (<em>Felis catus</em>) is a domestic species of small carnivorous mammal. <sup><a href="#cite_note-Linnaeus1758-1">[1]</a></sup>[2] It is the only domesticated species in the family Felidae and is often referred to as the domestic cat to distinguish it from the wild members of the family.[4] A cat can either be a house cat, a farm cat or a feral cat; the latter ranges freely and avoids human contact.[5] Domestic cats are valued by humans for companionship and their ability to hunt rodents. About 60 cat breeds are recognized by various cat registries.[6]</p>
<p>The cat is similar in anatomy to the other felid species: it has a strong flexible body, quick reflexes, sharp teeth and retractable claws adapted to killing small prey. Its night vision and sense of smell are well developed. Cat communication includes vocalizations like meowing, purring, trilling, hissing, growling and grunting as well as cat-specific body language. A predator that is most active at dawn and dusk, the cat is a solitary hunter but a social species. It can hear sounds too faint or too high in frequency for human ears, such as those made by mice and other small mammals.[7] It secretes and perceives pheromones.[8] </p>
<p id="cite_note-Linnaeus1758-1">.....</p>
</main>
<footer>
<p>This page was last edited on <time datetime="2020-10-13 13:54:00">13 October 2020, at 01:54 (UTC)</time></p>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment