start new:
tmux
start new with session name:
tmux new -s myname
| non-interactive elements | |
| ✓ should identify `a` as a non-interactive element (1ms) | |
| ✓ should identify `area` as a non-interactive element | |
| ✓ should identify `article` as a non-interactive element (1ms) | |
| ✓ should identify `dd` as a non-interactive element | |
| ✓ should identify `dfn` as a non-interactive element | |
| ✓ should identify `dt` as a non-interactive element | |
| ✓ should identify `fieldset` as a non-interactive element | |
| ✓ should identify `figure` as a non-interactive element | |
| ✓ should identify `frame` as a non-interactive element |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent| /* Parsing simple USART commands | |
| * ----------------------------- | |
| * For more information see | |
| * http://www.adnbr.co.uk/articles/parsing-simple-usart-commands | |
| * | |
| * 996 bytes - ATmega168 - 16MHz | |
| */ | |
| #define F_CPU 16000000UL | |
| #define BAUD 19200 |
| /* MAX7219 Interaction Code | |
| * --------------------------- | |
| * For more information see | |
| * http://www.adnbr.co.uk/articles/max7219-and-7-segment-displays | |
| * | |
| * 668 bytes - ATmega168 - 16MHz | |
| */ | |
| // 16MHz clock | |
| #define F_CPU 16000000UL |
| import React, {Component} from "react"; | |
| import {AgGridReact, AgGridColumn} from "ag-grid-react"; | |
| /** | |
| * By default, ag-grid will turn a cell/row into editing mode if users hit any "Printable Key": | |
| * "e;qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!"£$%^&*()_+-=[];\'#,./\|<>?:@~{}" | |
| * | |
| * To prevent it, we need a boolean flag to check if a cell/row can be editable and we only set this flag to true when users click or double click on cell/row | |
| * https://plnkr.co/edit/Rn8D1elOFXjJg3XYYB3q?p=preview | |
| */ |