Skip to content

Commit

Permalink
Save some AoC pages to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matushorvath committed Oct 21, 2023
1 parent 355a61d commit e18fbcd
Show file tree
Hide file tree
Showing 4 changed files with 338 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/website/notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
url: https://adventofcode.com/2015/day/9/answer
111 changes: 111 additions & 0 deletions docs/website/part1.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<!DOCTYPE html>
<html lang="en-us" class=" bpyvd idc0_349"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Day 9 - Advent of Code 2015</title>
<link rel="stylesheet" type="text/css" href="part1_files/style.css">
<link rel="stylesheet alternate" type="text/css" href="part1_files/highcontrast.css" title="High Contrast">
<link rel="shortcut icon" href="https://adventofcode.com/favicon.png">
<script async="" src="part1_files/google-analytics_analytics.js"></script><script>window.addEventListener('click', function(e,s,r){if(e.target.nodeName==='CODE'&&e.detail===3){s=window.getSelection();s.removeAllRanges();r=document.createRange();r.selectNodeContents(e.target);s.addRange(r);}});</script>
</head><!--
Oh, hello! Funny seeing you here.
I appreciate your enthusiasm, but you aren't going to find much down here.
There certainly aren't clues to any of the puzzles. The best surprises don't
even appear in the source until you unlock them for real.
Please be careful with automated requests; I'm not a massive company, and I can
only take so much traffic. Please be considerate so that everyone gets to play.
If you're curious about how Advent of Code works, it's running on some custom
Perl code. Other than a few integrations (auth, analytics, social media), I
built the whole thing myself, including the design, animations, prose, and all
of the puzzles.
The puzzles are most of the work; preparing a new calendar and a new set of
puzzles each year takes all of my free time for 4-5 months. A lot of effort
went into building this thing - I hope you're enjoying playing it as much as I
enjoyed making it for you!
If you'd like to hang out, I'm @ericwastl@hachyderm.io on Mastodon and
@ericwastl on Twitter.
- Eric Wastl
-->
<body>
<header><div><h1 class="title-global"><a href="https://adventofcode.com/">Advent of Code</a></h1><nav><ul><li><a href="https://adventofcode.com/2015/about">[About]</a></li><li><a href="https://adventofcode.com/2015/events">[Events]</a></li><li><a href="https://teespring.com/stores/advent-of-code" target="_blank">[Shop]</a></li><li><a href="https://adventofcode.com/2015/settings">[Settings]</a></li><li><a href="https://adventofcode.com/2015/auth/logout">[Log Out]</a></li></ul></nav><div class="user">Matúš Horváth <span class="star-count">17*</span></div></div><div><h1 class="title-event">&nbsp;&nbsp;&nbsp;<span class="title-event-wrap">int y=</span><a href="https://adventofcode.com/2015">2015</a><span class="title-event-wrap">;</span></h1><nav><ul><li><a href="https://adventofcode.com/2015">[Calendar]</a></li><li><a href="https://adventofcode.com/2015/support">[AoC++]</a></li><li><a href="https://adventofcode.com/2015/sponsors">[Sponsors]</a></li><li><a href="https://adventofcode.com/2015/leaderboard">[Leaderboard]</a></li><li><a href="https://adventofcode.com/2015/stats">[Stats]</a></li></ul></nav></div></header>

<div id="sidebar">
</div><!--/sidebar-->

<main>
<article><p>That's the right answer! You are <span class="day-success">one gold star</span> closer to powering the weather machine. <a href="https://adventofcode.com/2015/day/9#part2">[Continue to Part Two]</a></p></article>
</main>

<!-- ga -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69522494-1', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<!-- /ga -->

