Skip to content

Commit

Permalink
avoid borkt esm.archive.org
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Dec 29, 2024
1 parent f950880 commit cecd076
Show file tree
Hide file tree
Showing 39 changed files with 87 additions and 87 deletions.
8 changes: 4 additions & 4 deletions aaron-swartz-day-2022/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,16 @@

```js
// parse frontmatter & (optional) `config.yml`
import yml from 'https://esm.archive.org/js-yaml'
import yml from 'https://esm.ext.archive.org/js-yaml@4.1.0'

// markdown-to-html
import showdown from 'https://esm.archive.org/showdown'
import showdown from 'https://esm.ext.archive.org/showdown@2.1.0'

// code highlighting
import hljs from 'https://esm.archive.org/highlightjs'
import hljs from 'https://esm.ext.archive.org/highlightjs@9.16.2'

// client-side search - like `solr`
import lunr from 'https://esm.archive.org/lunr'
import lunr from 'https://esm.ext.archive.org/lunr@2.3.9'

// date/time hacking
import dayjs from 'https://esm.archive.org/dayjs'
Expand Down
2 changes: 1 addition & 1 deletion devops/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<link href='https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'>
<link href='https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'>
<style>
body { margin: 50px }
a { text-decoration:none }
Expand Down
8 changes: 4 additions & 4 deletions dweb-2022/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,16 @@

```js
// parse frontmatter & (optional) `config.yml`
import yml from 'https://esm.archive.org/js-yaml'
import yml from 'https://esm.ext.archive.org/js-yaml@4.1.0'

// markdown-to-html
import showdown from 'https://esm.archive.org/showdown'
import showdown from 'https://esm.ext.archive.org/showdown@2.1.0'

// code highlighting
import hljs from 'https://esm.archive.org/highlightjs'
import hljs from 'https://esm.ext.archive.org/highlightjs@9.16.2'

// client-side search - like `solr`
import lunr from 'https://esm.archive.org/lunr'
import lunr from 'https://esm.ext.archive.org/lunr@2.3.9'

// date/time hacking
import dayjs from 'https://esm.archive.org/dayjs'
Expand Down
8 changes: 4 additions & 4 deletions dweb-2023/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,16 @@

