Skip to content

Commit

Permalink
◻️🥐 Updated with Glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
Glitch (branch-three-oviraptor) committed Dec 2, 2023
1 parent 822401a commit ec6222c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 31 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ also on github: [dieseltravis/aoc2023](https://github.com/dieseltravis/aoc2023)
[![Node.js CI](https://github.com/dieseltravis/aoc2023/actions/workflows/node.js.yml/badge.svg)](https://github.com/dieseltravis/aoc2023/actions/workflows/node.js.yml) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdieseltravis%2Faoc2023.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdieseltravis%2Faoc2023?ref=badge_shield) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?logo=javascript)](https://github.com/standard/semistandard)

## solutions:
todo
<!--
1. [day one](https://branch-three-oviraptor.glitch.me/day/01)
<!--
2. [day two](https://branch-three-oviraptor.glitch.me/day/02)
3. [day three](https://branch-three-oviraptor.glitch.me/day/03)
4. [day four](https://branch-three-oviraptor.glitch.me/day/04)
Expand Down
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ console.log(PROJECT_URL);
// run the same functions on the front & back
const f = require('./public/funs');

// set up rate limiter: maximum of 10 requests per 30 seconds
// set up rate limiter: maximum of 100 requests per 30 seconds
const limiter = rateLimit({
// 30 seconds
windowMs: 30 * 1000,
max: 10,
max: 100,
// Return rate limit info in the `RateLimit-*` headers
standardHeaders: true,
// Disable the `X-RateLimit-*` headers
Expand Down
63 changes: 36 additions & 27 deletions views/index.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Travis's Advent of Code 2023</title>
<meta name="description" content="Travis's Advent of Code 2023">
<meta name="theme-color" content="#373fff">
<link rel="stylesheet" href="/style.css">
<meta name="description" content="Travis's Advent of Code 2023" />
<meta name="theme-color" content="#373fff" />
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<header>
<h1>
Travis's Advent of Code 2023
</h1>
<h1>Travis's Advent of Code 2023</h1>
</header>

<main>
<p>
source also in github repo: <a href="https://github.com/dieseltravis/aoc2023">dieseltravis/aoc2023</a>
source also in github repo:
<a href="https://github.com/dieseltravis/aoc2023">dieseltravis/aoc2023</a>
</p>
<h2>
solutions:
</h2>
<h2>solutions:</h2>
<ol>
<!--
<li><a href="/day/01">day 01</a></li>
<!--
<li><a href="/day/02">day 02</a></li>
<li><a href="/day/03">day 03</a></li>
<li><a href="/day/04">day 04</a></li>
Expand All @@ -51,30 +48,42 @@ <h2>
<li><a href="/day/25">day 25</a></li>
-->
</ol>

<h2>
previous years:
</h2>

<h2>previous years:</h2>
<a href="https://glitch.com/@travishardiman/advent-of-code">Glitch playlist of all years</a>
<a href="https://github.com/stars/dieseltravis/lists/advent-of-code">Github list of all projects</a>
<ul>
<li>2022: <a href="https://graceful-blossom-animal.glitch.me/">glitch</a> &amp; <a href="https://github.com/dieseltravis/aoc2022">github</a></li>
<li>2021: <a href="https://valiant-nervous-yoke.glitch.me/">glitch</a> &amp; <a href="https://github.com/dieseltravis/aoc2021">github</a></li>
<li>2020: <a href="https://open-lovely-doom.glitch.me/">glitch</a> &amp; <a href="https://github.com/dieseltravis/aoc2020">github</a></li>
<li>2019: <a href="https://ubiquitous-swoop.glitch.me/">glitch</a> &amp; <a href="https://github.com/dieseltravis/aoc2019">github</a></li>
<li>2018: <a href="https://waiting-caribou.glitch.me/">glitch</a> &amp; <a href="https://github.com/dieseltravis/aoc2018">github</a></li>
<li>
2022:
<a href="https://graceful-blossom-animal.glitch.me/">glitch</a> &amp;
<a href="https://github.com/dieseltravis/aoc2022">github</a>
</li>
<li>
2021:
<a href="https://valiant-nervous-yoke.glitch.me/">glitch</a> &amp;
<a href="https://github.com/dieseltravis/aoc2021">github</a>
</li>
<li>
2020: <a href="https://open-lovely-doom.glitch.me/">glitch</a> &amp;
<a href="https://github.com/dieseltravis/aoc2020">github</a>
</li>
<li>
2019: <a href="https://ubiquitous-swoop.glitch.me/">glitch</a> &amp;
<a href="https://github.com/dieseltravis/aoc2019">github</a>
</li>
<li>
2018: <a href="https://waiting-caribou.glitch.me/">glitch</a> &amp;
<a href="https://github.com/dieseltravis/aoc2018">github</a>
</li>
</ul>
</main>

<footer>
<h2>
made with <a href="https://glitch.com" title="🎏">Glitch</a>!
</h2>
<h2>made with <a href="https://glitch.com" title="🎏">Glitch</a>!</h2>
<pre>╰(*°▽°*)╯</pre>
</footer>

<div class="glitchButton"></div>
<script src="https://button.glitch.me/button.js"></script>

<script src="//button.glitch.me/button.js"></script>
</body>
</html>

0 comments on commit ec6222c

Please sign in to comment.