- 5.5" = iphone 7 plus
- 6.5" = iphone 11 pro max
- 12.9" x 2 = ipad pro (2nd and 3rd gen)
| license: mit |
| const nano = require('nano')('http://localhost:5984'); | |
| (async function gobbler() { | |
| //Async-await pattern: | |
| const myfunc = async function asyncCall() { | |
| try { | |
| await nano.db.destroy('alice'); | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Add React in One Minute</title> | |
| </head> | |
| <body> | |
| <h2>Add React in One Minute</h2> | |
| <p>This page demonstrates using React with no build tooling.</p> |
On Mac, launch browser using a dedicated profile. This will create directory remote-profile in cwd.
% /Applications/GoogleChrome.app/Contents/MacOS/GoogleChrome --remote-debugging-port=9222 --user-data-dir=remote-profile
DevTools listening on ws://127.0.0.1:9222/devtools/browser/1f9619a3-abe2-449b-a81e-dde827123e20Make sure that webroot points to the webpack-built distribution of your extension that's loaded by the browser.
| import Blockly from 'blockly'; | |
| declare interface CustomNode extends Node { | |
| removeAttribute(arg0: string); | |
| } | |
| const DOMURL = window.URL || window.webkitURL; | |
| const getSvgBlob = (workspace: Blockly.WorkspaceSvg) => { | |
| const canvas = workspace.svgBlockCanvas_.cloneNode(true) as CustomNode; |
An error encountered while trying to instantiate a class from the node package I'm builiding, blockly_multiselect_plugin.
Bundling a node project for distribution as a library should be the same as bundling an application. One exception is that you need to expose exports from the package's entry point using Webpack's output.library option.
When targeting a library, especially when libraryTarget is 'umd', the globalObject option indicates what global object will be used to mount the library. To make UMD build available on both browsers and Node.js, set output.globalObject option to 'this'. The globalObject option defaults to 'self' for Web-like targets.
The following fragment of webpack.config.js shows how to correctly export the entry point for consumption by other packages.
%%{
init: {
'theme': 'base',
'themeVariables': {
'primaryColor': '#BB2528',
'primaryTextColor': '#fff',
'primaryBorderColor': '#7C0000',
'lineColor': '#F8B229',
'secondaryColor': '#000',| name | wikipedia_url | |
|---|---|---|
| A# .NET | https://en.wikipedia.org/wiki/A_Sharp_(.NET) | |
| A# (Axiom) | https://en.wikipedia.org/wiki/A_Sharp_(Axiom) | |
| A-0 System | https://en.wikipedia.org/wiki/A-0_System | |
| A+ | https://en.wikipedia.org/wiki/A%2B_(programming_language) | |
| A++ | https://en.wikipedia.org/wiki/A%2B%2B | |
| ABAP | https://en.wikipedia.org/wiki/ABAP | |
| ABC | https://en.wikipedia.org/wiki/ABC_(programming_language) | |
| ABC ALGOL | https://en.wikipedia.org/wiki/ABC_ALGOL | |
| ABSET | https://en.wikipedia.org/wiki/ABSET |