<div><div></div><div></div><div></div><div></div></div></body></html>
113 changes: 113 additions & 0 deletions docs/website/part2.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
<!DOCTYPE html>
<html lang="en-us" class=" svloildqy idc0_349"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Day 9 - Advent of Code 2015</title>
<link rel="stylesheet" type="text/css" href="part2_files/style.css">
<link rel="stylesheet alternate" type="text/css" href="part2_files/highcontrast.css" title="High Contrast">
<link rel="shortcut icon" href="https://adventofcode.com/favicon.png">
<script async="" src="part2_files/google-analytics_analytics.js"></script><script>window.addEventListener('click', function(e,s,r){if(e.target.nodeName==='CODE'&&e.detail===3){s=window.getSelection();s.removeAllRanges();r=document.createRange();r.selectNodeContents(e.target);s.addRange(r);}});</script>
</head><!--
Oh, hello! Funny seeing you here.
I appreciate your enthusiasm, but you aren't going to find much down here.
There certainly aren't clues to any of the puzzles. The best surprises don't
even appear in the source until you unlock them for real.
Please be careful with automated requests; I'm not a massive company, and I can
only take so much traffic. Please be considerate so that everyone gets to play.
If you're curious about how Advent of Code works, it's running on some custom
Perl code. Other than a few integrations (auth, analytics, social media), I
built the whole thing myself, including the design, animations, prose, and all
of the puzzles.
The puzzles are most of the work; preparing a new calendar and a new set of
puzzles each year takes all of my free time for 4-5 months. A lot of effort
went into building this thing - I hope you're enjoying playing it as much as I
enjoyed making it for you!
If you'd like to hang out, I'm @ericwastl@hachyderm.io on Mastodon and
@ericwastl on Twitter.
- Eric Wastl
-->
<body>
<header><div><h1 class="title-global"><a href="https://adventofcode.com/">Advent of Code</a></h1><nav><ul><li><a href="https://adventofcode.com/2015/about">[About]</a></li><li><a href="https://adventofcode.com/2015/events">[Events]</a></li><li><a href="https://teespring.com/stores/advent-of-code" target="_blank">[Shop]</a></li><li><a href="https://adventofcode.com/2015/settings">[Settings]</a></li><li><a href="https://adventofcode.com/2015/auth/logout">[Log Out]</a></li></ul></nav><div class="user">Matúš Horváth <span class="star-count">18*</span></div></div><div><h1 class="title-event">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="title-event-wrap">/^</span><a href="https://adventofcode.com/2015">2015</a><span class="title-event-wrap">$/</span></h1><nav><ul><li><a href="https://adventofcode.com/2015">[Calendar]</a></li><li><a href="https://adventofcode.com/2015/support">[AoC++]</a></li><li><a href="https://adventofcode.com/2015/sponsors">[Sponsors]</a></li><li><a href="https://adventofcode.com/2015/leaderboard">[Leaderboard]</a></li><li><a href="https://adventofcode.com/2015/stats">[Stats]</a></li></ul></nav></div></header>

<div id="sidebar">
</div><!--/sidebar-->

<main>
<article><p>That's the right answer! You are <span class="day-success">one gold star</span> closer to powering the weather machine.</p><p>You have completed Day 9! You can <span class="share">[Share<span class="share-content">on
<a href="https://twitter.com/intent/tweet?text=I+just+completed+%22All+in+a+Single+Night%22+%2D+Day+9+%2D+Advent+of+Code+2015&amp;url=https%3A%2F%2Fadventofcode%2Ecom%2F2015%2Fday%2F9&amp;related=ericwastl&amp;hashtags=AdventOfCode" target="_blank">Twitter</a>
<a href="javascript:void(0);" onclick="var ms; try{ms=localStorage.getItem('mastodon.server')}finally{} if(typeof ms!=='string')ms=''; ms=prompt('Mastodon Server?',ms); if(typeof ms==='string' &amp;&amp; ms.length){this.href='https://'+ms+'/share?text=I+just+completed+%22All+in+a+Single+Night%22+%2D+Day+9+%2D+Advent+of+Code+2015+%23AdventOfCode+https%3A%2F%2Fadventofcode%2Ecom%2F2015%2Fday%2F9';try{localStorage.setItem('mastodon.server',ms);}finally{}}else{return false;}" target="_blank">Mastodon</a></span>]</span> this victory or <a href="https://adventofcode.com/2015">[Return to Your Advent Calendar]</a>.</p></article>
</main>

