I hereby claim:
- I am tomlagier on github.
- I am tomlagier (https://keybase.io/tomlagier) on keybase.
- I have a public key whose fingerprint is DA9B B751 0C90 0848 92CA 8E9F 7DA0 3A6A 868F C754
To claim this, I am signing this object:
import { WordpressShortcodeWebpackPlugin } from 'wordpress-shortcode-webpack-plugin'; | |
export default { | |
entry: { | |
app: './src/index.js', | |
}, | |
output: { | |
filename: '[name].[hash].js', | |
}, | |
plugins: [ |
const fontFaceRegex = /\@font\-face\s?\{([\s\S]+?)\}/m | |
const fontFamilyRegex = /font\-family\:\s?['"](.+?)['"]\;?/ | |
const urlRegex = /url\(['"]?(.+?)['"]?\)/; | |
const currentHost = window.location.host; | |
function parseFontsFromCSSString(css) { | |
const matches = css.matchAll(fontFaceRegex); | |
if(!matches) { |
function GraphBody({ | |
canvasSize, | |
gridLines, | |
curves, | |
markers, | |
intersectionDots, | |
xFn, | |
yFn, | |
yTicks, | |
densityMap, |
runtime: nodejs | |
env: flex | |
manual_scaling: | |
instances: 1 | |
network: | |
forwarded_ports: | |
- 65080 | |
session_affinity: true |
I hereby claim:
To claim this, I am signing this object:
let root, nodes, layout, i; | |
for (i = 0; i < 10; i++) { | |
console.time('D3'); | |
root = d3.hierarchy({children: children.map(node=>node.toSmall())}) | |
.sum(node => node.value); | |
layout = d3.pack() | |
.size([d.width, d.width]) | |
.padding(1.5); |
circle-pack.cpp:537:7: error: member initializer 'options' does not name a non-static data member or base class | |
: options(options) | |
^~~~~~~~~~~~~~~~ | |
circle-pack.cpp:554:26: error: use of undeclared identifier 'options' | |
if (this->isType(options["size"], "object")) |
function generateLayout(children: Node[], width: number) { | |
const root = new Module.Hierarchy({ | |
size: [width, width], | |
padding: 1.5 | |
}, { value: 0, children}); | |
return root.pack().leaves(); | |
} |
EMSCRIPTEN_BINDINGS(hierarchy) { | |
register_vector<HNode*>("VectorHNode"); | |
class_<HBasis>("HBasis") | |
.property("x", &HBasis::x) | |
.property("y", &HBasis::y) | |
.property("r", &HBasis::r); | |
class_<HNode, base<HBasis>>("HNode") | |
.constructor<emscripten::val>() |
interface Paint { }; | |
interface SolidColor : Paint { | |
attribute double red; | |
attribute double green; | |
attribute double blue; | |
}; | |
interface Pattern : Paint { | |
attribute DOMString imageURL; |