```js
// parse frontmatter & (optional) `config.yml`
import yml from 'https://esm.archive.org/js-yaml'
import yml from 'https://esm.ext.archive.org/js-yaml@4.1.0'

// markdown-to-html
import showdown from 'https://esm.archive.org/showdown'
import showdown from 'https://esm.ext.archive.org/showdown@2.1.0'

// code highlighting
import hljs from 'https://esm.archive.org/highlightjs'
import hljs from 'https://esm.ext.archive.org/highlightjs@9.16.2'

// client-side search - like `solr`
import lunr from 'https://esm.archive.org/lunr'
import lunr from 'https://esm.ext.archive.org/lunr@2.3.9'

// date/time hacking
import dayjs from 'https://esm.archive.org/dayjs'
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Tracey Jaquith, Internet Archive 🏛️</title>
<meta property="title" content="Tracey Jaquith, Internet Archive 🏛️">
<!--
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
-->
<link href="bootstrap.min.css" rel="stylesheet" type="text/css"/>
<style>
Expand Down
4 changes: 2 additions & 2 deletions regen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ME=https://tracey.archive.org

(
echo "
<link href='https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'>
<link href='https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'>
<style>
body { margin: 50px }
a { text-decoration:none }
Expand Down Expand Up @@ -38,7 +38,7 @@ ME=https://tracey.archive.org

# copy out public OK slide decks and formatting from another repo
echo "
<link href='https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'>
<link href='https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'>
<style>
body { margin: 50px }
a { text-decoration:none }
Expand Down
4 changes: 2 additions & 2 deletions ux/__timestream.htm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<head>
<title>gleam the cube</title>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<div style="height:100%">
<h1 style="text-align:center">infinite scroll, both up & down 😻</h1>
Expand All @@ -18,7 +18,7 @@ <h1 style="text-align:center">infinite scroll, both up & down 😻</h1>

<script type="module">
/* eslint-disable no-console */
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.jQuery = $
window.$ = $
Expand Down
6 changes: 3 additions & 3 deletions ux/astroVR.htm
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
<div id="webglviewer"></div>

<script type="module">
import * as THREE from 'https://esm.archive.org/[email protected]'
import { OrbitControls } from 'https://esm.archive.org/[email protected]/examples/jsm/controls/OrbitControls.js'
import { StereoEffect } from 'https://esm.archive.org/[email protected]/examples/jsm/effects/StereoEffect.js'
import * as THREE from 'https://esm.ext.archive.org/[email protected]'
import { OrbitControls } from 'https://esm.ext.archive.org/[email protected]/examples/jsm/controls/OrbitControls.js'
import { StereoEffect } from 'https://esm.ext.archive.org/[email protected]/examples/jsm/effects/StereoEffect.js'


let scene
Expand Down
6 changes: 3 additions & 3 deletions ux/blur.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>

Expand Down Expand Up @@ -64,11 +64,11 @@
</style>

<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
import('https://esm.archive.org/bootstrap@^3.0.0').then(() => {
import('https://esm.ext.archive.org/bootstrap@3.4.1').then(() => {
$('button.close').on('click', () => {
$('div[data-dismiss=alert]').hide()
$('.blurry').removeClass('blurry')
Expand Down
4 changes: 2 additions & 2 deletions ux/boot-back-in-time.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body class="tv" style="background-color:#222;">

Expand Down Expand Up @@ -103,7 +103,7 @@


<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

$().ready(() => {
$('.tclock').toggleClass('big')
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-collapse-topinblock.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')
</script>
<style>
.x { color:red; display: block; height: auto !important; }
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-collapse.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>

<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')
</script>


Expand Down
2 changes: 1 addition & 1 deletion ux/boot-cols.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>

Expand Down
6 changes: 3 additions & 3 deletions ux/boot-hamburg.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
/* allow mobile-size sub-menus to fully expand */
.navbar-collapse { max-height:1000px;}
</style>

<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')
</script>

</head>
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-modal.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<style type="text/css">
Expand All @@ -15,11 +15,11 @@
}
</style>
<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')
</script>


Expand Down
6 changes: 3 additions & 3 deletions ux/boot-nav.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

<style type="text/css">
/* allow mobile-size sub-menus to fully expand */
Expand All @@ -30,11 +30,11 @@
}
</style>
<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')
</script>

</head>
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-raw.htm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<meta name="DESCRIPTION" content="Internet Archive is a non-profit digital library offering free universal access to books, movies & music, as well as 376 billion archived web pages."/>
<link rel="alternate" type="application/xml" title="RSS" href="http://archive.org/services/collection-rss.php"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<style>
#ia-content .forumTable tbody tr td {
word-wrap: break-word !important;
Expand Down Expand Up @@ -412,11 +412,11 @@ <h2>Recent Review</h2>


<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')

function roSizer() {
// eslint-disable-next-line func-names
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-responsive-av.htm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>2012 Camaro RS Transformers Edition : Tracey Jaquith : Free Download &amp; Streaming : Internet Archive</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>

Expand Down Expand Up @@ -174,12 +174,12 @@ <h1>View movie</h1>

<script type="module">
/* global Play */
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'
import 'https://av.prod.archive.org/js/play.js'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')

$(() => {
// make search input wide as possible
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-text-fillout.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<style type="text/css">
Expand All @@ -29,11 +29,11 @@
}
</style>
<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')
</script>

<center>
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-text-fills.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>

Expand Down Expand Up @@ -79,11 +79,11 @@


<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')

window.toggle = function toggle() {
const ht = $('#qcc').hasClass('big') ? $('#cc-showing').height() + 20 : $('#cc-all').height() + 20
Expand Down
6 changes: 3 additions & 3 deletions ux/boot-updown.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Internet Archive</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://esm.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="https://esm.ext.archive.org/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<style>
Expand All @@ -13,11 +13,11 @@
.panB { display:block; height:auto !important; }
</style>
<script type="module">
import $ from 'https://esm.archive.org/[email protected]'
import $ from 'https://esm.ext.archive.org/[email protected]'

window.$ = $
window.jQuery = $
await import('https://esm.archive.org/bootstrap@^3.0.0')
await import('https://esm.ext.archive.org/bootstrap@3.4.1')

$(() => {
// this makes it so *both* top and bottom panels can open/close together (not just top)
Expand Down
Loading

0 comments on commit cecd076

Please sign in to comment.