Skip to content

Instantly share code, notes, and snippets.

const sb1 = require('./spellbook_1.json');
const sb2 = require('./spellbook_2.json');
const sb3 = require('./spellbook_3.json');
const sb4 = require('./spellbook_4.json');
const sb5 = require('./spellbook_5.json');
const sb6 = require('./spellbook_6.json');
const sb7 = require('./spellbook_7.json');
const sb8 = require('./spellbook_8.json');
const sb9 = require('./spellbook_9.json');
const sb10 = require('./spellbook_10.json');
import React from 'react';
import { render } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { mocked } from 'ts-jest/utils';
import { App } from './App';
import { store } from './store';
jest.mock('./store', () => ({
store: {
import React from 'react';
import { render } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { mocked } from 'ts-jest/utils';
import { App } from './App';
import { store } from './store';
jest.mock('./store', () => ({
store: {
function ready(payload) {
let lastReturnValue = payload;
function steady(fn) {
lastReturnValue = fn(lastReturnValue)
return {
steady,
get value() {
{
"globals" :
{
"alwaysShowTabs" : true,
"defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"initialCols" : 120,
"initialRows" : 30,
"keybindings" :
[
{
Auf V6:
hugo: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by hugo)
hugo: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by hugo)
hugo: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by hugo)
hugo: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by hugo)
hugo: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by hugo)
Auf V7
hugo: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by hugo)
hugo: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by hugo)
function ready(payload) {
const fns = []
let lastReturnValue = payload;
function steady(fn) {
fns.push(fn)
return {
steady, go
}
@pixelkritzel
pixelkritzel / index.html
Created August 11, 2018 14:52
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,
@pixelkritzel
pixelkritzel / index.html
Created August 11, 2018 14:40
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,
@pixelkritzel
pixelkritzel / index.html
Created August 11, 2018 14:40
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,