Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
<template> | |
<div class="editor"> | |
<label v-if="label" :class="{required: required}">{{ label }}</label> | |
<trix-editor | |
:contenteditable="!disabledEditor" | |
:class="['trix-content']" | |
:placeholder="placeholder" | |
:input="computedId" | |
ref="trix" | |
@trix-change="handleContentChange" |
Caution,Name,Version,Size (raw),Size (minified),Size (gzipped),"Site","URL",Remarks | |
,Milligram,v1.4.1,11 kb,9.0 kb,2.3 kb,"https://milligram.io/","https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.min.css", | |
,Skelton,v2.0.4,11 kb,5.8 kb,1.6 kb,"http://getskeleton.com/","https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css", | |
,Material Design Lite,v1.3.0,146 kb,62 kb,12 kb,"https://getmdl.io/","https://code.getmdl.io/1.3.0/material.min.js", | |
,Foundation,v6.6.3,168 kb,133 kb,17 kb,"https://get.foundation/","https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css", | |
,Materialize,v1.0.0,179 kb,141 kb,21 kb,"https://materializecss.com/","https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css", | |
,Bootstrap,v4.6.0,199 kb,161 kb,24 kb,"https://getbootstrap.com/docs/4.6/","https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css", | |
,Bootstrap,v5.1.2,206 kb,164 kb,24 kb,"https://getbootstrap.com/","https://cdn.jsdelivr.net/npm/b |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.Through the GitHub API it is possible to retrieve individual files from a Git repository via, e.g. curl
. To do so, first retrieve the content information for the relevant file (or folder):
curl https://api.github.com/repos/{organisation}/{repository}/contents/{file or folder path}
For private repositories, authenticate using your username and a personal access token
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
const If = expression => { | |
let call = true, value; | |
return { | |
then: callback => Promise.resolve(value).then(callback), | |
Then(callback) { | |
if (call && expression) { | |
call = false; | |
value = callback(expression); | |
} | |
return this; |
import 'dart:math'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
/// The radius of the mag glass. | |
const double _RADIUS = 60.0; | |
/// The distance the mag glass will be offset from the touch point. | |
const double _OFFSET = _RADIUS * 1.5; |
import 'dart:typed_data'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
// Note: [ui.Image] represents the lower level image data while [Image] represents a renderable image. | |
/// Provides the ability to take screenshots of specific widgets. | |
mixin Screenshot<T extends StatefulWidget> on State<T> { |
function getBrowserLocales(options = {}) { | |
const defaultOptions = { | |
languageCodeOnly: false, | |
}; | |
const opt = { | |
...defaultOptions, | |
...options, | |
}; |