This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Mocha = require('mocha'), | |
fs = require('fs'), | |
path = require('path'); | |
const { JSDOM } = require('jsdom') | |
const dom = new JSDOM(`<html><body> | |
<div id="mocha"></div> | |
</body></html>`); | |
global.document = dom.window.document; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* File: example.test.h | |
* Author: Alexander Wolf | |
* License MIT | |
* Created on 23. Februar 2020, 11:54 | |
*/ | |
#include "testsuite.h" | |
#ifndef EXAMPLE_TEST_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .prettierrc | |
// (filename in gist just to have a better title in the gist overview page as mentioned [here](https://github.com/isaacs/github/issues/194)) | |
// | |
// install prettier with | |
// yarn add prettier pretty-quick husky | |
{ | |
"semi": true, | |
"trailingComma": "all", | |
"singleQuote": true, | |
"printWidth": 70 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import ReactDOM from 'react-dom' | |
// import PropTypes from 'prop-types' | |
// Note: Remove the next line to test linting warnings | |
/* eslint-disable */ | |
// Test prefer-const --> rule working with standardx as it respects .eslintrc | |
export const preferCondtDemo = function () { | |
let notVariable = 'demo' | |
return notVariable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"pid":12100,"tid":22488,"ts":75204026765,"ph":"X","cat":"toplevel","name":"MessageLoop::RunTask","args":{"src_file":"../../mojo/public/cpp/system/simple_watcher.cc","src_func":"Notify"},"dur":84,"tdur":83,"tts":78152265}, | |
{"pid":12100,"tid":22488,"ts":75204114424,"ph":"X","cat":"toplevel","name":"MessageLoop::RunTask","args":{"src_file":"../../gpu/ipc/client/gpu_channel_host.cc","src_func":"Send"},"dur":35,"tdur":32,"tts":78152624}, | |
{"pid":12100,"tid":22488,"ts":75204114464,"ph":"X","cat":"toplevel","name":"MessageLoop::RunTask","args":{"src_file":"../../gpu/ipc/client/gpu_channel_host.cc","src_func":"Send"},"dur":10,"tdur":10,"tts":78152661}, | |
{"pid":12100,"tid":22488,"ts":75204114613,"ph":"X","cat":"ipc,toplevel","name":"ChannelMojo::OnMessageReceived","args":{"class":65535,"line":65520},"dur":6,"tdur":6,"tts":78152716}, | |
{"pid":12100,"tid":22488,"ts":75204114904,"ph":"X","cat":"toplevel","name":"MessageLoop::RunTask","args":{"src_file":"../../gpu/ipc/client/gpu_channel_host.cc","src_func":"Send"},"dur":26, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const app = express(); | |
app.get('/', (req, res) => { | |
res.send('An alligator approaches!'); | |
}); | |
app.listen(3000, () => console.log('Gator app listening on port 3000!')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<button id="test">Click me</button> | |
<!-- All of the Node.js APIs are available in this renderer process. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<button id="test">Click me</button> | |
<!-- All of the Node.js APIs are available in this renderer process. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<button id="test">Click me</button> | |
<!-- All of the Node.js APIs are available in this renderer process. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
details = ( | |
<Fragment> | |
<Paragraph> | |
<strong>Next.js</strong> | |
</Paragraph> | |
<Paragraph> | |
Next.js is a lightweight framework for static and | |
server-rendered applications. | |
</Paragraph> | |
<Paragraph> |