Skip to content

Instantly share code, notes, and snippets.

<!doctype html>
<body>
<link rel="stylesheet" href="../../styles/common.css">
<link rel="stylesheet" href="style.css">
<script type="module">
import salesData from './salesData.js';
import ColumnChart from './index.js';
let chart = new ColumnChart({
url: '/api/dashboard/orders',
module.exports = {
env: {
browser: true,
es6: true,
mocha: true
},
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
export default async function(pageModule, route) {
const {default: Page} = await import(`../src/pages/${pageModule}`);
const page = new Page(route);
const renderedPage = await page.render();
const contentNode = document.querySelector('#content');
contentNode.innerHTML = '';
contentNode.appendChild(renderedPage);
}
import renderPage from 'utils/renderPage';
export default new class Router {
constructor() {
this.routes = [];
document.addEventListener('click', (event) => {
const link = event.target.closest('a');
if (!link) return;
window.initSponsorBar = function() {
let sponsorBar = document.getElementById('sponsorBar');
if (Math.random() < 0.5) {
initCarbon();
} else {
initCodeFund();
}

Contributor License Agreement

Preface

The intent of the Agreement is to clarify your responsibilities as a Contributor.

In short, it allows us to use your Contributions in the tutorial and further build upon them.

The Agreement is meant to protect You, the Users, the Contributors, and original authors of the Project from the malicious misdeeds of others.

Contributor License Agreement

Preface

The intent of the Agreement is to clarify your responsibilities as a Contributor.

In short, it allows us to use your Contributions in the tutorial and further build upon them.

The Agreement is meant to protect You, the Users, the Contributors, and original authors of the Project from the malicious misdeeds of others.

Contributor License Agreement

Preface

The intent of the Agreement is to clarify your responsibilities as a Contributor.

In short, it allows others to freely use your Contributions and further build on them.

The Agreement is meant to protect You, the Users, the Contributors, and original authors of the Project from the malicious misdeeds of others. The Agreement is not intended to restrict how You use Your own Contributions.

#!/bin/bash
# DEMO: git rebase SKIPS merge commit, COPIES whole all merged branch
# DEMO: git rebase -p copies merge commit D', but IGNORES changes in it
cd ~/project
rm -rf .git
rm my.txt x.txt
git init

Contributor License Agreement

Preface

The intent of the Agreement is to clarify your responsibilities as a Contributor.

In short, it allows others to freely use your Contributions and further build on them.

The Agreement is meant to protect You, the Users, the Contributors, and original authors of the Project from the malicious misdeeds of others. The Agreement is not intended to restrict how You use Your own Contributions.