What changed in the last commit
git show --name-status
Log one line
.flex { | |
display: flex; | |
} | |
// Direction | |
.flex-row { | |
flex-direction: row; | |
} | |
.flex-row-reverse { | |
flex-direction: row-reverse; |
// Shape - superclass
// x,y: location of shape's bounding rectangle
function Shape(x, y) {
this.x = x;
this.y = y;
}
// Superclass method
An HTMLCollection is a list of nodes. An individual node may be accessed by either ordinal index or the node’s name or id attributes. Collections in the HTML DOM are assumed to be live meaning that they are automatically updated when the underlying document is changed.
A NodeList object is a collection of nodes. The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live or static based on the interface used to retrieve them
const $header = document.getElementById('#header');
const $headings = document.getElementsByTagName('h1');
const pa11y = require('pa11y'); | |
const request = require('supertest'); | |
const mocha = require('mocha'); | |
const { expect } = require('chai'); | |
const server = require('./server'); | |
const url = | |
process.env.NODE_ENV === 'testing' | |
? 'http://localhost:3000' | |
: 'http://example.com'; |
const fs = require('fs') | |
const util = require('util') | |
const readFile = util.promisify(fs.readFile) | |
readFile('./test/test.md', 'utf8') | |
.then(text => { | |
console.log(text) | |
}) | |
.catch(err => { | |
console.log('Error', err) |
CREATE DATABASE app;
USE app;
CREATE TABLE users (
id int,
last_name varchar(255),
first_name varchar(255)
);
var delay = (seconds) => new Promise((resolves) => { | |
setTimeout(function(){ | |
console.log(seconds); | |
resolves(); | |
}, seconds*1000); | |
}); | |
var tasks = [ | |
delay(2), | |
delay(4), |