<!-- ga -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69522494-1', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<!-- /ga -->

<div><div></div><div></div><div></div><div></div></div></body></html>
113 changes: 113 additions & 0 deletions docs/website/wrong-part1.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
<!DOCTYPE html>
<html lang="en-us" class=" ldgjbpvk idc0_349"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Day 9 - Advent of Code 2015</title>
<link rel="stylesheet" type="text/css" href="wrong-part1_files/style.css">
<link rel="stylesheet alternate" type="text/css" href="wrong-part1_files/highcontrast.css" title="High Contrast">
<link rel="shortcut icon" href="https://adventofcode.com/favicon.png">
<script async="" src="wrong-part1_files/google-analytics_analytics.js"></script><script>window.addEventListener('click', function(e,s,r){if(e.target.nodeName==='CODE'&&e.detail===3){s=window.getSelection();s.removeAllRanges();r=document.createRange();r.selectNodeContents(e.target);s.addRange(r);}});</script>
</head><!--
Oh, hello! Funny seeing you here.
I appreciate your enthusiasm, but you aren't going to find much down here.
There certainly aren't clues to any of the puzzles. The best surprises don't
even appear in the source until you unlock them for real.
Please be careful with automated requests; I'm not a massive company, and I can
only take so much traffic. Please be considerate so that everyone gets to play.
If you're curious about how Advent of Code works, it's running on some custom
Perl code. Other than a few integrations (auth, analytics, social media), I
built the whole thing myself, including the design, animations, prose, and all
of the puzzles.
The puzzles are most of the work; preparing a new calendar and a new set of
puzzles each year takes all of my free time for 4-5 months. A lot of effort
went into building this thing - I hope you're enjoying playing it as much as I
enjoyed making it for you!
If you'd like to hang out, I'm @ericwastl@hachyderm.io on Mastodon and
@ericwastl on Twitter.
- Eric Wastl
-->
<body>
<header><div><h1 class="title-global"><a href="https://adventofcode.com/">Advent of Code</a></h1><nav><ul><li><a href="https://adventofcode.com/2015/about">[About]</a></li><li><a href="https://adventofcode.com/2015/events">[Events]</a></li><li><a href="https://teespring.com/stores/advent-of-code" target="_blank">[Shop]</a></li><li><a href="https://adventofcode.com/2015/settings">[Settings]</a></li><li><a href="https://adventofcode.com/2015/auth/logout">[Log Out]</a></li></ul></nav><div class="user">Matúš Horváth <span class="star-count">16*</span></div></div><div><h1 class="title-event">&nbsp;&nbsp;&nbsp;<span class="title-event-wrap">0x0000|</span><a href="https://adventofcode.com/2015">2015</a><span class="title-event-wrap"></span></h1><nav><ul><li><a href="https://adventofcode.com/2015">[Calendar]</a></li><li><a href="https://adventofcode.com/2015/support">[AoC++]</a></li><li><a href="https://adventofcode.com/2015/sponsors">[Sponsors]</a></li><li><a href="https://adventofcode.com/2015/leaderboard">[Leaderboard]</a></li><li><a href="https://adventofcode.com/2015/stats">[Stats]</a></li></ul></nav></div></header>

<div id="sidebar">
</div><!--/sidebar-->

<main>
<article><p>That's not the right answer; your answer is too high. If
you're stuck, make sure you're using the full input data; there are also
some general tips on the <a href="https://adventofcode.com/2015/about">about page</a>, or you can ask for hints on the <a href="https://www.reddit.com/r/adventofcode/" target="_blank">subreddit</a>. Please wait one minute before trying again. <a href="https://adventofcode.com/2015/day/9">[Return to Day 9]</a></p></article>
</main>

<!-- ga -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69522494-1', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<!-- /ga -->

<div><div></div><div></div><div></div><div></div></div></body></html>

0 comments on commit e18fbcd

Please sign in to comment.