Skip to content

Instantly share code, notes, and snippets.

View j0nas's full-sized avatar
😃

Jonas Jensen j0nas

😃
View GitHub Profile
/** @jsx jsx */
// noinspection ES6UnusedImports
import { jsx } from "../utils/test-utils";
import { buildTestHarness, testRunner } from "slate-test-utils";
import { Editor } from "../components/Editor";
import { isTableActive } from "./utils";
const testCases = () => {
describe("isTableActive", () => {
it("returns true when cursor is positioned inside a table", async () => {
diff --git a/node_modules/is-hotkey/lib/index.js.orig b/node_modules/is-hotkey/lib/index.js.orig
new file mode 100644
index 0000000..73e14c2
--- /dev/null
+++ b/node_modules/is-hotkey/lib/index.js.orig
@@ -0,0 +1,251 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
@j0nas
j0nas / gist:06fc18b10d74d9b8ca3ad8f0db9cac74
Created August 23, 2021 15:10
LHCI failure with default Github actions snippet
Run lhci autorun
✅ .lighthouseci/ directory writable
⚠️ Configuration file not found
✅ Chrome installation found
Healthcheck passed!
Automatically determined ./build as `staticDistDir`.
Set it explicitly in lighthouserc.json if incorrect.
Started a web server on port 34001...
@j0nas
j0nas / file1.txt
Created November 26, 2020 10:40
Created via API
${ips}
@j0nas
j0nas / file1.txt
Created November 26, 2020 10:39
Created via API
$(ips)
@j0nas
j0nas / file1.txt
Created November 26, 2020 10:38
Created via API
$ips
@j0nas
j0nas / file1.txt
Created November 26, 2020 10:36
Created via API
$(varnishtop -1 -I ReqHeader:X-Forwarded-For | cut -d: -f2 | cut -d, -f1 | uniq)
@j0nas
j0nas / file1.txt
Created November 26, 2020 10:35
Created via API
Demo
[
{
"text": "Beyond Meat",
"url": "http://beyondmeat.com"
},
{
"text": "Products",
"url": "http://beyondmeat.com/products"
},
{
import React from 'react';
import Link from 'next/link';
export default () =>
<div>
Already up and running!
<div>
<Link href="/counter">Counter</Link>
</div>
</div>;