1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-13 07:35:35 -04:00

update deps & try to fix codespaces

This commit is contained in:
2021-03-29 10:48:56 -04:00
parent 6f96c7b53b
commit fe0fa6599f
7 changed files with 39 additions and 17 deletions

View File

@@ -1,2 +0,0 @@
# Repo will be added as a volume, so ignore everything...
**

View File

@@ -17,9 +17,9 @@ draft: false
A few months ago, I stumbled upon [my first website ever](https://jakejarvis.github.io/my-first-website/) on an old floppy disk. Despite the instant cringing, I [uploaded it](https://github.com/jakejarvis/my-first-website) to GitHub, [collected other iterations](/previously/), and made an [#awesome-list](https://github.com/jakejarvis/awesome-first-code) of others who were brave and/or shameless enough to do the same. But why not take that ~~one~~ 1,000 steps further?
Introducing the [**Y2K Sandbox**](https://y2k.jarv.is/) — with fully-featured, fully-isolated, on-demand [**Windows Millennium Edition®**](https://www.youtube.com/watch?v=CaNDeyYP98A) virtual machines, simply to experience my first website in its natural Internet Explorer 5 habitat. And maybe play some [3D Pinball: Space Cadet](https://en.wikipedia.org/wiki/Full_Tilt!_Pinball#3D_Pinball_for_Windows_%E2%80%93_Space_Cadet). Oh, and [Microsoft Bob](https://en.wikipedia.org/wiki/Microsoft_Bob) is there too if you want to say hello and catch up. 🤓
Introducing the [**Y2K Sandbox**](https://y2k.app/) — with fully-featured, fully-isolated, on-demand [**Windows Millennium Edition®**](https://www.youtube.com/watch?v=CaNDeyYP98A) virtual machines, simply to experience my first website in its natural Internet Explorer 5 habitat. And maybe play some [3D Pinball: Space Cadet](https://en.wikipedia.org/wiki/Full_Tilt!_Pinball#3D_Pinball_for_Windows_%E2%80%93_Space_Cadet). Oh, and [Microsoft Bob](https://en.wikipedia.org/wiki/Microsoft_Bob) is there too if you want to say hello and catch up. 🤓
{{< image src="images/screenshot.png" link="https://y2k.jarv.is/" >}}[**Play in the Y2K Sandbox, at your own risk.**](https://y2k.jarv.is/){{< /image >}}
{{< image src="images/screenshot.png" link="https://y2k.app/" >}}[**Play in the Y2K Sandbox, at your own risk.**](https://y2k.app/){{< /image >}}
The backend is powered by [**QEMU**](https://www.qemu.org/) (as a Pentium III emulator) inside isolated **Docker** containers, [**websocketd**](https://github.com/joewalnes/websocketd) (an **_awesome_** lightweight WebSockets server written in Go), [**Cloudflare Tunnels**](https://www.cloudflare.com/products/argo-tunnel/) (for some protection), and some [Ruby and shell scripts](https://github.com/jakejarvis/y2k/tree/master/backend). ~~I'll push the backend scripts up to GitHub once I have a chance to untangle the spaghetti code. 🍝~~

View File

@@ -66,7 +66,7 @@ css: |
<!-- markdownlint-disable MD033 -->
**🚨 Trigger warning:** marquees, Comic Sans MS, popup windows, <code>color: <span class="limegreen">limegreen</span></code>... [Click for the **_FULL_** experience anyway.](https://y2k.jarv.is/)
**🚨 Trigger warning:** marquees, Comic Sans MS, popup windows, <code>color: <span class="limegreen">limegreen</span></code>... [Click for the **_FULL_** experience anyway.](https://y2k.app/)
<figure>
{{< iframe src="https://jakejarvis.github.io/my-first-website/" width="850" height="500" title="My Terrible, Horrible, No Good, Very Bad First Website" >}}

View File

@@ -21,5 +21,8 @@
1337,
9337
],
"postCreateCommand": "yarn install"
"postCreateCommand": "yarn install",
"containerEnv": {
"DISABLE_NODEJS_BUILD": "true"
}
}

View File

@@ -21,7 +21,7 @@
"start": "run-p start:hugo start:functions",
"start:hugo": "hugo server --disableFastRender --buildDrafts --buildFuture --port=1337 --baseURL=/ --appendPort=false --bind=0.0.0.0 --verbose",
"start:functions": "netlify-lambda serve --port 9337 functions",
"start:docker": "docker run --rm -v $(pwd):/src -p 1337:1337 $(docker build -q .)",
"start:docker": "docker run --rm -v $(pwd):/src:ro -p 1337:1337 $(docker build -q .)",
"minify": "run-s minify:**",
"minify:html": "html-minifier --html5 --collapse-whitespace --collapse-boolean-attributes --preserve-line-breaks --minify-css --remove-comments --file-ext html --input-dir public --output-dir public **/*.html",
"minify:js": "terser --compress passes=3,negate_iife=false,keep_fargs=false,sequences=false,reduce_vars=false --mangle reserved=['sa','sa_event'] --output public/js/app.js -- public/js/app.js",
@@ -34,6 +34,9 @@
},
"dependencies": {
"@algolia/algoliasearch-netlify-frontend": "1.0.6",
"@fontsource/comic-neue": "4.2.2",
"@fontsource/inter": "4.2.2",
"@fontsource/roboto-mono": "4.2.2",
"axios": "^0.21.1",
"dotenv": "^8.2.0",
"normalize.css": "8.0.1",
@@ -44,7 +47,7 @@
"@algolia/netlify-plugin-crawler": "^1.0.6",
"autoprefixer": "^10.2.5",
"cross-env": "^7.0.3",
"eslint": "~7.22.0",
"eslint": "~7.23.0",
"eslint-config-prettier": "~8.1.0",
"eslint-plugin-compat": "~3.9.0",
"eslint-plugin-prettier": "~3.3.1",
@@ -74,7 +77,7 @@
"stylelint-no-unsupported-browser-features": "~4.1.4",
"stylelint-prettier": "~1.2.0",
"stylelint-scss": "~3.19.0",
"terser": "^5.6.0"
"terser": "^5.6.1"
},
"optionalDependencies": {
"imagemin-gifsicle": "^7.0.0",

3
requirements.txt Normal file
View File

@@ -0,0 +1,3 @@
fonttools
brotli
zopfli

View File

@@ -865,6 +865,21 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"
"@fontsource/comic-neue@4.2.2":
version "4.2.2"
resolved "https://registry.yarnpkg.com/@fontsource/comic-neue/-/comic-neue-4.2.2.tgz#7dfcb2058da89d63c001f06395e642b0d84ee8e4"
integrity sha512-CMx+bw4Dv1lzOePwrfihTOsZErTwNlFDdSyPLgF/XWP/+KebNzwdRN4DTLIux1ITZLfH9c7lKV3MxIExaNXPQg==
"@fontsource/inter@4.2.2":
version "4.2.2"
resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-4.2.2.tgz#efe97167aac992db3fadf60ea0dd72aacd3e1fc4"
integrity sha512-lvR1PQe+8FTTd3YRW84KGcgUR8leZ7S3aY+51MQ90MQHI0VQe3cDH6T6jjs1qTm+wPmWfdSVjN8ugvNZpGUnvA==
"@fontsource/roboto-mono@4.2.2":
version "4.2.2"
resolved "https://registry.yarnpkg.com/@fontsource/roboto-mono/-/roboto-mono-4.2.2.tgz#deb736753e9680e94a11d6e162badf8636310942"
integrity sha512-qBEDhPHwN0m6VXSS1EGSAkmKT3gqfQZJyynSkSDQZNPRLeDVq7CTcmJWhjIqAFgVqJ4PNfMUIEl9+bqeBtlvhQ==
"@mdn/browser-compat-data@^2.0.7":
version "2.0.7"
resolved "https://registry.yarnpkg.com/@mdn/browser-compat-data/-/browser-compat-data-2.0.7.tgz#72ec37b9c1e00ce0b4e0309d753be18e2da12ee3"
@@ -2975,10 +2990,10 @@ eslint-visitor-keys@^2.0.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
eslint@~7.22.0:
version "7.22.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.22.0.tgz#07ecc61052fec63661a2cab6bd507127c07adc6f"
integrity sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg==
eslint@~7.23.0:
version "7.23.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.23.0.tgz#8d029d252f6e8cf45894b4bee08f5493f8e94325"
integrity sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q==
dependencies:
"@babel/code-frame" "7.12.11"
"@eslint/eslintrc" "^0.4.0"
@@ -7898,10 +7913,10 @@ terser@^4.1.2:
source-map "~0.6.1"
source-map-support "~0.5.12"
terser@^5.6.0:
version "5.6.0"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.6.0.tgz#138cdf21c5e3100b1b3ddfddf720962f88badcd2"
integrity sha512-vyqLMoqadC1uR0vywqOZzriDYzgEkNJFK4q9GeyOBHIbiECHiWLKcWfbQWAUaPfxkjDhapSlZB9f7fkMrvkVjA==
terser@^5.6.1:
version "5.6.1"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.6.1.tgz#a48eeac5300c0a09b36854bf90d9c26fb201973c"
integrity sha512-yv9YLFQQ+3ZqgWCUk+pvNJwgUTdlIxUk1WTN+RnaFJe2L7ipG2csPT0ra2XRm7Cs8cxN7QXmK1rFzEwYEQkzXw==
dependencies:
commander "^2.20.0"
source-map "~0.7.2"