mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-06 11:16:51 -06:00
Remove additional custom JS, gallery, and SEO comments
leftover from old blog
This commit is contained in:
@@ -4,6 +4,8 @@ pubDate: 2023-04-14 13:07:43 -0500
|
||||
tags: ["ipv6", "python", "asyncio", "websocket", "PIL"]
|
||||
description: "Have you ever painted images with IPv6? I found out how in 30 minutes."
|
||||
---
|
||||
import { Code } from 'astro:components';
|
||||
|
||||
|
||||
Despite how it sounds, this is not a joke. Well, maybe it is, but it's a fantastic demonstration of IPv6 addressing,
|
||||
and you can join in on the fun right now too!
|
||||
@@ -44,8 +46,7 @@ On top of this, the values are encoded in hexadecimal, so you can use the full r
|
||||
worry.
|
||||
|
||||
As an example, painting the color `#008080` (teal) at the position `45, 445` would
|
||||
be encoded as
|
||||
`2a06:a003:a040:102d:01bd:00:80:80`. To help you pick out the X and Y
|
||||
be encoded as `2a06:a003:a040:102d:01bd:00:80:80`. To help you pick out the X and Y
|
||||
coordinates, `0x2D` in hexadecimal,
|
||||
and `445`
|
||||
is `0x1BD`. The color is simply placing in the last 6 bytes of the address, no
|
||||
@@ -31,23 +31,6 @@ const titleTag = title != undefined ? `${title} | undefined.behavio.rs` : 'undef
|
||||
<link as="sitemap" type="application/xml" href="/sitemap-index.xml">
|
||||
<link href="/feed.xml" rel="alternate" type="application/xml">
|
||||
<ViewTransitions />
|
||||
<!-- {page._preview_description and page.title or page.name == "index.html"} -->
|
||||
<!-- <meta content="website" property="og:type"> -->
|
||||
<!-- <meta property="og:url" content="{{ page.url | absolute_url }}"> -->
|
||||
<!-- <meta property="og:title" content="{{ page.title | default: "Xevion.dev" }}"> -->
|
||||
<!-- <meta name="twitter:title" content="{{ page.title | default: "Xevion.dev" }}"> -->
|
||||
<!-- {% if page._preview_description -%} -->
|
||||
<!-- <meta property="og:description" content="{{ page._preview_description }}"> -->
|
||||
<!-- <meta property="twitter:description" content="{{ page._preview_description }}"> -->
|
||||
<!-- {% endif -%} -->
|
||||
<!-- {%- if page._preview_image -%} -->
|
||||
<!-- <meta property="og:image" content="{{ page._preview_image | absolute_url }}"> -->
|
||||
<!-- <meta name="twitter:image" content="{{ page._preview_image | absolute_url }}"> -->
|
||||
<!-- <meta content="summary_large_image" name="twitter:card"> -->
|
||||
<!-- {%- else -%} -->
|
||||
<!-- <meta content="summary" name="twitter:card"> -->
|
||||
<!-- {%- endif -%} -->
|
||||
<!-- {%- endif %} -->
|
||||
</head>
|
||||
<body class="flex-col align-middle w-full max-w-full">
|
||||
<Header className="mt-5 mb-3" />
|
||||
|
||||
@@ -31,19 +31,6 @@ const tagCount = tags.length;
|
||||
<article>
|
||||
<slot />
|
||||
</article>
|
||||
<!-- <p> -->
|
||||
<!-- {% if page.custom_js %} -->
|
||||
<!-- {% for file in page.custom_js %} -->
|
||||
<!-- <script type="text/javascript" src="{{ site.baseurl }}/assets/js/{{ file }}"></script> -->
|
||||
<!-- {% endfor %} -->
|
||||
<!-- {% endif %} -->
|
||||
<!-- {% if layout.medium_zoom %} -->
|
||||
<!-- <script crossorigin="anonymous" integrity="sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM=" -->
|
||||
<!-- src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.6/dist/medium-zoom.min.js"></script> -->
|
||||
<!-- <script type="text/javascript"> -->
|
||||
<!-- mediumZoom("[data-zoomable]", {background: "#0e0e0e"}) -->
|
||||
<!-- </script> -->
|
||||
<!-- {% endif %} -->
|
||||
</p>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
Reference in New Issue
Block a user