Skip to content

Instantly share code, notes, and snippets.

💭
Confirming my whereabouts

Jeremy Danyow jdanyow

💭
Confirming my whereabouts
Block or report user

Report or block jdanyow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jdanyow
jdanyow / static-middleware.ts
Created May 26, 2020
Cloudflare workers static asset middleware using @cfworker/web
View static-middleware.ts
import { Middleware } from '@cfworker/web';
import { KVNamespace } from '@cloudflare/workers-types';
declare const __STATIC_CONTENT_MANIFEST: string | undefined;
declare const __STATIC_CONTENT: KVNamespace | undefined;
export class MissingStaticAssetError extends Error {
constructor(
public readonly pathname: string,
public readonly key: string,
@jdanyow
jdanyow / index.html
Created Apr 16, 2020 — forked from maschad96/index.html
another poc
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
<style>
* {
outline-color: inherit;
}
View api-changes.diff
diff --git a/vcurrent.json b/vnext.json
index cd5256fe0..869f016d2 100644
--- a/vcurrent.json
+++ b/vnext.json
@@ -1,553 +1,562 @@
{
"docs.microsoft.com": {
"apiBrowser": "https://docs.microsoft.com/api/apibrowser",
"assessments": "https://docs.microsoft.com/api/assessments",
+ "assessmentsBranch": "https://review.docs.microsoft.com/api/assessments/branches",
View apis-by-hostname.json
{
"docs.microsoft.com": {
"apiBrowser": "https://docs.microsoft.com/api/apibrowser",
"assessments": "https://docs.microsoft.com/api/assessments",
"assessmentsBranch": "https://review.docs.microsoft.com/api/assessments/branches",
"auth": {
"docs": "https://docs.microsoft.com/api/profiles/auth",
"github": "https://docs.microsoft.com/api/githubauth",
"identityPlatform": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
"signOut": "https://docs.microsoft.com/api/profiles/signout",
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.1/css/bulma.css">
</head>
<body>
<a href="https://bulma.io/documentation/elements/image/">Bulma image docs</a>
<figure class="image is-fullwidth">
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.1/css/bulma.css">
</head>
<body>
<a href="https://bulma.io/documentation/elements/image/">Bulma image docs</a>
<figure class="image is-2by1">
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
</head>
<body>
<h1>Hello world!</h1>
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
<style>
*:focus {
outline-color: inherit;
outline-style: dashed;
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Hello world!</h1>
<script src="script.js"></script>
You can’t perform that action at this time.